Noindex 4000 urls using x-tag-robots via htaccess

57 Views Asked by At

I need to noindex 4000 URLs. I wanna do it using x-robots-tag via htaccess, but I don't want to overload the htaccess with such infinite list of URLs, so...

The idea would be to create the list in a separate file (noindexurls.txt) and then using a specific htaccess rule to noindex all the 4000 URLs included in that external file.

Is it possibible? What should be the proper htaccess rule in that case?

......pls note that no category, directory or pattern can be used in this case.

0

There are 0 best solutions below