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
-
Thanks for your response Tom.
Essentially there is only one query string variation that is live and linked to for the 10 pounds url.
/10-pounds-products/ => /10-pounds-productss/?display=cost&value=10
The text content is identical on both URLs however the query results are obviously different.
I don't think there is a way to remove the canonical tag aside from removing the plugin so I may have to go with changing it to the query string.
Ideally I would like for users to see the non-query version in the SERPs and the click through to the the query version of the page. Not sure that's possible now though I will speak to the developer to see if this issue is avoidable.
Thanks again
Rosh
-
If each URL with a different query string displays different information then they are effectively different pages, regardless of whether they're based on the same page framework or not (in this case /10-pounds-products/) - you only need to use a blanket canonical tag like the one' Joost's plugin gives if you want all these pages to be considered the same thing.
If you would like these pages to appear in the SERPs then you should absolutely NOT have a canonical tag telling Google all query string versions of /10-pounds-products/ are the same - not least because it's not true.
In answer to your questions -
1. If you can change it to make whatever query string version you're viewing the canonical URL then do so otherwise I would remove it completely.
2.if you keep the canonical tag then only /10-pounds-products/ will be listed in the SERPs
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
-
Canonical Tags Before HTTPS MIgration
Hi Guys I previously asked a question that was helpfully answered on this forum, but I have just one last question to ask. I'm migrating a site tomorrow from http to https. My one question is that it was mentioned that I may need to "add canonical tags to the http pages, pointing to their https equivalent prior to putting the server level redirect in place. This is to ensure that you won't be causing yourself issues if the redirect fails for any reason." This is an e-commerce site with a number of links, is there a quick way of doing this? Many Thanks
Technical SEO | | ruislip180 -
I am trying to generate GEO meta tag for my website where on one page there are multiple locations My question is, Can I add GEO tagging for every address?
Am I restricted to 1 geo tag per page or can i add multiple geo tags ?
Technical SEO | | lina_digital0 -
Hreflang tag implementation
Hi Mozzers, For an international client, we want to install hreflang tags for 3 different languages for their website in Belgium: dutch, french and english. The dutch version (nl-be) and the french version (fr-be) can perfectly be installed, but our developer has troubles implementing the english version (en-be). According to ISO 639-1 , "en-be" is apparently not supported. Unfortunately, we can't generalize the hreflang tags (), because our client has different websites in each country, so we need to specifically target Belgium here. Does anyone have a solution? Thanks,
Technical SEO | | WeAreDigital_BE
Jens0 -
Does Canonical Tag Syntax Matter?
Does anyone know definitively if the format of the canonical tag matters? Silly question I know. vs
Technical SEO | | Healio0 -
Canonical tag in the Michael Torbert SEO plugin
I am confused about a canonical tag that appears in the header section of a site that uses the WordPress All in One SEO plugin by Michael Torbert. That is a very popular one. It says, I thought that telling Google that a page is canonical means "Don't index this one, it is not the primary page." But in fact, this is the primary page because when you go to www.xquisitevents.com it redirects to xquisitevents.com. Is this done properly or not? Ditto for all the other pages, i.e. xquisitevents.com/about-us has a canonical tag in the wordpress plugin, etc. Which is the real primary page? And does the primary page correctly have the canonical tag in the plugin?
Technical SEO | | BridgetGibbons0 -
Wordpress: Tags generate duplicate Content - just delete the tags!?
Asking people, they say tags are bad and spamy and as I can see they generate all my duplicate page content issues. So the big question is, why Google very often prefers to show in SERPS these Tag-URLS... so it can't be too bad! :)))? Then after some research I found the "Term Optimizer" on Yoast.com ... that should help exactly with this problem but it seems not to be available anymore? So may be there another plugin that can help... or just delete all tags from my blog? and install permanent redirects?
Technical SEO | | inlinear
Is this the solution?0 -
Rel canonical confusion
I have 172 pages on my site coming up as having a rel canoncial tag This is not something I've added myself so I think it must either be part of wordpress or part of a plug in I'm using . ALL in One SEO? They have come up as blue warning so not sure if it's a big deal, or what i need to do to fix it. www.katetooncopywriter.com.au Thanks Kate
Technical SEO | | ToonyWoony0 -
Trailing Slashes In Url use Canonical Url or 301 Redirect?
I was thinking of using 301 redirects for trailing slahes to no trailing slashes for my urls. EG: www.url.com/page1/ 301 redirect to www.url.com/page1 Already got a redirect for non-www to www already. Just wondering in my case would it be best to continue using htacces for the trailing slash redirect or just go with Canonical URLs?
Technical SEO | | upick-1623910