Canonical issue
-
Hi,
Very new to seomoz but very impressed. First report has shown me that I have duplicate pages. Some seem to be duplicate titles and some were duplicates of pages i found on the server.
however the main problem is it seems to be picking up pages with www and without it which I have a vague idea is a canonical issue.
so it throws up pages like this:
http://web-writer-articles.co.uk
and http://www.web-writer-articles.co.uk
I want it just to pick up pages with www
Firstly should it be picking up both and if not how can I make amendments so that it is only picking up pages which include www ?
thank you for your help,
louandel15
-
Yes, now it should work. If not, write to me and I can help you
-
In my htaccess file at the moment I have:
DirectoryIndex index.html index.cgi index.php
Do i just add what you have suggested so it looks like this:
DirectoryIndex index.html index.cgi index.php
RewriteEngine On RewriteCond %{HTTP_HOST} ^web-writer-articles.co.uk RewriteRule (.*) http://www.web-writer-articles.co.uk/$1 [R=301,L]
thanks
louandel15
-
Than you will need to make a 301 redirection to solve the problem. You will need to edit your .htaccess file. You will find it at you public_html fold. If it doesnt exist, create one.
Inside this file you in write the follow:
RewriteEngine On RewriteCond %{HTTP_HOST} ^web-writer-articles.co.uk RewriteRule (.*) http://www.web-writer-articles.co.uk/$1 [R=301,L]
Problem solved and google will not more complain.
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
-
Canonical home page references - logo link
should a website's logo be linked to the "abc.com/index.html" page or to the "abc.com" domain root? Is one better for the search engine robots?
On-Page Optimization | | mtishman1 -
Rel="Canonical"
Hi!, We´ve just launched a new website and on this web we are using a lot Call to Actions on every page of the web and all of this CTA`s goes to the same Landing Page. (Ej: http://www.landing page.com) The problem comes when Google says this Landing Page is duplicate content because we are using some parameters like, for instance, http://www.landing page.com/?fuente=Soporteensalesforce So now we have just 1 Landing Page but Google sees 13 pages, because of this parameters and Moz alerted me that Google is seeing it as duplicate content. Yesterday I put this on the head of the only Landing Page we have so Google can see it in the proper way, as just one landing, but I don´t know if it is enough or should I do anything else? What I put on the Head: Hope someone can help me about this because I´ve tried to find a solution and this is the only thing that came up to me, and don´t know if it´s the right thing. Thanks for your time!
On-Page Optimization | | Manuel_LeadClic0 -
Correct .htaccess settings for canonical url?
I want to forward all urls to http:www.mysite.com but am a little confuse because I am getting duplicate content error: Pages with Duplicate Page Content as of Jan 15http://titanappliancerepair.com/ 1 duplicatehttp://titanappliancerepair.com 1 duplicatehttp://titanappliancerepair.com/index.html 1 duplicate*****************************************************************What should I put ion htaccess file so I can forwardhttp://titanappliancerepair.com/index.htmlhttp://titanappliancerepair.comhttp://titanappliancerepair.com/to http://www.titanappliancerepair.comor what is the correct way to do it?I'm confused because when I enter http://titanappliancerepair.com/ in browser it showshttp://titanappliancerepair.com so how can it be considered duplicate content?.Can someone help?I have godaddy and they have gave me this code to put RewriteEngine on
On-Page Optimization | | webbutler13
rewritecond %{http_host} ^coolexample.com [nc]
rewriterule ^(.)$ http://www.coolexample.com/$1 [r=301,nc]What is correct?0 -
Internal Duplicate Content/Canonical Issue/ or nothing to worry about
Unfortunately, my developer cannot give me an answer to this so I really do hope someone can help. The homepage of my website is http://www.laddersfree.co.uk however I also have a page http://www.laddersfree.co.uk/index.php that has a page rank and essentially duplicates the home page. Does someone know what this is? Do I need to get my developer to do a 404? It is worrying that he has not come back to me. Thanks Jason
On-Page Optimization | | gymmad0 -
Should i make all of my pages with canonical tag
Hi, Im using thesis Wordpress theme, and their default option is "Add canonical <acronym title="Uniform Resource Locator">URL</acronym>s to your site" im just wandering if i should keep that box checked and apply canonical <acronym title="Uniform Resource Locator">URL</acronym>s to all of my pages? Thank You
On-Page Optimization | | Vmezoz0 -
Site wide 301 or canonical links.
Hi guys, I'd like add code to my header file to specify www. as opposed to just http:// for the canonical links across my entire site. How can I do this? I'd like it to be site wide code that I can just add to my header.php file which is included across the site.
On-Page Optimization | | absoauto0 -
Canonical Tag for Ecommerce Site
I implemented a canonical tag on each product page for my clients ecommerce site and my rankings tanked. Has this happened to anyone else? If so, when can I expect rank to return?
On-Page Optimization | | DynoSaur0 -
Implementing rel=canonical in a CMS
Hi Guys, We have an issue with duplicate content caused by dynamic URLs, so want to implement rel=canonical. However this isn't easy due to the way out CMS works. These were pulled from SEOMoz scan: http://www.transair.co.uk/pp+Aerobatics-Training+463
On-Page Optimization | | brightonseorob
http://www.transair.co.uk/pp+Aerobatics-Training+463?page=1&perpage=10&sales_group=NULL&filter_colour=&filter_size=&sortby=RELEV&inStock=NO&resfilter=
and are obviously the same page. As far as I can see I have two options. 1. To implement the canonical meta tag only on page 1. 2. To implement the canonical tag so that I add ?page=X so
http://www.transair.co.uk/pp+Aerobatics-Training+463
would be
http://www.transair.co.uk/pp+Aerobatics-Training+463?page=1 Will this work? Thanks Rob0