I am trying to create .htaccess file inside wamp/www/myDirectory.
But i am not able to create, it says 'you must type file name'
I have enabled the mod-rewrite also. Now i want to check URL hiding,but i am not able to create .htaccess.
I have created .htaccess file and written code like this
# Avoid redirect loop
RewriteCond %{ENV:REDIRECT_STATUS} 200
RewriteRule ^ - [L]
# Add trailing slash
RewriteCond %{REQUEST_URI} !(\.|/$)
RewriteRule (.*) http://%{HTTP_HOST}/$1/ [R=302,L]
RewriteRule ^purchase(.*)$ $1 [R=302,L]
RewriteCond %{REQUEST_URI} !^/purchase/
RewriteRule ^(.*)/$ purchase/$1 [L,QSA]
How can i do this. Please suggest