Should rel canonical tags include the root domain
-
It does sound like a silly question but bear with me a little...
I recently installed on my Joomla website a module that automatically creates rel canonical tags for pages that contain lists that can be sorted by different criteria: (price, alphabetic order, etc...)
I know that a proper canonical tag should look like this:
However, the module I'm using creates the following structure
Will this work?
I mean, will it be "understood" by the bots?
To see what the module actually does, you can visit the following link
In the source code you will see that the canonical tag is
Which is the original "unsorted" page.
Thanks in advance for your help
-
Thanks Ryan
-
Hi Jorge,
Your site code is perfectly fine and search engines will understand your canonical tag.
If you examine your source code you will find the following line of code near the top of the section:
<base href="http://www.quipeutlefaire.fr/" />
The above code says to prepend any URLs with the base URL indicated.
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=canonical on landing page question
Currently we have two versions of a category page on our site (listed below) Version A: www.example.com/category • lives only in the SERPS but does not live on our site navigation • has links • user experience is not the best Version B: www.example.com/category?view=all • lives in our site navigation • has a rel=canonical to version A • very few links and doesn’t appear in the SERPS • user experience is better than version A Because the user experience of version B is better than version A I want to take out the rel=canonical in version B to version A and instead put a rel=canonical to version B in version A. If I do this will version B show up in the SERPS eventually and replace version A? If so, how long do you think this would take? Will this essentially pass page rank from version A to version B
Technical SEO | | znotes0 -
Can I set a canonical tag to an anchor link?
I have a client who is moving to a one page website design. So, content from the inner pages is being condensed in to sections on the 'home' page. There will be a navigation that anchor links to each relevant section. I am wondering if I should leave the old pages and use rel=canonical to point them to their relevant sections on the new 'home' page rather than 301 them. Thoughts?
Technical SEO | | Vizergy0 -
how to set rel canonical on wordpress.com sites
I know how to do this with a wordpress.org site but I have a client that does not want to switch and without a plugin I am lost. any help would be greatly appreciated. Jeremy Wood
Technical SEO | | SOtBOrlando0 -
Strange problem with basic html anchor tag linking to my domain
I have some old valuable followed links from high ranking domains and I noticed from moz reports they are reporting 404.Visually they looked fne but when I clicked on those they indeed were generating 404. When I researched further they are defined as My domain.com Notice there is extra space between "/" and the closing quote. It turns out it is sending "www.mydomain.com/ " to browsers. Any ideas How to solve this? If I should put a perm redirect in apache, how do I deal with these "%C2%A0" characters. It seems the issue is happening at more than one remote domain.
Technical SEO | | Maayboli0 -
Duplicate content and rel canonicals?
Hi. I have a question relating to 2 sites that I manage with regards to duplicate content. These are 2 separate companies but the content is off a data base from the one(in other words the same). In terms of the rel canonical, how would we do this so that google does not penalise either site but can also have the content to crawl for both or is this just a dream?
Technical SEO | | ProsperoDigital0 -
How similar do pages need to be to utilize the canonical tag
One of my pages is a help and questions page about completing a conversions and the other is the actual campaign landing page. They are both ranking for the same term. While the subject of both pages is similar the content is not. Is the rel canonical tag appropriate here?
Technical SEO | | cbarron0 -
Does all in one seo pack still have a rel canonical issue?
Hi All, I know that the all in one had errors in its rel canonical links on Wordpress but I wondered if this has been fixed. I get mixed info on the web. Anyone know for sure? Thanks!
Technical SEO | | xvpn9020 -
Cross domain canonical, pros, cons, and link popularity?
We have a client who has two well trusted web properties, their insurance site where they sell insurance offerings, and a state specific blog they own where they promote healthy living. They want to improve their traffic/rankings/etc to the main site but they want to keep their blog where its at for PR (it already has a great following). So my quesiton is, if we do set up a secondary blog on the main site and use canonical tags on the more trusted external blog to link to the main site. Will that pass on the link popularity their external blog gets along with all the benefits of the fresh content, etc? I've never actually seen anyone do this yet, keen to try it but not with a client.
Technical SEO | | iAnalyst.com0