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
-
Questions about canonicals
Howdy Moz community, I had a question regarding canonicals. I help a business with their SEO, and they are a service company. They have one physical location, but they serve multiple cities in the state. My question is in regards to canonicals and unique content. I hear that a page with slightly differing content for each page won't matter as much, if most of the content is relevantly the same. This business wants to create service pages for at least 10 other cities they service. The site currently only have pages that are targeting one city location. I was wondering if it was beneficial to use a template to service each city and then put a canonical there to say that it is an identical page to the main city page? Example: our first city was san francisco, we want to create city pages for santa rosa, novato, san jose and etc. If the content for the 2nd, 3rd, 4th, city were the same content as the 1st city, but just had the slight change with the city name would that hurt? Would putting a canonical help this issue, if i alert that it is the same as the 1st page? The reason I want to do this, is because I have been getting concerns from my copywriter that after the 5th city, they can't seem to make the services pages that much different from the first 4 cities, in terms of wording of the content and its structure. I want to know is there a simpler way to target multiple cities for local SEO reasons like geo targeted terms without having to think of a completely new way to write out the same thing for each city service page, as this is very time consuming on my end. Main questions? Will making template service pages, changing the city name to target different geographic locations and putting a canonical tag for the new pages created, and referring back to the main city page going to be effective in terms of me wanting to rank for multiple cities. Will doing this tell google my content is thin or be considered a duplicate? Will this hurt my rankings? Thanks!
Technical SEO | | Ideas-Money-Art0 -
Wordpress versus html and google ranking
My current SEO has always recommended that I take my site to wordpress. I really don't want to move to wordpress. I don't like it... I just like writing code in raw html, css, and script. I feel like I have more control that way. Wordpress just seems like a platform for blogs (I have my blog in wordpress). My question is, do wordpress websites typically rank better? Is there benefit to moving to it?
Technical SEO | | CalicoKitty20000 -
Canonicals being ignored
Hi, I've got a site that I'm working with that has 2 ways of viewing the same page - a property details page. Basically one version if the long version: /property/Edinburgh/Southside-Newington/6CN99V and the other just the short version with the code only on the end: /6cn99v There is a canonical in place from the short version to the long version, and the sitemap.xml only lists the long version HOWEVER - Google is indexing the short version in the majority of cases (not all but the majority). http://www.website.com/property/Edinburgh/Southside-Newington/6CN99V"> Obviously "www.website.com" contains the URL of the site itself. Any thoughts?
Technical SEO | | squarecat.ben0 -
Need help with rel canonical!
I have a client who's MOZ crawl is coming back with 62 "notices" about rel canonical. Is this bad? On the report, it lists the url, then "Tag Value" as the home page.....what does this mean exactly? Are they pointing all the pages to the home page? I think I have 301 and rel can confused....
Technical SEO | | cschwartzel0 -
Wordpress Blog Blocked by Metarobots
Upon receiving my first crawl report from new pro SEOMoz acc (yaay!) I've found that the wordpress blog plugged into my site hasn't been getting crawled due to being blocked by metarobots. I'm not a developer and have very little tech expertise, but a search dug up that the issue stemmed from the wordpress site settings > privacy > Ask search engines not to index this site option being selected. On checking the blog "Allow search engines to index this site" was selected so I'm unsure what else to check. My level of expertise means I'm not confident going into the back end of the site and I don't have a tech guy on site to speak to. Has anyone else had this problem? Is it common and will I need to consult a developer to get this fixed? Many thanks in advance for your help!
Technical SEO | | paj19790 -
403 forbidden, are these a problem?
Hi I have just run a crawl test on screaming frog and it is showing quite a few 403 forbidden status codes. We are showing none of these in webmaster tools, is this an issue?
Technical SEO | | jtay1230 -
What is a fast Wordpress Host?
I have 8 or so sites hosted with Dreamhost and my main web site (http://www.nwrafting.com) is a Wordpress site hosted there as well. I'd like to move it to another hosts so that it isn't seen as related to my other sites that link to it. My other sites are good informational sites (example: http://www.caliriver.com) and are not doorway pages, but they do provide good links to my main business. This is a good idea to move my main sight, right? If so, can someone recommend a good host for me to put my one Wordpress site on? I'm looking for something that will load my pages fast. Please don't send me an affiliate link - I want to choose the best host not the one that pays the biggest commission. Thanks!
Technical SEO | | nwrafting0 -
Wordpress 301 redirects
I use wordpress as CMS on a few sites and I noticed that word press automattically places 301s if I change a url etc. I believe it does it by having the following in the .htaccess file: BEGIN WordPress<ifmodule mod_rewrite.c="">RewriteEngine OnRewriteBase /RewriteRule ^index.php$ - [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]</ifmodule> END WordPress Should I use this? I feel like it limits my control over the 301s.
Technical SEO | | mmaes0