WordPress.org

Ideas

Protect config.php via .htaccess by default

  1. Sabine Schröder
    Member

    12345

    Hello,

    it would be great if the config.php file is protected via .htaccess by default.

    i.e.

    <files wp-config.php>
    Order deny,allow
    deny from all
    </files>

    Best regards

    Posted: 7 years ago #
  2. raashidbhatt
    Member

    but man php file are interrrupted by the php dis is not of any use

    Posted: 7 years ago #
  3. Sabine Schröder
    Member

    12345

    If PHP works right, yes. But if PHP has an error, you can see the sourcecode. Its only 4 lines of code...

    Posted: 7 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    3 Votes
  • Status

    Sorry, not right now