How to noindex specific directories with X-Robots Tag?

Discussion in 'Apache' started by Cheebee, Jun 12, 2014.

  1. #1
    Hey everyone,

    My client has a joomla-based website, and his products create duplication issues. Ex:

    pierdeco.com/vanities/product/show/51-wall-mounted-vanity-black-box-black-sink.html
    pierdeco.com/hikashop-menu-for-module-186/product/show/51-wall-mounted-vanity-black-box-black-sink/category_pathway-66.html
    pierdeco.com/aquamobilia/product/show/51-wall-mounted-vanity-black-box-black-sink.html

    (I've altered the links not too look like I'm spamming)

    Basically, we'd like anything in /aquamobilia and /hikashop-menu-for-module-186 to be noindex nofollow, without the pain of doing it for each individual page.

    Is it possible to do it with X-Robots Tag in .htaccess? I'll admit I'm very bad at programming and with Apache.

    Thanks a lot for your help,

    Charles
     
    Cheebee, Jun 12, 2014 IP