How do I do this simple 301 redirect from index.htm to root?
- by elliot100
I've read various reference sites on redirection, and to be honest I understand very little.
I currently have standard WordPress mod_rewrite redirect rules in my .htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
(1) Quite a few of my referrers go to a old URL http://www.example.com/index.htm, which gives them an error, and I want them to be redirected to http://www.example.com/
What do I need to do?