Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

1 Answer 1

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 at 8:25

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

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.