1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to noindex specific directories with X-Robots Tag?

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

  1. #1
    Hey everyone,
    SEMrush
    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
    SEMrush