Hello, I am trying to change my site from using .htm files to directories so for example /adsense.htm would be /adsense/ I have made the directory and renamed the adsense.htm to index.htm (in the directory of adsense). Now i wanted to do a modrewrite, so i added: RewriteRule ^adsense.htm /adsense/ [L,R=301] to the htaccess file. This does not work, any help would be much appriciated, i hate modrewrite stuff. Late
hi, I'm not really a mod rewrite expert but i know quite enough by the way, have you configured/enabled your server to allow mod rewrite?
I am using modrewrite to do a sitename.com to www.sitename.com redirect and this works, so a assume modrewrite is working on the server.
What happens? A 404/500 error, what is the location the browser ends up? Does it stay at domain.com/adsense.htm ?
Just went to check your question and i find it is working correctly now!?!? Strange. Google currently lists that page as /adsense.htm so will it eventually change to /adsense/ in Google? Will it also not affect my page rank etc? Thanks