I just had htaccess "turned on" at my free host (110mb.com)...
Because I switched from .html to .php for alot of my site and want anytime someone hits an old link to get them to the new link. There are links to various pages on my site all over the web and I cant change them all by request to webmasters...
So, Im trying 301 redirects:
This .htaccess file is located in root/polaroid/ so when someone looks for:
http://site
they get
http://site
Yet this doesnt happen...you can freely navigate to the .html page without an redirection.
Did my host forget to turn .htaccess on (though their email said it was) or am I configuring this completely wrong?
ps: no i dont want EVERY .html page accessed to be turned into .php because I still have some .html pages within the site.
Because I switched from .html to .php for alot of my site and want anytime someone hits an old link to get them to the new link. There are links to various pages on my site all over the web and I cant change them all by request to webmasters...
So, Im trying 301 redirects:
Code:
Redirect 301 /index.html [url]http://site[/url]
This .htaccess file is located in root/polaroid/ so when someone looks for:
http://site
they get
http://site
Yet this doesnt happen...you can freely navigate to the .html page without an redirection.
Did my host forget to turn .htaccess on (though their email said it was) or am I configuring this completely wrong?
ps: no i dont want EVERY .html page accessed to be turned into .php because I still have some .html pages within the site.