.htpasswd - is it possible to change URL of webpage using .htaccess and also want to protect folders using .htaccess? -


i want change webpage url http://www.xyz.com/in/index.php?mpid=page1 http://www.xyz.com/in/page1 using .htaccess.

and want protect folders username , password.

authtype basic authname "protected area" #path htpaswd authuserfile /path/to/.htpasswd require valid-user  rewriteengine on rewritecond %{request_uri} !^in rewriterule /in/(.+) in/index.php?mpid=$1 

Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -