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 .

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

  • I will try this.Is there any chance for errors in the future with any plugins If we replace the URLs? – user391 Sep 6 '10 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 Sep 6 '10 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 Sep 7 '10 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 Sep 7 '10 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 Sep 9 '10 at 9:12

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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