If you mean so that instead of going to http://www.yoursite.com/wp-login.php you can go to http://www.yoursite.com/admin then why not just create a meta refresh at the top of an index.htm file inside a folder called admin in your sites root. That way as soon as the page is loaded i.e. http://www.yoursite.com/admin the index.htm file inside this folder will redirect you to the wp-login.php file.
Instructions:
Create a blank HTML file. In the head section add the following code, remebering to change yoursite.com for your domain.
<meta http-equiv="refresh" content="0;url=http://www.yoursite.com/wp-login.php/"/>
Then save this file inside a folder called admin (if that is where you want to go when you login) and call it index.html.
Now when you visit http://www.yoursite.com/admin you will be automatically redirected to the wordpress login page.
Thread Starter
flamey
(@flamey)
thanks for the reply, but I want the opposite:
when you go to http://www.yoursite.com/wp-admin/ or http://www.yoursite.com/wp-admin.php you get err (404 is fine). but when you got to http://www.yoursite.com/admin/ – you get your regular login page, you can login and administer as normal
any ideas? thnx