Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
462 views
in Q2A Core by
Google caches

https://***.com/8/why-is-***-galaxy

and

https://***.com/8/why-is-***-galaxy?show=9

i do not want to be cached of second url by google. How can I fix this? (redirect or meta->no-cache)

1 Answer

0 votes
by
selected by
 
Best answer

how can I remove ?show=9 query string?

by
devrimci kardeş , you can use robot.txt for them
by
User-agent: *
Disallow: /login
Disallow: /index.php?qa-rewrite=
Disallow: /ask
Disallow: /forgot
Disallow: /register
Disallow: /questions?sort
Disallow: /chat
Disallow: /admin
Disallow: /activity/*
Disallow: /search?q=
Disallow: /cdn-cgi/
# allow google image bot to search all images
User-agent: Googlebot-Image


Allow: /*


Sitemap: http://www.yoursite.com/sitemap.xml

Add this to your robot.txt and put in your main folder which your q2a is installed.
Also you can add  other things that you dont want to indexed by search engine.
Example can help you to improve your robot.txt ;
https://physics.stackexchange.com/robots.txt
by
thank  you.......
...