Rel = Canonical in Blog Posting
-
Hello,
I keep coming back to rel=canonical issues!
I noticed when I "view pagesource" that my drupal blog posting automatically creates
link rel="canonical" href="/sample-blog-title" /< pattern (with the > reversed) in the source code.
I'm getting a lot of Rel=Canonical warnings and double content warnings from Seomoz so I've been trying to insert
link rel="canonical" href="http://www.example.com/blog/my-awesome-blog-post"<
but the page won't retain the code for some reason. I'm entering the code in Plain Text, but saving the document as Full HTML.
Is there a better piece of code I can put in to demonstrate that the original blog page is the original source?
Thanks!
-
Hi Ayaz,
Wow, thanks for the heads up. I've been trying to put the rel=canonical code into the wysisyg editor this whole time.
So where should the code be placed? It's drupal, so should I make a block on the page where the rel=canonical text is supposed to be placed? what's the best way to put the code into the head of the source code?
Thanks?
-
take a look at this, it will help you activate automatic canonical hopefully : http://drupal.org/project/canonical_url
-
Hello again, you are missing the point this code is needed to be added in the head area of your source code, what is your html like
It is not a part of content/text etc.
-
Hi Ayaz,
I'm adding it near the bottom of the text. Does it need to be the first line of text in the blog post?
Thanks!
-
Hello,
are you adding it in the head area of your html right ?
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
-
Google selecting incorrect URL as canonical: 'Duplicate, submitted URL not selected as canonical'
Hi there, A number of our URLs are being de-indexed by Google. When looking into this using Google Search Console the same message is appearing on multiple pages across our sites: 'Duplicate, submitted URL not selected as canonical' 'IndexingIndexing allowed? YesUser-declared canonical - https://www.mrisoftware.com/ie/products/real-estate-financial-software/Google-selected canonical - https://www.mrisoftware.com/uk/products/real-estate-financial-software/'Has anyone else experienced this problem?How can I get Google to select the correct, user-declared canoncial? Thanks.
Technical SEO | | nfrank0 -
Broken canonical link errors
Hello, Several tools I'm using are returning errors due to "broken canonical links". However, I'm not too sure why is that. Eg.
Technical SEO | | GhillC
Page URL: domain.com/page.html?xxxx
Canonical link URL: domain.com/page.html
Returns an error. Any idea why? Am I doing it wrong? Thanks,
G1 -
Canonical Tags Before HTTPS MIgration
Hi Guys I previously asked a question that was helpfully answered on this forum, but I have just one last question to ask. I'm migrating a site tomorrow from http to https. My one question is that it was mentioned that I may need to "add canonical tags to the http pages, pointing to their https equivalent prior to putting the server level redirect in place. This is to ensure that you won't be causing yourself issues if the redirect fails for any reason." This is an e-commerce site with a number of links, is there a quick way of doing this? Many Thanks
Technical SEO | | ruislip180 -
WordPress post indexation speed
Has anyone noticed any increases in the length of time it takes for WP posts to get indexed by Google? I have a website with the following: domain.com - CMS with lots of pages/content blog.domain.com - subdomain for the blog using WP It's odd.. the pages on the main site are indexed almost immediately. The posts on the blog are taking between 2-5 days. The blog posts are all unique content, here's an example of a recent one: blog.looksfishy.co.uk/2013/three-rivers-angling/
Technical SEO | | edwardlewis0 -
What Happens to the Existing YouMoz Blog Post URL If It Is Promoted to the Main SEOmoz Blog?
Howdy SEOmoz Fans, Im wondering what happens to an existing YouMoz blog post if it gets promoted to the main SEOmoz blog? Does SEOmoz do a 301 redirect to the new URL? It seems like the old post disappears, but perhaps I'm not digging deep enough. Anyone have experience with this happening on SEOmoz? I'd like to know so I can figure out how to do something similar to that on one of my own sites (promoting UGC to a main blog). Thanks!
Technical SEO | | OrionGroup
~Scott0 -
Are my canonical re directs working?
Buonjourno from Wetherby UK 🙂 Ive been battlling sometime to get this site http://www.goldsboroughestates.co.uk to rank for term Right To Manage. Amongst other tactics ive set up a canonical http://www.goldsboroughestates.co.uk/about/right-to-manage.aspx * - Canonical version http://www.goldsboroughestates.co.uk/how-we-care-for-you/right-to-manage.aspx http://www.goldsboroughestates.co.uk/what-our-customers-say/right-to-manage.aspx http://www.goldsboroughestates.co.uk/ - But has this canonical redirect feature worked? The reason i doubt it is i notice when i enter a page http://www.goldsboroughestates.co.uk/what-our-customers-say/right-to-manage.aspx which has the below code in place: rell="canonical" href="http://www.goldsboroughestates.co.uk/About/right-to-manage.aspx/" /> It does not jump to http://www.goldsboroughestates.co.uk/about/right-to-manage.aspx So my question is... "is the canonical redirect working or not & waht is the best way / tool for diagnosing a canonical error" Grazie tanto,
Technical SEO | | Nightwing
David0 -
Does Having Links on this blog Hurt or Help?
Hello, I created a wordpress blog a while back, http://plastic-bins.com/ If you go into one of the pages on the blog (for example: http://plastic-bins.com/plastic-shelf-bins/ ) you will notice a link after the text/content telling you where you can purchase the stuff that is talked about on that page. There is one link back to the e-commerce site on every category page on the blog. Does anyone know if these links will help me or hurt me in terms of ranking in the SERPS? Thanks
Technical SEO | | Prime850 -
Rel Canonical problem or SEOmoz bug ?
Hello all, I hope that sombody out there could help me with my question. I am very new in SEO and in SEOmoz community. I am not familiar with coding. I am goining to start learning soon enough but till now I now only basics. At the website where I am trying to optimize for SEO I am reciving this Crawl Diagnostic Programme. Issue: Rel Canonical (Notice) not Error I searched and lerned what it is. So I contact the developers of the website. Build in wordpress and ask them how to corrected ? They told me that they are using Canonical Tags to all their pages and have no idea why SEOmoz keep identifining it as a "notice" They also tel me to check the source code of page to see the canonical tag. I did and their is actuall a canonical tag there. Cjeck please here www.costanavarinogolf.com So do you have any idea why this is happening ? could you help me explaiin to developers what they should do to overcome this ? Or it's just a bug of SEOmoz and not a reall problem exist ? Thank you very much for your time
Technical SEO | | grzontan0