PDA

View Full Version : How to add meta noindex follow to certain pages of the site?


jtt200
06-18-2015, 04:40 AM
I was trying to ask on the .com forum, and through a support ticket, but I was directed to here. I would like to add meta-noindex-follow tags to something like my-domain.com/help, and all of its subdirectories, if they exist.

This would be based on a simple if function in php. If url is this, add this html code. Can you tell me where would I go, in order to add this code? And also, would it work the same way, with subdirectories of /help, if they exist.

In general, login to the server, go to this and this directory, this and this file, and add it there.

Thanks.

cellarius
06-18-2015, 04:58 AM
Why not simply add a robots.txt to your root directory?

jtt200
06-18-2015, 06:02 AM
meta-noindex-follow is better than robots.txt, and is the best seo practice. robots.txt blocks search engines from crawling, so no link equity gets passed. With the meta tag, that I am talking about, 100% of link equity gets passed, but the pages will not appear in search results, and wont be indexed by them.