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
-
Homepage and keywords
hello, another problem i am facing is that if i see in my rankings over 90% of keywords are connected with my home page. When i go to moz pro in Page Optimization Score wanting to optimize the page to rank better there are some propositions the issue is that it is impossible to have over 100 keywords in home page title to optimize it better for each one of these. I have more specific build more specific sites for many of these keywords in the site but google continues to rank all those keywords for the home page and not for the more specific page that could also be optimized for every keyword it deals with. In adition the question i posted in moz with url: https://moz.com/community/q/greek-language-distinctiveness is also mainly connected with above issue. Please help thanks
On-Page Optimization | | anavasis0 -
Duplicate ecommerce domains and canonical
Hi everybody! I'd like to discuss the SEO strategy I've thought regarding a client of mine and ask for help because it's a serious case of duplicate content. There is a main website (the business model one) where he compares the cost of medicines in several pharmacies, to show the cheapest shopping cart to the customer. But the shopping has to been made in another domain, within the selected pharmacie, because my country's law in Europe says that is compulsory to sell the medicines only on the pharmacy website. So my client has started to create domains, one for each pharmacy, where the differences between them are only some products, the business information of the pharmacy and the template's colour. But all of them shares the same product data base. My aim is to rank the comparing website (it contains all the products), not each pharmacy, so I've started to create different content for this one. Should I place rel=canonical in the pharmacies domains t the original one? For instance: www.pharmacie1.com >> www.originaltorank.com www.pharmacie2.com >> www.originaltorank.com www.pharmacie1.com/product-10 >> www.originaltorank.com/product-10 I've already discuss the possibilities to focus all the content in only one website, but it's compulsory to have different domains in order to sell medicines By the way, I can't redirect 301 because I need these websites exist for the same reason (the law) He is creating 1-3 new domains every week so obviously he has had a drop in his SEO traffic that I have to solve this fast. Do you think the canonical will be the best solution? I dont want to noindex these domains beacuse we're creating Google Local pages for each one in order to be found in their villages. Please, I'll appreciate any piece of advice. Thanks!
On-Page Optimization | | Estherpuntu0 -
Title Tag duplication.
Hi Guys/Gals, We do a lot of work in a very competitive space (personal injury) and are having an internal debate on the best way to implement title tags for new sites. We understand that keywords, title tags, etc., don't possess the power they once did, but we have yet to see conclusive proof of this in our space. The vast majority of competitors still rank very well for keyword focused content, title tags, etc., while having average link profiles and little content. We write a lot of content for our clients and want to know if someone can offer their opinion on the question that follows this example: "Top 5 Injuries Caused by T-Bone Collisions | Indiana Accident Lawyer" Would it seem repetitive or manipulative to construct title tags as shown, always placing "Indiana Accident Attorney" or "Indianapolis Accident Lawyer," or similar of at the end of each title tag? Thanks, gang!
On-Page Optimization | | Wayne760 -
Boat broker - issues with duplicate content and indexing search results
Hello, I have read a lot about optimising product pages and not indexing search results or category pages as ideally a person should be directed straight to a product page. I am interested in how best to approach a site that is listing second hand products for sale - essentially a marketplace of second hand goods (in my case, www.boatshed.com - international boat brokers). For example, we currently have 5 Colvic Sailer 26 boats for sale across the world - that is 5 boats of the same make and model but differing years, locations, sellers and prices. My concern is with search results and 'category' pages. Unlike typical e-commerce sites, when someone searches for a 'Colvic sailer 26 for sale' I want them to go to a search results style page as it is more useful for them to see a list of boats than one random one that Google decides is most important (or possibly one it can match by location). Currently we have 3 different URL types to show search results style pages (i.e. paginated lists of boats that include name, image and short description):
On-Page Optimization | | pbscreative
manufacturer URL's e.g. http://www.boatshed.com/colvic-manufacturer-145.html
category URL's e.g. barges http://www.boatshed.com/barges-category-55.html
and normal search results e.g. dosearch.php?form_boattype_textbox=&.... I have noindexed the search results pages but our category and manufacturer URLs show up in search results and ultimately these are pages I want people to land on. I am however getting duplicate content warnings in Moz. Most boats are in several categories and all will come up on 1 manufacturer and one manufacturer and model page. Both sets of URL's are in my opinion needed; lots of users search for exact makes / models and lots of users just search for the type of boat e.g. 'barge for sale' so both sets of landing pages are useful. Any suggestions or thoughts greatly appreciated Thanks Ben0 -
Duplication issue on my website
hi I have a cms website with 2000 pages.my problem is that 1. www.test.com/abc.html 2. www.test.com/abc.html?gallery?123testing it showing duplication page in me seomoz error list. It is a single page. Please suggest solution for it
On-Page Optimization | | wmsindia0 -
When it comes to duplicate page content how do I deal with correcting it. Its a dynamic e commerce site.
I am under the impression that with ecommerce sites this happens often and that there's a plug in or just simply not worry about it since queries will often find similar conent.
On-Page Optimization | | Wayne_c0 -
Duplicate content in the title
Good morning, I am developing an application that searches offers in the press. The problem I have is the follow one:
On-Page Optimization | | ofuente
When I find an offer that I have already post, I cant use the same URL because it generates duplicate content , as the URL is generated from the title. If I find two offers in different stores (for example Thomson TV) I am studying two options. The first would be to add a number at the end of the URL
http://www.offertazo.com/televisor-thomson
http://www.offertazo.com/televisor-thomson1
http://www.offertazo.com/televisor-thomson2 Another option I propose would be to add semantic data to provide value (such as the date). For example:
http://www.offertazo.com/01-12-12/televisor-thomson I appreciate your help.0 -
How do I avoid duplicate content and page title errors when using a single CMS for a website
I am currently hosting a client site on a CMS with both a Canadian and USA version of the website. We have the .com as the primary domain and the .ca is re-directed from the registrar to the Canadian home page. The problem I am having is that my campaign produces errors for duplicate page content and duplicate page titles. Is there a way to setup the two versions on the CMS so that these errors do not get produced? My concern is getting penalized from search engines. Appreciate any help. Mark Palmer
On-Page Optimization | | kpreneur0