Redirecting Login page
This topic contains 16 replies, has 5 voices, and was last updated by xaper 6 years, 6 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
April 10, 2019 at 1:47 pm #479811
Hi!
I’m trying to redirect the login page.
I’ve created a snippet with this code:“add_filter(‘geodir_login_url’,’change_geodir_login_url’,10,3);
function change_geodir_login_url($login_url,$args,$gd_page_id){
//change the url to whatever you want.
$login_url = ‘http://quientieneque.es/wp-login’;
return $login_url;
}”But it doesn’t work.
Am i doing anything wrong?
Many thanks,
Xavi
April 10, 2019 at 1:49 pm #479812I have tried with this code but the result is the same:
“add_action(‘init’ , ‘geodir_redirect_to_default_login’) ;
function geodir_redirect_to_default_login()
{
if(isset( $_REQUEST[‘geodir_signup’]))
{
wp_redirect(home_url().’/http://quientieneque.es/wp-login’);
exit();
}
}”Please, help me! 😉
April 10, 2019 at 3:15 pm #479828Hi Xaper,
Thanks for your post. This can now be done using userswp.io plugin https://wpgeodirectory.com/docs-v2/integrations/userswp/#features .
Thanks!
April 10, 2019 at 3:20 pm #479831Hi
Thanks for your answer.
I’m working with V1. When i update to V2 everything goes out of place, modules disappear… and i have no time, at this moment, to rebuild the whole web. I’ll do it later, but i need to publish the current web as soon as posible.
Is there any thing i can do in V1?
Thanks,
xavi
April 10, 2019 at 4:23 pm #479850More info:
i’ve made a html redirection:“<html>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″>
<meta http-equiv=”refresh” content=”0;URL=http://quientieneque.es/wp-login/”>
</head>
<body>
</body>
</html>”But, when i make a search, appears the wp-login page instead the listing.
Is it correct?
Thanks again,
Xavi
April 10, 2019 at 5:33 pm #479867This is docs for V1 about redirecting login: https://wpgeodirectory.com/docs/redirecting-the-login-page/#login
The only way to see why it’s not working on your site would be to check your website backend.
However for that, you need to subscribe, support for websites with add-ons installed is provided exclusively to active members.
Thanks
April 10, 2019 at 6:23 pm #479895Hi
I’m already suscribed. How can i get the support?
I’m really in a hurry.
Many thanks,
Xavi
April 10, 2019 at 6:29 pm #479897Hi Xavi,
Thanks for subscribing. Could you share your Website WP admin access here in private reply so that we could check what you’ve on your end?
Thanks!
April 10, 2019 at 6:33 pm #479900This reply has been marked as private.April 10, 2019 at 6:37 pm #479902I cannot login with those credentials. Please validate and repost
Thanks
April 10, 2019 at 6:47 pm #479903This reply has been marked as private.April 10, 2019 at 9:10 pm #479949Hello,
please downgrade your copy of Supreme to V1.
You can download it from our shop (free).April 11, 2019 at 5:57 am #480015Done!
Still not working…
Thanks
April 11, 2019 at 7:05 am #480021Hello Xaper,
From which page you want to redirect to /wp-login/ page. I checked in login popup from menu and links ahs already /wp-login/.
Let us know.
Kiran
April 11, 2019 at 7:25 am #480023Hi
I just need the site is protected by a password, so only registered users can visit the web.
When i make the login page as home page, i can still see the menu at the top, amb any user can jump the registration.
Maybe i’m complicating the solution.
Thanks,
xavi
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket