Simple WordPress Login

20 Sep

Whether you want to make it easier for your client to remember, or you are tired of typing wp-login, it’s easy to have a simplified login. I found the following tips posted by Chris Coyer

1. To make your login URL just http://yoursite.com/login just add this line in your .htaccess file before the default WordPress rewrite stuff:

RewriteRule ^login$ http://yoursite.com/wp-login.php [NC,L]

2.If you do not have an .htaccess fileĀ  open your text editor and past all of the following code and save in your root folder.

RewriteEngine On

RewriteRule ^login$ http://focus.ergon.com/wp-login.php [NC,L]

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
# old code — RewriteBase /dev/
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# old code — RewriteRule . /dev/index.php [L]
RewriteRule . /index.php [L]
</IfModule>

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

# END WordPress

 
  

No comments yet

Leave a Reply