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
-
I have an eCommerce Site with in some cases, 100s of versions of the same product. How do I avoid "duplicate content" without writing literally 100s of unique product descriptions for the exact same product?
For instance, one item where the only difference is the Sports Team Logo is different, etc... or It comes in a variety of color Variants. I'm using Shopify.
On-Page Optimization | | pstone291 -
Duplicate Page content | What to do?
Hello Guys, I have some duplicate pages detected by MOZ. Most of the URL´s are from a registracion process for users, so the URL´s are all like this: www.exemple.com/user/login?destination=node/125%23comment-form What should I do? Add this to robot txt? If so how? Whats the command to add in Google Webmaster? Thanks in advance! Pedro Pereira
On-Page Optimization | | Kalitenko20140 -
Is tracking code added to the end of a URL considered duplicate content
I have two URLs one with a tracking coded and one without. http://www.towermarketing.net/lets-talk-ux-baby and http://www.towermarketing.net/lets-talk-ux-baby/**#.U6ghgLEz64I ** My question is will this be considered as two separate URLs, will Google consider this as two pages with duplicate content. Any recommendations would be much appreciated.
On-Page Optimization | | TowerMarketing0 -
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
Hi I am new to SEO and at the moment looking at warnings from the crawl diagnostics report. When I have looked at the content from the urls given I cant see anything obvious that relates to duplicate content. Whats the best way to find out the problem please?
On-Page Optimization | | Pauline080 -
Duplicate Content
Part of a site I am working on, features many different bags in all thicknesses colors and sizes. I'm getting an error when some pages have different content like different thicknesses. The only differences between the pages are a single digit - but in trash bags that makes it a whole different product! I can't do a canonical because it's not the same. For example: http://www.plasticplace.net/index.php?file=productdetail&iprod_id=274 and http://www.plasticplace.net/index.php?file=productdetail&iprod_id=268 Any ideas?
On-Page Optimization | | EcomLkwd0 -
What content is apropriate here
Hello, I've got a dozen good articles in my article section, but nobody is landing on them. Should we write articles about our products? Won't that compete with our product pages?
On-Page Optimization | | BobGW0 -
Content for ecommerce site
How important on site/page contents are for ecommerce site. Keeping in mind the page layout. Its not that important to have page copy/content at all for ecommerce sites If yes, does position of content is an important factor? if putting page copy/content in upper fold of a page then the most important thing which is product itself will have less exposure if putting near the footer of the page, does that seem like doing just for the sake of SEs and ranking. How important internal linking form that content would be compare to left panel links or links at the header of a website Thanks Rick
On-Page Optimization | | RickGa0