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 -
Wordpress log attempt spam?
i have used wordfence on wordpress and I am getting a lot of alerts of "people" registering on my blog but then having over 20 failed login attempts. Gives the IP addresses. Anyone else had this issue and should I just block the ip addresses? How have you guys fixed the issues?
Technical SEO | | kpexpressions0 -
Redirecting Canonical Hostnames
Hi, I want to rewrite all the url pages of "site.com" to "www.site.com". I read the moz redirection article and i concluded that this would be the best approach. RewriteCond %{HTTP_HOST} !^www.seomoz.org [NC]
Technical SEO | | bigrat95
RewriteRule (.*) http://www.seomoz.org/$1 [L,R=301]. But i recieved this error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. I tried this rewrite too... RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [L,R=301] It worked but it just rewriting my domain** "site.com"** and not all the subs "site.com/fr/example.php" to "www.site.com" Why it doesn't work properly, it seem to be easy... Could it be a hosting problem? Is there another way to do it? <address> </address> <address> </address> <address> </address> <address> </address>0 -
Verification problem with Google Local + Listing
Our company has more than 250+ clients, so I need to open around 250 Gmail account for Google Local + (old Google Places), so for around 250 gmail account I need to verify 250 times the mails with phone. I wanted to know, can I open Google Places with a clients domain mail, example: places@client-domain.com instead of client@gmail.com
Technical SEO | | cvissi0 -
Rel = prev next AND canonical?
I have product category pages that correctly have the prev next but the moz crawl is giving me duplicate content errors. I would not think I also need to have canonical - but do I ?
Technical SEO | | JohnBerger0 -
Canonical Question
Our site has thousands of items, however using the old "Widgets" analogy we are unsure on how to implement the canonical tag, and if we need to at all. At the moment our main product pages lists all different "widget" products on one page, however the user can visit other sub pages that filter out the different versions of the product. I.e. glass widgets (20 products)
Technical SEO | | Corpsemerch
glass blue widgets (15 products)
glass red widgets (5 products)
etc.... I.e. plastic widgets (70 products)
plastic blue widgets (50 products)
plastic red widgets (20 products)
etc.... As the sub pages are repeating products from the main widgets page we added the canonical tag on the sub pages to refer to the main widget page. The thinking is that Google wont hit us with a penalty for duplicate content. As such the subpages shouldnt rank very well but the main page should gather any link juice from these subpages? Typically once we added the canonical tag it was coming up to the penguin update, lost a 20%-30% of our traffic and its difficult not to think it was the canonical tag dropping our subpages from the serps. Im tempted to remove the tag and return to how the site used to be repeating products on subpages.. not in a seo way but to help visitors drill down to what they want quickly. Any comments would be welcome..0 -
Removing robots.txt on WordPress site problem
Hi..am a little confused since I ticked the box in WordPress to allow search engines to now crawl my site (previously asked for them not to) but Google webmaster tools is telling me I still have robots.txt blocking them so am unable to submit the sitemap. Checked source code and the robots instruction has gone so a little lost. Any ideas please?
Technical SEO | | Wallander0 -
What is with WordPress Dupe issues?
Hi, Just wondering if anyone can explain for me why it seems every tag that is entered in WP blog posts on a site creates a duplicate page (identified by ROGER and friends in SEOmoz crawl)? Obviously if you can offer a solution (apart from the extremely obvious "don't use tags") I would be immensely grateful. Thanks so much,
Technical SEO | | ShaMenz0