RawDev.net - Just another Zabreznik.si Sites site
Home - Mail - About

WordPress Redirect Registration Page

Saturday, February 20th, 2010 by

In one particural case, you don’t want to disable WP registration but just redirect the page so some other script takes care of it. That happened to me while working on a WordPress and bbPress website. The solution is quite simple:

add_action(‘login_form_register’, ‘redirectregister’);
function redirectregister(){wp_redirect(get_option(‘siteurl’) . ‘/bb/register.php’);}

add this where wordpress will find it, in your functions file or just any plugin.

This entry was posted on Saturday, February 20th, 2010 at 3:06 pm under Hacking, Uncategorized, Wordpress.
You can follow any responses to this entry through the RSS 2.0 feed. One Response.
You can leave a response, or trackback from your own site.
SVNX version 0.1 Released | XM Tek LLC
September 23rd, 2010 at 3:23 pm

[...] WordPress Redirect Registration Page (rawdev.net) [...]


« »