What canonical makes sense in this particular situation?
-
Hi Mozzers,
I am running into a situation where I am not sure what would be the canonical best practice.
I am working on an e-commerce site (magento)
Situation 1 :
site.com/category/subcategory/subcategory2/subcategory3/ is canonicalized to site.com/category/subcategory/subcategory2/
Situation 2:
if site.com/category/subcategory/subcategory2/ is canonicalized to site.com/category/subcategory/ wouldn't it make sense to have site.com/category/subcategory/subcategory2/subcategory3/ (situation1) canonicalized to site.com/category/subcategory/ instead of site.com/category/subcategory/subcategory2/ ? and if I am right would it hurt to have both situations 1 and 2 combined?
Thanks Guys!
-
Thank you Guys!
-
If you have more than on canonical on a page, Google will ignore them all. Pick the page that will be the canonical and add the same tag to the subsequent pages with duplicate content.
www.site.com = canonical
the canonical tag on all subsequent pages will be link link rel='canonical' href='www.site.com'
-
Hi,
You should avoid URL canonicalization chains just like you avoid redirect chains. If URL1, URL2, URL3 contain substantially similar or identical content and if you choose URL1 to be the canonical/preferred one then here is what you should ideally be doing:
URL 2 --> Canonicalized to URL1
URL 3 --> Canonicalized to URL1 and not to URL2
In this case, only URL1 will be in Google's index. Here you go for more:
http://moz.com/blog/rel-confused-answers-to-your-rel-canonical-questions
Check out point 9.
Best regards,
Devanur Rafi
-
Anything make sense if it make sense.
The only rule is what make sense from a duplicate content perspective. And you are not limited to rules based on category tree sub levels.
Just think about the content of each category (or family/group of categories) and what make sense to have in google index. What should go in google index is the target of the canonicalization, what doesn't matter to have in the index (because duplicate, because of ridiculous potential traffic, etc...) should have the meta canonical tag pointing to the canonical url. That's all.
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
-
Dynamic Canonical Tag for Search Results Filtering Page
Hi everyone, I run a website in the travel industry where most users land on a location page (e.g. domain.com/product/location, before performing a search by selecting dates and times. This then takes them to a pre filtered dynamic search results page with options for their selected location on a separate URL (e.g. /book/results). The /book/results page can only be accessed on our website by performing a search, and URL's with search parameters from this page have never been indexed in the past. We work with some large partners who use our booking engine who have recently started linking to these pre filtered search results pages. This is not being done on a large scale and at present we only have a couple of hundred of these search results pages indexed. I could easily add a noindex or self-referencing canonical tag to the /book/results page to remove them, however it’s been suggested that adding a dynamic canonical tag to our pre filtered results pages pointing to the location page (based on the location information in the query string) could be beneficial for the SEO of our location pages. This makes sense as the partner websites that link to our /book/results page are very high authority and any way that this could be passed to our location pages (which are our most important in terms of rankings) sounds good, however I have a couple of concerns. • Is using a dynamic canonical tag in this way considered spammy / manipulative? • Whilst all the content that appears on the pre filtered /book/results page is present on the static location page where the search initiates and which the canonical tag would point to, it is presented differently and there is a lot more content on the static location page that isn’t present on the /book/results page. Is this likely to see the canonical tag being ignored / link equity not being passed as hoped, and are there greater risks to this that I should be worried about? I can’t find many examples of other sites where this has been implemented but the closest would probably be booking.com. https://www.booking.com/searchresults.it.html?label=gen173nr-1FCAEoggI46AdIM1gEaFCIAQGYARS4ARfIAQzYAQHoAQH4AQuIAgGoAgO4ArajrpcGwAIB0gIkYmUxYjNlZWMtYWQzMi00NWJmLTk5NTItNzY1MzljZTVhOTk02AIG4AIB&sid=d4030ebf4f04bb7ddcb2b04d1bade521&dest_id=-2601889&dest_type=city& Canonical points to https://www.booking.com/city/gb/london.it.html In our scenario however there is a greater difference between the content on both pages (and booking.com have a load of search results pages indexed which is not what we’re looking for) Would be great to get any feedback on this before I rule it out. Thanks!
Technical SEO | | GAnalytics1 -
Making a site mobile friendly
Hey Mozzers, Im having a go at making our site mobile friendly without enlisting the help of developers and incorporating additional costs. I am ok with most of it as its just CSS work bar the odd occasion when i need to reposition some elements within the code. However, i have found myself wanting to use display:none {} on many elements that are just not practical on a mobile site. Some pages may have to hide substantial content. Would this be considered an issue or will google just see it as me hiding impractical elements for a different sized screen. I have googled this question for the past hour and there is a whole bunch of conflicting advice. As always, Many thanks
Technical SEO | | ATP0 -
Does rel="canonical" support protocol relative URL?
I need to switch a site from http to https. We gonna add 301 redirect all over the board. I also use rel="canonical" to strip some queries parameter from the index (parameter uses to identify which navigation elements were use.) rel="canonical" can be used with relative or absolute links, but Google recommend using absolute links to minimize potential confusion or difficulties. So here my question, did you see any issue using relative protocol in rel="canonical"? Instead of:
Technical SEO | | EquipeWeb0 -
Rel=Canonical being ignored?
Hi all, We have a toys website that has several categories. It's setup such that each product has a primary category amongst the categories within it can be found. For example... Addendum's primary url is http://www.brightminds.co.uk/childrens-toys/board-games/addendum.htm but it can also be found here http://www.brightminds.co.uk/learning-toys/maths-learning/addendum.htm. Hence, in the for that url it has a rel=canonical that points to the first url. For some reason though seomoz ignores this and reports duplicate page content. It doesn't seem to record the canonical tag either. Any ideas what's going on? Thanks, Josh.
Technical SEO | | joshgeake_gmail.com0 -
Robots.txt and canonical tag
In the SEOmoz post - http://www.seomoz.org/blog/robot-access-indexation-restriction-techniques-avoiding-conflicts, it's being said - If you have a robots.txt disallow in place for a page, the canonical tag will never be seen. Does it so happen that if a page is disallowed by robots.txt, spiders DO NOT read the html code ?
Technical SEO | | seoug_20050 -
Does Bing support cross-domain canonical tags?
We have heard Bing takes canonical tags as hints, but do they support cross-domain canonical tags? I don't think this has ever been discussed? Does anyone have an answer or insight? Thanks!!
Technical SEO | | bonnierSEO0 -
Canonical Tag Pointing To The Same URL
Does it matter if a canonical tag points to the URL in which the tag is on? Example Page: http://www.domain.com Canonical tag: rel="canonical" href="http://www.domain.com" /> I only ask because a client of mine has a CMS that automatically does that to every page on the site and there's no way to remove it. Will this have a negative impact or does it not matter at all? Any insights would be great because I can't find a clear answer anywhere online. Thanks!
Technical SEO | | MichaelWeisbaum0 -
Rel="canonical" for PFDs?
Hello there, We have a lot of PDFs that seem to end up on other websites. I was wondering if there was a way to make sure that our website gets the credit/authority as the original creator. Besides linking directly from the PDF copy to our pages, is anyone aware of strategy for letting Google know that we are the original publishers? I know search engines can index HTML versions of PDFs, so is there anyway to get them to index a rel="canonical" tag as well? Thoughts/Ideas?
Technical SEO | | Tektronix0