Support » Fixing WordPress » Secure subdomain wp-admin login best practice

  • Hi,

    Currently I have mapping to an install of wordpress at, and then i am using mod_rewrite to redirect from the subdomain to the wp-admin directory.

    This kind of works ok, but i’d like to do the following…

    1. not allow direct access to /wp-admin/ at all, only allow logins on my subdomain
    2. make an IP whitelist of who can access the subdomain
    3. when clicking “view site” or previews or whatever have them go to and not as it takes you back to the login screen.

    I’ve read a LOT of conflicting information on how possible using a subdomain is, and I’d like to configure this using apache and ubuntu rather than use plugins. If it’s only possibel to do the above through plugins though I’m willing ot give them a go if anyone has any suggestions.

    Thanks in advance for any help, much appreciated if anyone can point me in the right direction.


  • The topic ‘Secure subdomain wp-admin login best practice’ is closed to new replies.