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.

Question about .htaccess file

Discussion in 'WordPress' started by jahangir, Dec 24, 2010.

  1. #1
    I have installed security scan plugin and it says

    The file .htaccess does not exist in wp-admin/.
    SEMrush
    I don't know what is written in .htaccess file. Can anyone suggest me what to write and save file as .htaccess so that I can upload it on the required path.

    Thanks
     
    jahangir, Dec 24, 2010 IP
    SEMrush
  2. Toneek Muz

    Toneek Muz Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    U can only create empty .htaccess file, and it must work.
     
    Toneek Muz, Dec 24, 2010 IP
  3. jahangir

    jahangir Peon

    Messages:
    633
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Done. It worked :)
     
    jahangir, Dec 24, 2010 IP
  4. robaid

    robaid Member

    Messages:
    126
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    35
    #4
    You define the rules applied to specific directories (if not defined the server checks its parent directory).

    You can create whitelists or blacklists for image leeching, tweak security... There are many resources about .htaccess on the net.
     
    robaid, Dec 24, 2010 IP