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.

Will editing the .htaccess file in cpanel effect all my wordpress domains and subdomains?

Discussion in 'Apache' started by Domoner, Mar 26, 2014.

  1. #1
    I added the following to my cpanel .htaccess file on my hosting account:

    <FilesMatch "\.pdf$">header set x-robots-tag: noindex
    </FilesMatch>

    This was to stop Google from crawling and indexing my PDFs, will this work accross all my addon domains and subdomains (which are wordpress) on my hosting account or do I need to take extra measure?

    Thanks.
     
    Domoner, Mar 26, 2014 IP
  2. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,223
    Likes Received:
    322
    Best Answers:
    18
    Trophy Points:
    245
    #2
    You would probably need to do that in every root folder for X site.

    Nigel
     
    Nigel Lew, Mar 26, 2014 IP
    ryan_uk likes this.
  3. Domoner

    Domoner Greenhorn

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    8
    #3
    You're not serious? How do I even do that, using Filezilla??
    Thanks.
     
    Domoner, Mar 26, 2014 IP
  4. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,223
    Likes Received:
    322
    Best Answers:
    18
    Trophy Points:
    245
    #4
    Its not exactly complicated.
    And yes, i use filezilla.

    If you find that to be a tenuous situation then you have gone about things wrong in the first place.

    Nigel
     
    Nigel Lew, Mar 26, 2014 IP
  5. Domoner

    Domoner Greenhorn

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    8
    #5
    In Cpanel - File Manager, I can choose any of the addons and sub domains - however should I be editing the .htaccess in the Document Root or Web Root if anyone knows.
     
    Domoner, Mar 27, 2014 IP