Questions

When I run the SEO Moz tool it says that there are duplicates of each page on my site being picked up by Google. I think this has to do with a www.domain.com and domain.com (no www) being picked up. Has anyone come across this before?

Yes, that can definitely be a problem if you are not redirecting all of your traffic to one or the other. The easiest way to solve this is to add a simple redirect to your site's .htaccess file. Here's an example of how to redirect all non-www traffic to www:

RewriteCond %{HTTP_HOST} ^domain.com
RewriteRule (.*) http://www.domain.com/$1 [R=301,L]

Editing your .htaccess file can be a little tricky, so be sure to do a little platform-specific research first before you do this as you could easily break your site!


Answered 8 years ago

Unlock Startups Unlimited

Access 20,000+ Startup Experts, 650+ masterclass videos, 1,000+ in-depth guides, and all the software tools you need to launch and grow quickly.

Already a member? Sign in

Copyright © 2024 Startups.com LLC. All rights reserved.