Duplicate content on homepage?
-
Hi
I have just created a new campaign and it states that I have duplicate page content which would affect search rankings.
Basically it is counting my site www.mydomain.com and www.mydomain.com/index.php as two seperate pages.
How can I make it so that only www.mydomain.com is visible reducing the duplicate content issue?
Many Thanks
-
Yes, not forgetting the quotes around the URL. I would still add one, but there are others who wouldn't. More information here:
http://www.seomoz.org/blog/complete-guide-to-rel-canonical-how-to-and-why-not (note it's a year old)
http://www.seomoz.org/blog/cross-domain-canonical-the-new-301-whiteboard-friday
-
Thanks
So in the header on the page if I include
<link <span>rel="canonical" href=http://www.mydomain.com/></link <span>
This will tell Google, Bing etc that my preferred option is http://www.mydomain.com over http://www.mydomain.com/index.php
And this can be used in conjunction with the .htaccess file which I have already added under the web root as per Firsts advice.
Or is this not required if I have already uploaded a .htaccess file?
Thanks guys for all your advice
-
Add rel="canonical" href="http://www.mydomain.com" /> or <link <span>rel="canonical" href="http://www.mydomain.com/" /> (depending on your preferred version - those would be considered two separate pages too) between the head tags of your homepage. This will let Google know of your change and combine the page authority of any stray index.php's left over.</link <span>
You should be careful about uploading a new .htaccess page as you might be writing over something important that already exists, so make sure this isn't the case.
P.S. This is in addition to what First says about changing the links, and if you use IIS you can set rewrite rules in there without having to mess with a .htaccess file.
-
Yes, it does go under the root.
Yes, just open notepad
Yes, change the .html to .php
-
I have access to the FTP root but cant locate a .htaccess file - does this go under the root and do you just open notepad enter (I have replaced .html with .php is this correct as I am not using .html suffix)
RewriteEngine on RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ RewriteRule ^index\.php$ http://www.domain.com/ [R=301,L]
and save as .htaccess under the web root ?
-
The best way is to do both but if you dont have access to the .htaccess file than just remove ALL of the link back to www.mydomain.com/index.php and replace with www.mydomain.com
-
Is there a way of achieving this without using the .htaccess file?
-
To avoid this, you can use the following ModRewrite rules in your .htaccess file:
RewriteEngine on RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.html\ HTTP/ RewriteRule ^index\.html$ http://www.domain.com/ [R=301,L]
Also make sure that all your links back to the home page (both in your navigation and your internal links) are www.mydomain.com and not www.mydomain.com/index.php
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
-
Duplicate Content
Hello Moz Quick question. Can I copy and paste a paragraph of text (100 words) from my main category page into my products without hurting SEO of the category page? The content on my category page is so good I don't want to take chances as this is what I will be ranking for. Thanks
On-Page Optimization | | crocman0 -
Ratings pages are Duplicate Content
This brought up another question. should the review page (which now has a canonical to the item page) be Index,follow? My item review pages are showing up with Duplicate Content errors in MOZ. Here are two examples http://www.americanmusical.com/ItemReview--i-HAM-SK1-LIST http://www.americanmusical.com/ItemReview--i-MAC-203680902-LIST is the problem that the pages contain the same code and questions with very little customer created info?
On-Page Optimization | | dianeb1520 -
Duplicate and thin content - advanced..
Hi Guys Two issues to sort out.. So we have a website that lists products and has many pages for: a) The list pages - that lists all the products for that area.
On-Page Optimization | | nick-name123
b) The detailed pages - that when click into from the list page, will list the specific product in full. On the list page, we perhaps have half the description written down, when clicked into you see the full description.
If you search in google for a phrase on the detailed page, you will see results for that specific page including 'multiple' list pages where it is on. For example, lets say we are promoting 'trees' which are situated in Manhatten. And we are also promoting trees in Brooklyn, there is a crossover. So a tree listed in Manhatten will also be listen in brooklyn as its close by (not from America so don't laugh if I have areas muddled)
We then have quite a few pages with the same content as a result. I read a post a while back from the mighty Cutts who said not to worry about the duplicate unless its spammy, but what is good for one person, is spammy to another.. Does anyone have any ideas as to if this is a genuine problem and how you would solve? Also, we know we have alot of thin content on the site, but we dont know how to identify it. It's a large site so needs something automated (I think).. Thanks in advance Nick0 -
Would This Be Highlighted as Duplicate Meta Desc?
Due to the nature of our business we literally have hundreds of web pages and so we recently asked our Web Developers to create the Meta Description for many of the pages that they create - unfortunately they don't seem to understand SEO but before I go back to them I wanted to run this by the MOZ Community... Here is a snippet of the Meta Desc they have created, personally I'm not happy with it BUT I need to be certain on one thing... Will Google determine that it is (almost) duplicated Meta content? Why not visit Cape Town on an Africa Cruise with XYZ Cruises? Book with us today for great cruise deals, special offers and exclusive club benefits. Why not visit Casablanca on an Africa Cruise with XYZ Cruises? Book today for great cruise deals, special offers and exclusive club benefits. Why not visit Durban on an Africa Cruise with XYZ Cruises? Book with us today for great cruise deals, special offers and exclusive club benefits. Why not visit Port Elizabeth on an Africa Cruise with XYZ Cruises? Book today for great cruise deals, special offers and exclusive club benefits. Why not visit Aukland on an Australasia Cruise with XYZ Cruises? Book today for great cruise deals, special offers and exclusive club benefits. Why not visit Christchurch on an Australasia Cruise with XYZ Cruises? Book today for great cruise deals, special offers and exclusive club benefits. Why not visit Melbourne on an Australasia Cruise with XYZ Cruises? Book today for great cruise deals, special offers and exclusive club benefits. Why not visit Sydney on an Australasia Cruise with XYZ Cruises? Book today for great cruise deals, special offers and exclusive club benefits. Why not visit Orlando on a Caribbean Cruise with XYZ Cruises? Book with us today for great cruise deals, special offers and exclusive club benefits. Why not visit Central America Cruise on a Cruise Destinations with XYZ Cruises? Book today for great cruise deals, benefits and special offers. Why not visit Acapulco on a Central America Cruise with XYZ Cruises? Book today for great cruise deals, special offers and exclusive club benefits. Why not visit Puntarenas on a Central America Cruise with XYZ Cruises? Book today for great cruise deals, special offers and exclusive club benefits. Why not visit Sharm El Sheik on an Egypt And Red Sea with XYZ Cruises? Book today for great cruise deals, special offers and exclusive club benefits. Why not take a European Cruise with XYZ Cruises? Book with us today for great cruise deals, special offers and exclusive cruise club benefits. Why not visit Bangkok on a Far East & Indian Ocean Cruise with XYZ Cruises? Book today for great cruise deals, special offers and exclusive benefits. Why not visit Halong Bay on a Far East & Indian Ocean Cruise with XYZ Cruises? Book today for great cruise deals, offers and exclusive benefits. Why not visit Hong Kong on a Far East & Indian Ocean Cruise with XYZ Cruises? Book today for great cruise deals, special offers and exclusive benefits. Why not visit Kuala Lumpur on a Far East & Indian Ocean Cruise with XYZ Cruises? Book today for great cruise deals, offers and exclusive benefits. Why not visit Okinawa on a Far East & Indian Ocean Cruise with XYZ Cruises? Book today for great cruise deals, offers and exclusive benefits. Why not visit Phuket on a Far East & Indian Ocean Cruise with XYZ Cruises? Book today for great cruise deals, special offers and exclusive benefits. Why not visit Shanghai on a Far East & Indian Ocean Cruise with XYZ Cruises? Book today for great cruise deals, offers and exclusive benefits. Why not visit Singapore on a Far East & Indian Ocean Cruise with XYZ Cruises? Book today for great cruise deals, offers and exclusive benefits. Why not visit Tokyo on a Far East & Indian Ocean Cruise with XYZ Cruises? Book today for great cruise deals, special offers and exclusive benefits. Like I said earlier, there are hundreds of pages more! I think that if I want total uniqueness then it's going to be a laborious task of doing them all individually but I want to make sure that it is worth it?! Thanks Andy
On-Page Optimization | | TomKing0 -
Duplicate Content
Is making tabs with general product information on similar products considered duplicate content?
On-Page Optimization | | BridalHotspot0 -
Should homepage contain microdata?
If a homepage lists several items, changing frequently, is it advisable to add microdata and therefore tell Google as much as possible about the items there, or should microdata be added only to an item/news/video/post detail page?
On-Page Optimization | | RichardKay0 -
Duplicated Products on Homepage and category pages
I have some of my best sellers located on the homepage of my websites. These same products may also appear on the category page as well. On the home page and the category page, the product title, short description, thumbnail, etc. are exact duplicates and I am afraid this is hurting me. I would appreciate any advice you may have on how to deal with this issue. These are some of my best sellers and most often, the homepage will outrank the category page for the product. Thanks in advance, lordhenry
On-Page Optimization | | jake3720 -
Copyscape Duplicate Content Ownership Question
We have a site that has had its content copied verbatim to numerous other sites and articles. We were advised to change our content but the content is originally ours. Does google take that into account before they apply duplicate penalties? And shouldn't copyscape be able to show this information in their reports? It just doesnt seem right that the originating author would have to change content because everyone else is stealing it. Any clarification on this?
On-Page Optimization | | anthonytjm0