Maulik patel
Maulik patel

Reputation: 1601

change url of admin panel in WordPress?

i want to create my own custom admin-url in wordpress... how can i do? for open admin panel we write http://yoursite.com/wp-admin or http://yoursite.com/wp-login.php

if i wrote in .htaccess file

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

and i write http://yoursite.com/login in url then it will redirect to the admin login urls.

ok this will works nicely.. and suppose some one write wp-admin or wp-login.php in url then it will directely redirect to the home page of my site.

Upvotes: 4

Views: 4383

Answers (1)

tkit
tkit

Reputation: 8622

you could use stealth login plugin for that if you want a quick solution

Upvotes: 1

Related Questions