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
-
Blog not ranking for my name
Hi everyone. I'm new here so apologies if I'm not asking an appropriate question - just let me know! Can anyone help me figure out why my blog (https://www.jamescrowley.net/) isn't ranking at all for my name? I've run it through the standard Moz audit tools and it hasn't picked up any major issues. It ranks fine for my name plus " CTO", but doesn't appear anywhere in the top 50 without that qualifier. I realise there are many other 'James Crowley's to compete with but weirdly even my GitHub profile page appears to rank higher (https://github.com/jamescrowley) I moved the domain a while back (18 months+) and I used to rank highly, but it never seems to have recovered (all the standard redirects are in place, and told Google at the time about the move). Any suggestions would be very much appreciated!
Technical SEO | | james.crowley0 -
Redirect Process for Moving a Blog
Hi, I've read several articles about the correct process for moving a blog from a subdomain to the main root domain but am not quite 100% sure as to what to do in our scenario. They were hosting their blog on Hubspot which puts the blog on a sub-domain "blog.rootdomain.com". Realizing it isn't benefiting the main website for SEO they want to move it to the main website. I understand we have to redirect the Hubspot "blog." pages to the new "rootdomain.com/blog" pages but when transferred over (it's a WordPress site) it shows the dates. So, the URL is "rootdomain.com/blog/year/month/title". They want to remove the date. Does that mean the URL must be re-written then redirected so that there's no date showing? There's over 300 posts which will have to be redirected from the Hubspot URLs. Is there a way to avoid setting up the second redirect to remove the dates or make it easier so it isn't one page at a time?
Technical SEO | | Flock.Media0 -
Blog posts outranked for Title a String searches in content...why?
Site Pages: When I wrap a page title, or a string of several words in quotes, and GG search, my client's page shows up first. My understanding is that this shows general health of site, and acknowledgement as the original source of the content. Blog Posts: When I wrap a blog page, or post, title or string of words in quotes, and GG search, Feedblitz, Facebook, and other scraper sites appear before the blog home page, and also the actual blog post. The blog is in a separate directory. Does this suggest that the /blog/ is being penalized or demoted in any way? Does it indicate the /blog/ directory does not have authority? Both the static site pages, and the blog pages, are using rel=canonical tags. What causes this, what does it indicate, and how can I fix it? Thanks,
Technical SEO | | seagreen
Greg0 -
Multilingual blogs and site structure
Hi everyone, I have a question about multilingual blogs and site structure. Right now, we have the typical subfolder localization structure. ex: domain.com/page (english site) domain.com/ja/page (japanese site) However, the blog is a slightly more complicated. We'd like to have english posts available in other languages (as many of our users are bilinguals). The current structure suggests we use a typical domain.com/blog or domain.com/ja/blog format, but we have issues if a Japanese (logged in) user wants to view an English page. domain.com/blog/article would redirect them to domain.com/ja/blog/article thus 404-ing the user if the post doesn't exist in the alternate language. One suggestion (that I have seen on sites such as etsy/spotify is to add a /en/ to the blog area: ex domain.com/en/blog domain.com/ja/blog Would this be the correct way to avoid this issue? I know we could technically work around the 404 issue, but I don't want to create duplicate posts in /ja/ that are in English or visa versa. Would it affect the rest of the site if we use a /en/ subfolder just for the blog? Another option is to use: domain.com/blog/en domain.com/blog/ja but I'm not sure if this alternative is better. Any help would be appreciated!
Technical SEO | | Seiyav0 -
Is it better to guest post with or without using rel=author?
If I guest post on 50 blogs, all using rel=author so they are attributed to my Google Plus account, would the links be de-valued since they are self reference back to my own blog/website? Would it be better to guest post on a blog that doesn't use rel=author?
Technical SEO | | designquotes0 -
Why is the ideal rel canonical URL structure?
I currently have the rel canonical point to wepay.com/donations/123456. Is it worth the effort making it point to wepay.com/donations/donation-name-123456? I would also need to track histories if users change the vanity URL with this new structure.
Technical SEO | | wepayinc0 -
Wordpress Canonical Problem
I'm using wordpress for my website but m unable to implement Canonical tag property for pages under the same category, Like for matt's blog: The Tag is same .. for all pages under that category: http://www.mattcutts.com/blog/type/googleseo/ & http://www.mattcutts.com/blog/type/googleseo/page/2/ is it some hack or some plugin ? please suggest! thanks
Technical SEO | | AnkitRawat0 -
What to do with Deleted Posts?
Hi Guys, To give way to the implementation of Google Panda, I have deleted some of my wordpress blog posts with low quality content. Now, I am seeing some errors in my Webmasters Tools. What needs to be done so that these errors will be fixed? Thanks....
Technical SEO | | Trigun0