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:
&
is it some hack or some plugin ? please suggest! thanks
-
Hi Ankit
It appears as if you have Yoast SEO installed in your main site, but All In One installed in the blog sub-domain. I do recommend Yoast as best plugin.
The trouble is, there are a few ways to handle the pagination of category pages. I don't think you need to actually do it the way Matt has it on his blog (i've never even seen that before, ironically, with the canonical to first page).
The primary concern is to noindex all pages beyond page #1 of category pages, which you have done with the All In One Plugin.
Ultimately, I like Yoast's complete setup though, which when set correctly in the settings, does this;
Category Page One - http://blog.travelindia365.com/category/travel-news/
-
Canonical - http://blog.travelindia365.com/category/travel-news/
-
robots index (note you're supposed to leave out robots all together if it just says "index" but no harm done if its there)
-
rel next - http://blog.travelindia365.com/category/travel-news/page/2
then...
Category Page Two and Beyond - http://blog.travelindia365.com/category/travel-news/page/2
-
Canonical - http://blog.travelindia365.com/category/travel-news/page/2
-
robots noindex
-
rel prev - http://blog.travelindia365.com/category/travel-news/
-
rel next - http://blog.travelindia365.com/category/travel-news/page/3
That would be the recommended settings to go for, I've never had any issues with them.
-
-
-
- -
-
-
Thanks Chris and Gareth for chiming in too!!
-Dan
-
-
Also note how Matt has added no index, no follow to the paginated pages
-
I'm using Yoast WordPress SEO plugin v1.1.5
-
Hi, you are running All in One SEO Pack 1.6.14.2 by Michael Torbert not Yoast
-
Hi Ankit
If you are trying to optimise your WordPress Blog then I recommend the Yoast Wordpress plugin.
It will certainly help you implement the correct Canonical URL for category/tag pages http://yoast.com/wordpress/seo/#canonical
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
-
Duplicate content. Wordpress and Website
Hi All, Will Google punish me for having duplicate blog posts on my website's blog and wordpress? Thanks
Technical SEO | | Mike.NW0 -
Problems with Wordpress and Yoast SEO Plugin
Hi, I've been working with a Wordpress site and the Wordpress SEO plugin for a few months now and I've managed to get pretty decent results for some of the keywords I was targeting, however since last week I've lost all my rankings sharply and everything dropped out. This had happened once before and the problem was that the plugin was somehow stopped but not this time. I've had a look through all of the MOZ resources and I cannot find what the problem might be. Page optimization hasn't changed and the on page rankings are the same here. Everything seems to be the same except that all my top 10 ranking disappeared. I'm new to all of this and I'm still learning so I'd appreciate if anyone could help me on this. I'm up for trying any ideas you might have but I've tried almost everything I could. I've reinstalled, updated and done everything I could with the plugin, I've checked that Google is indexing the pages and it is. I've monitored for errors on the pages and critical issues, nothing major to report so I don't know anymore what to do. Thank you so much in advance for your help. M3rgAcQ paFNOlb
Technical SEO | | rodcunha0 -
Wordpress BackupBuddy adding ?doing_wp_cron= in URLS
Hi Has anyone found WordPress Backup Buddy causing a problem with SEO. I understand why it does it, but wondered if anyone experienced issues with this? Only sometimes it adds /?doing_wp_cron=****** on to the end of a URL Thanks Tom
Technical SEO | | TomPryor831 -
Wordpress theme installation problem
Hi, I was trying to install different theme from wordpress - appearance - install theme As soon as I did that, I saw error message and can't even access to my wp-admin Can anyone help me with this problem? My site is http://www.inksellsanpedro.com I tried rename old theme - didn't help delete old theme - didn' help either Any help will be greatly appreciated. Thank you
Technical SEO | | BistosAmerica0 -
Am I Doing this Canonical Right?
Hi,I admit to new to the Mod Rewrite.Here is my mod rewrite in my .htaccess# Begin non-www page protection # <ifmodule mod_rewrite.c="">RewriteEngine On
Technical SEO | | Force7
RewriteBase /
RewriteCond %{HTTP_HOST} !^www.domain.com [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]</ifmodule> # End non-www page protection #If I have my home page set toI really want the canonical to be www.domain.com no trailing slashDid I create a confllict, and if so, how should I change it?0 -
Canonical tag, CNAME and 301 redirect
I have a website with a couple of domains pointing to one IP address. Let's say I have two domains www.example.com and www.example.ca I also see during my SEO analysis that the example.com and the www.example.com (same for the example.ca and the www.example.ca) are triggering server responses. How do I deal with this issue for best SEO. Canonical links? CNAME, or 301 redirects? thanks
Technical SEO | | casper4340 -
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