GeoDirectory SupportSign Up Page Redirect not working – GeoDirectory Support https://wpgeodirectory.com/support/topic/sign-up-page-redirect-not-working/feed Thu, 15 Jan 2026 03:39:17 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/sign-up-page-redirect-not-working/#post-15805 <![CDATA[Sign Up Page Redirect not working]]> https://wpgeodirectory.com/support/topic/sign-up-page-redirect-not-working/#post-15805 Thu, 18 Sep 2014 16:32:00 +0000 thebirdiemachine I have added the code in the instructions to redirect the login page, but it is not working. Maybe I did it wrong (I assume I did it wrong!). Attached is a screenshot of my functions.php file.

I installed BuddyPress and the register page (and activate page etc) renders the home page which is exactly what was happening with the GD sign up page.

The error_reporting was to fix and error message (that worked and still works fine)

Could someone tell me what I need to do this to correct it?

Thanks
Stacey

]]>
https://wpgeodirectory.com/support/topic/sign-up-page-redirect-not-working/#post-15812 <![CDATA[Reply To: Sign Up Page Redirect not working]]> https://wpgeodirectory.com/support/topic/sign-up-page-redirect-not-working/#post-15812 Thu, 18 Sep 2014 16:45:58 +0000 Paolo Hi,

What I see in that image looks right, but I’d need a link to your website and wp admin credentials to tell you for sure why it is not working.

Let us know,

Thx

]]>
https://wpgeodirectory.com/support/topic/sign-up-page-redirect-not-working/#post-15814 <![CDATA[Reply To: Sign Up Page Redirect not working]]> https://wpgeodirectory.com/support/topic/sign-up-page-redirect-not-working/#post-15814 Thu, 18 Sep 2014 17:04:38 +0000 thebirdiemachine https://wpgeodirectory.com/support/topic/sign-up-page-redirect-not-working/#post-15822 <![CDATA[Reply To: Sign Up Page Redirect not working]]> https://wpgeodirectory.com/support/topic/sign-up-page-redirect-not-working/#post-15822 Thu, 18 Sep 2014 18:05:56 +0000 thebirdiemachine https://wpgeodirectory.com/support/topic/sign-up-page-redirect-not-working/#post-15825 <![CDATA[Reply To: Sign Up Page Redirect not working]]> https://wpgeodirectory.com/support/topic/sign-up-page-redirect-not-working/#post-15825 Thu, 18 Sep 2014 18:39:23 +0000 thebirdiemachine https://wpgeodirectory.com/support/topic/sign-up-page-redirect-not-working/#post-15826 <![CDATA[Reply To: Sign Up Page Redirect not working]]> https://wpgeodirectory.com/support/topic/sign-up-page-redirect-not-working/#post-15826 Thu, 18 Sep 2014 19:09:42 +0000 Paolo Hi Stacey,

none of the 2 credentials sent seem to work?

Let us know,

]]>
https://wpgeodirectory.com/support/topic/sign-up-page-redirect-not-working/#post-15827 <![CDATA[Reply To: Sign Up Page Redirect not working]]> https://wpgeodirectory.com/support/topic/sign-up-page-redirect-not-working/#post-15827 Thu, 18 Sep 2014 19:18:07 +0000 thebirdiemachine https://wpgeodirectory.com/support/topic/sign-up-page-redirect-not-working/#post-15828 <![CDATA[Reply To: Sign Up Page Redirect not working]]> https://wpgeodirectory.com/support/topic/sign-up-page-redirect-not-working/#post-15828 Thu, 18 Sep 2014 19:25:03 +0000 Paolo to test this, we need to remove the Cooming soon page. Otherwise it’s impossible to visit the signup page.

How did you tested it?

Let me know,

]]>
https://wpgeodirectory.com/support/topic/sign-up-page-redirect-not-working/#post-15829 <![CDATA[Reply To: Sign Up Page Redirect not working]]> https://wpgeodirectory.com/support/topic/sign-up-page-redirect-not-working/#post-15829 Thu, 18 Sep 2014 19:28:39 +0000 thebirdiemachine I didn’t test per se. I tried to view the registration page and got the home page just like with GD sign up page.

You can deactivate (or remove the coming soon page) if that is what is required.

]]>
https://wpgeodirectory.com/support/topic/sign-up-page-redirect-not-working/#post-15831 <![CDATA[Reply To: Sign Up Page Redirect not working]]> https://wpgeodirectory.com/support/topic/sign-up-page-redirect-not-working/#post-15831 Thu, 18 Sep 2014 20:15:43 +0000 Paolo Hi,

It’s working correctly now.

The problem was in the function. Wrong formatting was copyied from our doc site.


add_action(‘init’ , ‘geodir_redirect_to_default_login’) ;
function geodir_redirect_to_default_login()
{
   if(isset( $_REQUEST['geodir_signup']))
   {
  wp_redirect(home_url().’/wp-login.php’);
  exit();
   }
}

should be:



add_action('init' , 'geodir_redirect_to_default_login') ;
function geodir_redirect_to_default_login()
{
   if(isset( $_REQUEST['geodir_signup']))
   {
  wp_redirect(home_url().'/wp-login.php');
  exit();
   }
}

Most of the apostrophes had wrong formatting.

I’ll see if this can be fixed in our site or if it is the wordpress text editor adding them.

Thx

]]>