.htaccess

3 posts

  1. How to Hide the WordPress Admin URL (Change the Login URL Instead)

    The 2014 version of this post renamed /wp-admin/ to /admin-panel/ with two lines in wp-config.php, a filter and an .htaccess rule.

    Re-tested

  2. How to Block No-Referrer Login and Comment Requests With .htaccess

    When someone logs in or leaves a comment from a browser, the form on your site sends a POST request to wp-login.php or wp-comments-post.php, and the browser adds a Referer header with the page the…

    Re-tested

  3. How to Restrict Access to Media Uploads With .htaccess (Apache 2.4)

    There are two reasons to restrict what the web server will serve from your uploads folder.

    Re-tested