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
-
Should I change PDF content?
Hi everybody, My Website is ranking well for several keywords and long-tail keywords. However, all these visits are going directly to some .PDF guides that exist on our products and information on industry sectors the company is based around. I feel the PDF's are bad simply because they dont offer easy interaction with the rest of the website. I am considering making each PDF into a webpage but am not 100% sure of the pro's and cons of doing so. I will still need to the PDF's accessible for user to download but don't want my new webpages to get tagged as duplicate content. Is it possible to,
On-Page Optimization | | ATP
1 - change the PDF's so they send any link authority to the new webpage
2 - make google aware that I want the webpage not the PDF to be the "ranking" page What is the likely hood of destroying my rank for these keywords on the PDF by making these changes and then not being able to rank the webpage for the same keywords? It would be pointless if I just lost all the traffic lol.0 -
Pages with near duplicate content
Hi Mozzers, I need your opinion on the following. Imagine that we have a product X (brand Sony for example), so if we sell parts for different models of items of this product X, we then have numerous product pages with model number. Sony camera parts for Sony Camera XYZ parts for Sony Camera XY etc. So the thing is that these pages are very very similar, like 90% duplicate and they do duplicate pages for Panasonic, Canon let's say with small tweaks in content. I know that those are duplicates and I would experiment removing a category for one brand only (least seached for), but at the same time I cannot remove for the rest as they convert a lot, being close to the search query of the customer (customer looks for parts for Sony XYZ, lands on the page and buys, insteading of staying on a page for Sony parts where should additionally browse for model number). What would you advise to make as unique as possible these pages, I am thinking about: change page titles. meta descriptions tweak the content as much as I can (very difficult, there is nothing fancy or different in those :(() i will start with top top pages that really drive traffic first and see how it goes. I will remove least visited pages and prominently put the model number in Sony parts page to see how it goes in terms of organic and most importantly conversions Any other ideas? I am really concerned about dupes and a penalty, but I try to think of solutions in order not to kill conversions at this point. Have a lovely Monday
On-Page Optimization | | SammyT0 -
Duplicate Page Content
Hi, I am new to the MOZ Pro community. I got the below message for many of my pages. We have a video site so all content in the page except the video link would be different. How can i handle such pages. Can we place adsense AD's on these pages? Duplicate Page Content Code and content on this page looks similar or identical to code and content on other pages on your site. Search engines may not know which pages are best to include in their index and rankings. Common fixes for this issue include 301 redirects, using the rel=canonical tag, and using the Parameter handling tool in Google Webmaster Central. For more information on duplicate content, visit http://moz.com/learn/seo/duplicate-content. Please help me to know how to handle this.. Regards
On-Page Optimization | | Nettv0 -
H1 Tag on Homepage
The name of our company is LEDSupply; our tag line is: "For All Your LED Project Needs!". Currently the H1 Tag for our homepage is LEDSupply: For All Your LED Project Needs - Low Prices, Big Bulk Discounts & Free Shipping My questions is should I break out everything but the tag line so the new H1 tag is: LEDSupply: For All Your LED Project Needs! Which is better in your opinion? Here is a link to our homepage: http://www.ledsupply.com/ Thanks! -Brooke
On-Page Optimization | | saultienut0 -
Is my blog simply duplicate content of my authors' profiles?
www.example.com/blog is the full list of blog posts by various writers. The list contains the title of each article and the first paragraph from the article. In addition to /blog being indexed, each author's contribution list is being indexed separately. It's not a profile, really, just a list of articles in the same title & paragraph format of the /blog page. So if /blog a list of 10 articles written by two writers, I have three pages: /blog/author1 is a list of 4 articles /blog/author2 is a list of 6 different articles /blog is a list of 10 articles (the 4+6 from the two writers) Is this going to be considered duplicate content?
On-Page Optimization | | Brocberry0 -
How to avoid duplicate page content
I have over 5.000 duplicate page content because my urls contains ?district=1&sort=&how=ASC¤cy=EUR. How can I fix this?
On-Page Optimization | | bruki0 -
Is This Duplicate Content Hurting Our SERPs?
We sell 1000s of audio book title, many of which are published in more than one format (abridged, unabridged CD, and/or unabridged MP3) by the same publisher. Currently each title has its own page but the basic description of the title (story) is the same. Here is an example title that is offered in three formats. 44 Charles Street - Danielle Steel - abridged CD audiobook 44 Charles Street - Danielle Steel - MP3 CD audiobook 44 Charles Street - Danielle Steel - CD audiobook Each of the above pages has a different page title, a different URL, a different meta description however much of the body (from [Listen to a FREE Audio Clip] down is the same. Is this duplicate content hurting our SERPs?
On-Page Optimization | | lbohen1 -
Title tags in duplicate pages
hi there, we have a new ecommerce platform which has just been deployed, and I've been asked to tidy up the onpage SEO. we have employed canonicals across the category and product pages and we now have a nice set of unique product pages my question is - do we need to create the title tags in all of the duplicate non-canonical pages eg www.mysite.com/niceproduct.html (canonical) www.mysite.com/acategory/niceproduct.html (duplicate) Can we leave the duplicate title tag empty and not worry about it, or should we put in a duplicate of the canonical title tag hope the question makes sense! thanks in advance for all help
On-Page Optimization | | k3nn3dy30