11

I have Multisite installed. I have whitelabeled it using the Whitelabel-CMS plugin, but I can't customize the URLs of the sign-up and login pages.

Can I change the URL of my multisite's login page? I want to change the URLs of sign-up, login, and registration pages .

Could you help me with the customization of these URLs? Is there such possibility?

Update: I have changed the .htaccess file like this :

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^login$ /wp-login.php [L]
RewriteRule ^signup$ /wp-signup.php [L]
RewriteRule ^register$ /wp-register.php [L]
RewriteRule ^index\.php$ - [L]

# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule . index.php [L]
</IfModule>

I am not sure what to do next .

2
  • you can use the stealth login plugin wordpress.org/extend/plugins/stealth-login Commented Sep 8, 2010 at 17:40
  • 1
    I have tried it three months ago.I have deactivated it as I am getting some errors If I use it.And the plugin has no updates for a while .
    – user391
    Commented Sep 9, 2010 at 5:07

1 Answer 1

7

You can use a htaccess file to rename the login and registration addresses to easier to remember versions:

http://wpguy.com/articles/an-easy-to-remember-login-address/

Using what was in that link we can further extend the simple login address into a simple signup and a simple register address as follows:

RewriteRule ^login$ /wp-login.php [L]
RewriteRule ^signup$ /wp-signup.php [L]
RewriteRule ^register$ /wp-register.php [L]

Remember these need to go directly after the RewriteBase / statement

17
  • I will try this.Is there any chance for errors in the future with any plugins If we replace the URLs?
    – user391
    Commented Sep 6, 2010 at 0:44
  • I added I added the code to .htaccess file .But there is no change. Am I need to create new files with the new names?
    – user391
    Commented Sep 6, 2010 at 2:17
  • no you do not need new files, if you had read the page I linked to you'd see that this isnt all you need to do, you need to place them inside the ifmodule section after RewriteBase /
    – Tom J Nowell
    Commented Sep 7, 2010 at 12:01
  • @user391: Of course, if you add this to your .htaccess file, the link http://www.example.com/login will be equivalent to http://www.example.com/wp-login.php, but WordPress does not know that the nice form exists. So you have to change the links to the login page yourself.
    – Jan Fabry
    Commented Sep 7, 2010 at 12:14
  • I have changed the htaccess file with the code I updated in this question .But not sure how to proceed further .
    – user391
    Commented Sep 9, 2010 at 9:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.