I have seen this done on many sites and not sure how to do it.
here is my forum
www.incomehunting.com/forum/
whenever someone types
www.incomehunting.com/forum/index.php
I want it to redirect to
www.incomehunting.com/forum/
I need this done for SEO purposes
Here is my .htaccess file
here is my forum
www.incomehunting.com/forum/
whenever someone types
www.incomehunting.com/forum/index.php
I want it to redirect to
www.incomehunting.com/forum/
I need this done for SEO purposes
Here is my .htaccess file
Code:
<Ifmodule mod_rewrite.c> rewriteEngine on rewriteCond %{HTTP_HOST} . rewriteCond %{HTTP_HOST} !^www\.incomehunting\.com rewriteRule (.*) [URL="http://www.incomehunting.com/$1"]http://www.incomehunting.com/$1[/URL] [R=301,L] </Ifmodule>
Comment