Support » Everything else WordPress » protecting the admin folder

  • Hi all

    I run Linux here as a server, I know it faily well
    just wondering on protecting the admin folder called

    If I password protect the Directory would this cause any problems to word press ?


Viewing 9 replies - 1 through 9 (of 9 total)
  • no. that’s what I do, and mine works fine.

    Thank you garbonzo



    I protected the folder ok, works ok, but if you click the cancel button, it still throws you to a text only login page.?

    httpd started ok after editing httpd_config file


    The CSS file for your login page is in wp-admin.

    what ? lost me !

    dont quiet get what you mean.


    Oh right, well CSS is the language used on webpages to set things like font colours and borders and background images — basically everything to do with the graphic design of pages. It takes over from stuff like the <font> tag and using tables for layout.

    The great thing about CSS is that you can use one file to reference many pages, so to change the layout and look of a site, you only have to change one file!

    The CSS file that controls the look of all the wordpress admin pages, including the login page, is located in the wp-admin directory, which you’ve just placed behind a password 😉

    Therefore the CSS file isn’t being applied to the login page.

    See if this won’t work for you.
    Put this in your .htaccess above the WP statements – at the top:
    RewriteCond %{REQUEST_URI} ".*wp-admin*"

    what I should have said is why dont I get a 401 message if I press the cancel button, instead I still get a very basic login page ( with out images )

    I would normaly get this message if I press the cancel button.

    Authorization Required
    This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn’t understand how to supply the credentials required.

    RewriteCond %{REQUEST_URI} “.*wp-admin*”
    this takes away the login box


    Any idea to why this is happing ?


Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘protecting the admin folder’ is closed to new replies.