Ok..so my site epicwallpaper.com has been jumping off and on to google over the past month and driving me insane! The problem is that it was confusing my homepage for another homepage of mine. Proper homepage is http://www.epicwallpaper.com, but google was also indexing http://www.epicwallpaper.com/index.php which has a PR0 and no backlinks. Anyone know how to use .htaccess to rewrite http://www.epicwallpaper.com/index.php to say http://www.epicwallpaper.com/ ? Here is my current .htacess #change / with the relative path RewriteBase / RewriteCond %{http_host} ^epicwallpaper.com [nc] RewriteRule ^(.*)$ http://www.epicwallpaper.com/$1 [r=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?%{QUERY_STRING}&resource=$1 [L] Redirect 301 /contact http://www.epicwallpaper.com/ Redirect 301 /widget http://www.epicwallpaper.com/ Redirect 301 /register http://www.epicwallpaper.com/ Code (markup):
Options +FollowSymLinks RewriteCond %{THE_REQUEST} ^.*/index.php RewriteRule ^(.*)index.php$ http://www.domain.com [R=301,L] You also want to redirect non-www to www or either way is fine.