Jump to content

(SOLVED) Nofollow noindex


andros1983

Recommended Posts

Hello, in my Prestashop how can I put the nofollow and noindex tags ONLY on the pages generated in the faceted search?
These pages contain these symbols that I attached ?q=

Hundreds of thousands of combinations are being generated in the search engines that I do not want to be tracked.

I attach an example.

IMG_6045.png

Edited by andros1983 (see edit history)
Link to comment
Share on other sites

  • andros1983 changed the title to (SOLVED) Nofollow noindex

Hi.

Does anyone know how to add noindex without adding modules?

I tried adding the code to my htaccess but it doesn't work:

 

SetEnvIf Request_URI "(.*)home-1(.*)" is_private=1
<IfModule mod_headers.c>
  Header add X-Robots-Tag "noindex,nofollow" env=is_private
</IfModule>

 

Link to comment
Share on other sites

  • 6 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...