Duplicate Page Content mysite.com and mysite.com/index.html MOZ Dashboard
-
According to MOZ Dashboard my site shows Duplicate Page Content mysite.com and mysite.com/index.html .What i can do for that .redirect mysite.com/index.html to mysite.com .then how can i do that using .htaccess file .
-
Hi Chandana,
This article explains it all: http://kb.mediatemple.net/questions/242/How+do+I+redirect+my+site+using+a+.htaccess+file%3F. It shows how to create and name the file and what code to use.
You would want to do this:
Redirect /index.html http://example.com/
I would also recommend redirecting non-www to www (or vice versa) if you haven't done so already - http://dense13.com/blog/2008/02/27/redirecting-non-www-to-www-with-htaccess/.
If you get stuck there's also a free htaccess generator located here: http://www.htaccessredirect.net/index.php
Let me know if you have any problems!