Why put rel=canonical to the same url ?
-
Hi all. I've heard that it's good to put the link rel canonical in your header even when there is no other important or prefered version of that url.
If you take a look at moz.com and see the code, you'll see that they put the <link rel="<a class="attribute-value">canonical</a>" href="http://moz.com" /> ... pointing at the same url !
But if you go to http://moz.com/products/pricing for example, they have no canonical there !
WHY ?
Thanks in advance !
-
I do appreciate this kind of honesty. For me, honesty is the only thing that has made me have clients for more than 3 years.
-
Canonicals on every page is definitely the best practice.
As to the Moz mystery, probably whomever wrote the specs for that page forgot to include canonical tags. Even our SEO is far from perfect.
-
You generally want canonicals on every page but Google has been paying a little less attention to them lately. They seem to be moving in the multi language direction so canonicals may be switched over to that one day.
Anyway you use them to let Google and most crawlers know which page to index. So if you have a bunch of URLs with different variables, they know to only index the root page.
ie:
http://website.com/page/?var=1
http://website.com/page/?var=2
http://website.com/page/?var=3Set the canonical to http://website.com/page/, and that'll help let them know to only index http://website.com/page/ - also helps prevent duplicate content issues.
-
This is done for pages that may have additional information added to the url in a query string. While I prefer to have all pages canonical to themselves, I highly recommend doing it to any home page or landing page that can have multiple external links pointing to it.
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
-
Rel Canonicals not working properly.
We recently implemented rel=canonicals on a few of our pages to prevent query parameters from showing up in the SERPs. The two pages we added the tags to are no longer ranking. The pages used to rank very well for branded terms such as "morningstar direct" and "morningstar sustainability", but now don't show up at all. When you search for the urls specifically, for example "products/direct morningstar" the query parameter is still indexing. Does anyone know why this might be or what we can do to fix this issue? The two pages are www.morningstar.com/products/direct and https://www.morningstar.com/company/sustainability
Technical SEO | | jmigdal0 -
Canonical URL Change
Hi, I have a Product Page, say www.example.com/product-title/.
Technical SEO | | viatrading1
Canonical URL is www.example.com/product-title/ I want to change its URL to www.example.com/product-title-2/
Canonical URL is www.example.com/product-title-2/
Can't do 301 Redirect. Is SEO Juice passed from www.example.com/product-title/ to www.example.com/product-title-2/ ? Thanks,0 -
URL structure
Hello Guys, Quick Question regarding URL strucutre One of our client is an hotel chain, thye have a group site www.example.com and each property is located in a subfolder: www.example.com/example-boston.html , www.example.com/example-ny.html etc. My quesion is : where is better to place the language extension at a subfolder level?
Technical SEO | | travelclickseo
Should i go for www.example.com/en/example-ny.html or it is preferable to specify the language after the property name www.example.com/example-ny/en/accommodation.html? Thanks and Regards, Alessio0 -
Invert canonicals?
Hi, We have 2 sites, site A and site B. For now, some of our articles are duplicated on site B with rel canonicals towards site A. Starting now, Site B will be the main site for this category, we'll only post the content on this site. We will keep the old content on site A. But what do you think will happen if we invert the canonicals for the old articles? They would go towards site B. Would google eventually update its index, a bit like it would do for a redirect? Thanks !
Technical SEO | | AdrienLargus0 -
Regarding Rel Canonical on PhoneTech.dk
Hi All you Seo Experts from seomoz I have a question about one of my webshops where I have the same product listed in different categories where I on the duplicate pages use the Rel Caninical Tag on, that points to the main product url. I just have to verify with you guys that I did it correctly Example on the shop. This is just an example www.phonetech.dk/shop/product1.html - This is Main Duplicates www.phonetech.dk/shop/iphone3G/product1.html - Canonical Tag on this one pointing to the main. www.phonetech.dk/shop/iphone3g/backcovers/product1.html - Canonical Tag on this one pointing to the main. www.phonetech.dk/shop/iphone3gs/colorbackcovers/product1.html - Canonical Tag here also pointing to main Hope you guys can help me that my use of Canonical Tag is correct. Regards Christian - Denmark
Technical SEO | | noerdar0 -
Magento Canonical Tags
Magento pages have been giving me a lot of trouble with the canonical tags. In some cases duplicate pages are showing up, so I need to add the canonical tag. In other cases I'm getting an error that there are multiple canonical tags per page. How can I get my pages canonized without duplicate tags? It seems like it's either too much or not enough, no matter what I do. Note: this only applies to category and product pages.
Technical SEO | | GravitateOnline0 -
Querystring params, rel canonical and SEO
I know ideally you should have as clean as possible url structures for optimal SEO. Our current site contains clean urls with very minimal use of query string params. There is a strong push, for business purposes to include click tracking on our site which will append a query string param to a large percentage of our internal links. Currently: http://www.oursite.com/section/content/ Will change to: http://www.oursite.com/section/content/?tg=zzzzwww We currently use rel canonical on all pages to properly define the true url in order to remove any possible duplicate content issues. Given we are already using rel canonical, if we implement the query string click tracking, will this negatively impact our SEO? If so, by how much? Could we run into duplicate content issues? We get crawled by Google a lot (very big site) and very large percent of our traffic is from Google, but there is a strong business need for this information so trying to weigh pros/cons.
Technical SEO | | NicB10 -
Permanent 301 redirects vs canonical urls?
Im moving a website that was .php to wordpress with a few static HTML pages. Which is better use permanent 301 redirects and delte the old pages, leave the old pages and use canonical urls and 301 redirects or something else?
Technical SEO | | senith0