Duplicate Homepage In Google
-
Hi
Just found through my SEO dashboard, Google has two versions of the same homepage, the root page, plus the index.html page, causing duplicate content from both the pages.
what is the best option to ensure google only have 1 version of the homepage listed?
-
I'm not a big fan of doubling-up on canonicalization tactics, because there's no good way to tell what's working. The 301 is probably a tiny bit stronger (not much, in my experience), but the advantage of the canonical tag on the home-page is that one tag will sweep up any variants. If you 301 "index.html" to the root, and then someone comes along and uses the non-www version of your home-page or adds a tracking parameter ("index.html?track=1234"), etc., the 301 won't do anything - you'll have to create 301s for each situation. The canonical will prevent those problems, which are very common on home pages.
-
Correct - usually, it's all the same physical page (on the server), so you only need to put it in one place.
-
Hi
just found I have same issues on my own website. However bit confused how I would change this. When the website was developed they where php pages, we did a rewrite so these pages went to .html pages instead, see file below. However now with my website www.rfksolutions.co.uk and www.rfksolutions.co.uk/index.html seem to be duplicate?
see my current htaccess file
any ideas?
DirectoryIndex index.html index.php
RewriteEngine on
RewriteRule ^index.html$ index.php [L]
RewriteRule ^about-us.html$ about-us.php [L]
RewriteRule ^portfolio.html$ portfolio.php [L]
RewriteRule ^partners.html$ partners.php [L]
RewriteRule ^logo-design-portfolio.html$ logo-design-portfolio.php [L]
RewriteRule ^graphic-design-portfolio.html$ graphic-design-portfolio.php [L]
RewriteRule ^graphic-design-portfolio2.html$ graphic-design-portfolio2.php [L]
RewriteRule ^testimonials.html$ testimonials.php [L]
RewriteRule ^portfolio/([0-9a-zA-Z_-]+).html$ portfolio_details.php?&title=$1 [L]RewriteCond %{HTTP_HOST} ^rfksolutions.co.uk$ [OR]
RewriteCond %{HTTP_HOST} ^www.rfksolutions.co.uk$
RewriteRule ^index.php$ "http://www.rfksolutions.co.uk" [R=301,L]RewriteCond %{HTTP_HOST} ^falkirkwebdesign.co.uk$ [OR]
RewriteCond %{HTTP_HOST} ^www.falkirkwebdesign.co.uk$
RewriteRule ^(.*)$ "http://www.rfksolutions.co.uk/$1" [R=301,L]RewriteCond %{HTTP_HOST} ^falkirkwebdesigners.co.uk$ [OR]
RewriteCond %{HTTP_HOST} ^www.falkirkwebdesigners.co.uk$
RewriteRule ^(.*)$ "http://www.rfksolutions.co.uk/$1" [R=301,L]RewriteCond %{HTTP_HOST} ^webdesignfalkirk.co.uk$ [OR]
RewriteCond %{HTTP_HOST} ^www.webdesignfalkirk.co.uk$
RewriteRule ^(.*)$ "http://www.rfksolutions.co.uk/$1" [R=301,L] -
I am confused on when to use both 301 and rel=canonical at the same time and when to use each separately. I have received advice through other Q&As saying to use both for my homepage in this exact same scenario, but sometimes SEOs advise to use rel=canonical on every page to point to its same location.
If 301s pass along "most" of the link juice, then why use both? What's the disadvantage of just using a 301?
D
-
Good job, 301's are usually the reliable & trusted solution. Canonical tags are really useful for other redirecting purposes such as similar content issues. All the best
-
Hi
thanks for that, it was a 301 i was thinking about, that is what I would normally have done, if for instance an old page had some link juice I would 301 it to another page, but I hadnt done one for this reason
I have just setup a 301 now for the domain name
-
Hi There
There are a couple of options;
-
301 Redirect the index.html page to your root domain, e.g. http://example.com/index.html 301 redirected to http://example.com
-
Use a Canonical tag, pointing the index.html page to your root domain.
You'll find a really helpful Redirection Guide here on SEOmoz.
You can also find here on SEOmoz a useful guide to Canonical tags.
I'd almost always recommend for this particular scenario, opting for a 301 Redirect on the page index.html to your root domain. Chances are (for these two pages) your inbound links will tend to mainly point to your root domain rather than the index.html page.
I hope that helps,
Regards
Simon
-
-
thanks for your help, sorry just to confirm
if I wanted google to keep the www.mydomain.com instead of www.mydomain.com/index.html as the main homepage I would put the link rel= onto the index/html and put the www.mydomain.com in there?
-
Adding the canonical tag within your telling search engines which homepage to use - this seemed to work for us:
If you're having duplicate content throughout your site, I've read having your site admin do something with the htaccess file would do the trick.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Old homepage in google on branded keyword
Hello there, I have a strange problem: if you search "probike" (romanian google.ro), i get an OLD homepage with https://www.probike.ro , and my new homepage is https://probike.ro, the real problem is that title/meta description are not available (see attachment). Redirect 301: Ok
Technical SEO | | Shanaki
Robots.txt: Ok
Sitemap: Ok Help, is annoying 🙂 With respect, Andrei I33gThc0 -
Google Crawling Issues! How Can I Get Google to Crawl My Website Regularly?
Hi Everyone! My website is not being crawled regularly by Google - there are weeks when it's regular but for the past month or so it does not get crawled for seven to eight days. There are some specific pages, that I want to get ranked but they of late are not being crawled AT ALL unless I use the 'Fetch As Google' tool! That's not normal, right? I have checked and re-checked the on-page metrics for these pages (and the website as a whole, backlinking is a regular and ongoing process as well! Sitemap is in place too! Resubmitted it once too! This issue is detrimental to website traffic and rankings! Would really appreciate insights from you guys! Thanks a lot!
Technical SEO | | farhanm1 -
Why are my 301 redirects and duplicate pages (with canonicals) still showing up as duplicates in Webmaster Tools?
My guess is that in time Google will realize that my duplicate content is not actually duplicate content, but in the meantime I'd like to get your guys feedback. The reporting in Webmaster Tools looks something like this. Duplicates /url1.html /url2.html /url3.html /category/product/url.html /category2/product/url.html url3.html is the true canonical page in the list above._ url1.html,_ and url2.html are old URLs that 301 to url3.html. So, it seems my bases are covered there. _/category/product/url.html _and _/category2/product/url.html _ do not redirect. They are the same page as url3.html. Each of the category URLs has a canonical URL of url3.html in the header. So, it seems my bases are covered there as well. Can I expect Google to pick up on this? Why wouldn't it understand this already?
Technical SEO | | bearpaw0 -
Duplicate Page Content
Hi, I just had my site crawled by the seomoz robot and it came back with some errors. Basically it seems the categories and dates are not crawling directly. I'm a SEO newbie here Below is a capture of the video of what I am talking about. Any ideas on how to fix this? Hkpekchp
Technical SEO | | mcardenal0 -
Google Places Page Changes
We had a client(dentist) hire another marketing firm(without our knowledge) and due to some Google page changes they made, their website lost a #1 ranking, was disassociated with the places page and was placed at result #10 below all the local results. We quickly made some changes and were able to bring them up to #2 within a few days and restore their Google page after about a week, but the tracking/forwarding phone number the marketing company was using shows up on the page despite attempts to contact Google through updating the business in places management as well as submit the phone number as incorrect while providing the correct phone number. And because the client fired that marketing company, the phone number will no longer be active in a few days. Of course this is very important for a dental office. Has anyone else had problems with the speed and updating Google Places/Plus pages for businesses? What's the most efficient way to make changes like this?
Technical SEO | | tvinson0 -
Google is indexing my directories
I'm sure this has been asked before, but I was looking at all of Google's results for my site and I found dozens of results for directories such as: Index of /scouting/blog/wp-includes/js/swfupload/plugins Obviously I don't want those indexed. How do I prevent Google from indexing those? Also, it only seems to be doing it with Wordpress, not any of the directories on my main site. (We have a wordpress blog, which is only a portion of the site)
Technical SEO | | UnderRugSwept0 -
Duplicate Content
Hello All, my first web crawl has come back with a duplicate content warning for www.simodal.com and www.simodal.com/index.htm slightly mystified! thanks paul
Technical SEO | | simodal0 -
Duplicate content
Greetings! I have inherited a problem that I am not sure how to fix. The website I am working on had a 302 redirect from its original home url (with all the link juice) to a newly designed page (with no real link juice). When the 302 redirect was removed, a duplicate content problem remained, since the new page had already been indexed by google. What is the best way to handle duplicate content? Thanks!
Technical SEO | | shedontdiet0