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
-
My wordpress website is facing indexing problems
Hello, I am facing indexing issues on one of my which is about budget bushcraft knife, Four months have been passed I built my site and published almost 8 articles so far. But i am worried no single keyword ranked on google till yet as I checked through MOZ site explorer. Can anyone guide me on what should I need to do now? Thanks
Technical SEO | | Ewerurt0 -
Should I use canonical tag in these cases?
Should I use canonical tag in these cases? On the page itself (with the tag pointing to itself) On pages that doesn't have duplicate versions
Technical SEO | | GoMentor0 -
Robots and Canonicals on Moz
We noticed that Moz does not use a robots "index" or "follow" tags on the entire site, is this best practice? Also, for pagination we noticed that the rel = next/prev is not on the actual "button" rather in the header Is this best practice? Does it make a difference if it's added to the header rather than the actual next/previous buttons within the body?
Technical SEO | | PMPLawMarketing0 -
Rel-canonical and meta data
Hey Mozzers, Help please. I am migrating content for a new website (1000's of pages) and am using the canonical tag on a number of pages. For the pages which I am asking Google not to recognise / index as the master version, and in the interests of time do I need to take the time to fill in the meta <title><description> etc each time?</p> <p>Ben</p></title>
Technical SEO | | Bendall0 -
Correct Implementation Of Canonical Tags
Hopefully this is an easy one to answer. When canonical tags are added to web pages should there be a canonical tag on a page that canonicalizes(?) (new word!?) back to itself. i.e. four page all point back to page Z. On page Z there is a canonical tag that points to page Z? My feeling without any technical know how is that this is just creating an infinite loop i.e. go to this page for original content, (repeat) Or this could be completely correct! Don't want to go back to the developer and point out the error if I'm wrong!
Technical SEO | | ZaddleMarketing0 -
Canonical Issues with Wordpress
Hi all, I have just started using Wordpress SEO by Yoast and still having a hard time correcting my Canonical issues for all posts with a .html at the end. The pluggin allows you to add a '/' to the end for canonical issues, but just for pages, not posts. How best in Wordpress to make my post change from .html/ to .html. I really don't want to go to the hassle to make each URL a new 301 redirect in my .htaccess. I hate the .html, but if they are going to stay, how can I make sure I get the .html/ link juice back to them. Many thanks!
Technical SEO | | RunningInTheRain0 -
Title Tag Wordpress
I need to know how can I personalize the title tag individually in my categories?
Technical SEO | | nafera20 -
URL query strings and canonical tag
Hi, I have recently been getting my comparison website redesigned and developed onto wordpress and the site is now 90% complete. Part of the redesign has meant that there are now dynamic urls in the format: http://www.mywebsite.com/10-pounds-productss/?display=cost&value=10 I have other pages similar to this but with different content for the different price ranges and these are linked to from the menus: http://www.mywebsite.com/20-pounds-products/?display=cost&value=20 Now my questions are: 1. I am using Joost's All-in-one SEO plugin and this adds a canonical tag to the page that is pointing to http://www.mywebsite.com/10-pounds-products/ which is the permalink. Is this OK as it is or should i change this to http://www.mywebsite.com/10-pounds-products/?display=cost&value=10 2. Which URL will get indexed, what gets shown as the display URL in the SERPs and what page will users land on? I'm a bit confused so apologies if these seem like silly questions. Thanks
Technical SEO | | bizarro10000