.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
Post a Comment