Forum Moderators: phranque

Message Too Old, No Replies

Query strings -- better to noindex, or canonical?

         

londrum

3:12 pm on Aug 16, 2017 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hello! I'm just wondering how everyone deals with this...

Say I've got a URL that looks something like this:
www.example.com/page.html?a=nothing&b=nothing&c=nothing

I want google to index the main page:
www.example.com/page.html

but i don't want them to index it with all the query strings attached (there are hundreds of different variations).

my problem is that I still get lots of backlinks pointing to the query string pages, and i don't want to lose all that link juice. so i'm a bit worried about slapping a noindex on them. i don't want to point their canonical tag straight to the main page either (minus the query strings), because I'm worried that will lose me the link juice as well -- because the backlinks don't point to that page.

ideally i want all that link juice to be transferred straight to the main page (minus the query strings).

option 1: slap a noindex on all the query string pages, and have the canonical tag write out the URL in full (including all the query strings), and hope that google passes on the link juice to the main page.

option 2: keep index on all the query string pages, but point the canonical tag to the main page (minus the query strings), so the query string pages don't actually get indexed

graeme_p

3:35 pm on Aug 16, 2017 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



If the content is not substantially the same, then a canonical tag is probably a mistake.

So the best option may be "noindex follow".

phranque

9:31 pm on Aug 16, 2017 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



How does the content differ with or without the query string in the URL?

londrum

10:22 pm on Aug 16, 2017 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



It's an event page, and the user can choose to hide/show shows, concerts, exhibitions etc. The main page, without query strings, shows them all.

phranque

10:42 pm on Aug 16, 2017 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



have you considered handling those url parameters with the GSC URL Parameters tool?
https://support.google.com/webmasters/answer/6080550 [support.google.com]