Rel=Canonical Header Location
-
Hello,
I've been trying to get our rel=canonical issues sorted out. A fellow named Ayaz very kindly pointed out that I'm trying to put the code into the wysisyg editor, but this might not be the best place to put the code.
We are using Drupal 6. Where do I insert the code?
head>
<link rel="canonical" href="http://www.example.com/blog/my-awesome-blog-post">
Thanks!
-
Hi Mike,
That's really helpful. Right now we are using "Metatags" so I'll see if we can import that module. I'll have to see if they conflict or not, but you might have solved the problem. Your suggestion is really appreciated - thanks!
-
Are you using Nodewords? http://drupal.org/project/nodewords
The canonical tag should appear just below the regular node where you add meta description etc. This will put it in as it is supposed to be. You can also integrate it with tokens so that it grabs the absolute URL.
-
Hi Moosa and Vikas,
Thanks so much for the replies. When I go to the blog page there are several fields that can be filled out. It's a basic Drupal content page. I'm not sure which area to put the header information in? It sounds like it doesn't go in the cms editor, but the other areas don't say HEADER or anything obvious like that.
Any thoughts?
Thanks!
-
yeah I agree with Moosa, rel canonical goes in header.
for more info checkout this info on rel canonical by Google support
-
As far as my knowledge goes, in any and every CMS system and language Rel canonical is best to put under the head tag so i guess you are going fine!
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 -
As a beginner in SEO, how do I do 302 redirects/ rel="canonicals"
One of the things Inseem to leave undone is failure to do 302 redirects or rel="canonicals" on my site www.johannesburg.today. Please help .
Technical SEO | | Gain40 -
Moving image directory location on redesign.
I'm getting ready to do a redesign for a client and one thing that annoys me about the directory structure of the website is that he has files buried deep in the directories. For example, the images are buried like four folders deep in some cases and I would like to move all of those images into an images folder directly below the root. All of those images, however, have already been indexed by google and show up in google images. If I start moving those images around, could it hurt his rankings?
Technical SEO | | ScottMcPherson0 -
Rel canonical question
Hi, I have an e-commerce site hosted on Volusion currently the rel canonical link for the homepage points to www.store.com/default.asp. I spoke with the Volusion support people and they told me that whether the canonical link points to store.com/default.asp or store.com does not really matter as long as there is a canonical version. I thought this sounded odd, so looked at other websites hosted on volusion and some sites canonicalize to default.asp and others .com. (volusion.com canonicalizes to .com fwiw). The question is...I have a majority of my external links going to www.store.com , and since that page has default.asp as it canonical version, am I losing link juice from those incoming links? If so, should I change the canonical link? If I do what are the potential issues/penalties? Hopefully this question makes sense and thanks in advance.
Technical SEO | | IOSC0 -
Incorrect rel canonical , impacts ?
Incorrect use of canonical code.. and why have they used the strange code surrounding it. Hi there seo guys, I need some help.. a site I am working on has used the rel canonical tag incorrectly. they have used the code on the cannon page not on the duplicate pages.. there is also some other strange code with it. I will show and hide the url.. However I wanted to know if this would stop google bots crawling this page correctly as they dont seem to rank very well either.. here is the code:
Technical SEO | | ibusmedia0 -
Which is best of narrow by search URLs? Canonical or NOINDEX
I have set canonical to all narrow by search URLs. I think, it's not working well. You can get more idea by following URLs. http://www.vistastores.com/table-lamps?material_search=1328 http://www.vistastores.com/table-lamps?finish_search=146 These kind of page have canonical tag which is pointing to following one. http://www.vistastores.com/table-lamps Because, it's actual page which I want to out rank. But, all narrow by search URLs have very different products compare to base URLs. So, How can we say it duplicate one? Which is best solution for it. Canonical or NOINDEX it by Robots?
Technical SEO | | CommercePundit0 -
Effect of rel canonical on links
Has anyone done any experimentation on how Google treats links that are on a page that is being "rel canonical'd" to another page? For eg, example.com/b has a canonical pointing to example.com/a How does Google treat the internal links that are on page example.com/b?
Technical SEO | | Burgo0 -
Server located in Canada but site is for local business in Pennsylvania
My friend's website is for a local business in Philadelphia, Pennsylvania but the MOZbar shows that his server is located in Canada. Will this be detrimental to his SERP rankings? The site was just launched a week ago. I saw various opinions in other forums and I could not find similar questions in this forum. Thanks in advance. -Dan
Technical SEO | | superTallDan0