WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

As I'm currently using WordPress only as a registration platform for GlotPress I was wondering if it would be possible to somehow redirect users visiting http://translate.mydomain.tld/account/ to http://translate.mydomain./account/wp-login.php?action=register?

http://translate.mydomain.tld/account/ being my WordPress installation folder (and http://translate.mydomain.tld/ being my GlotPress installation folder)

share|improve this question
up vote 1 down vote accepted

Place this in a plugin or in functions.php

if(is_home()){
    wp_redirect(site_url('/wp-login.php?action=register'));
}
share|improve this answer

protected by Community Feb 14 '14 at 8:25

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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