Skip to main content

All Questions

Tagged with
0 votes
0 answers
30 views

WordPress site login Redirect

I try to log in to my WordPress website, It logs in but when I try to click anywhere in the dashboard, it redirects me to Login Page again. What would be the reason, what steps I follow to keep login ...
Adeel Abbas's user avatar
0 votes
0 answers
67 views

Keep the old referrer after failed login

I have the following problem that I couldn't find any solution for. I have a simple custom login page, which I've managed to set up, so it redirects to the referred URL the user came from. The problem ...
uacnix's user avatar
  • 1
0 votes
1 answer
227 views

Problem in auto login after registration

I created a registration form myself and now I need to auto login after registration but I see the following error that belongs to a plugin. I know I should not speak about plugin here But my question ...
user190460's user avatar
1 vote
1 answer
970 views

Redirect Logged In User if page is wp-login.php and $_Get['level'] = X

I have read various post about redirecting a logged in user if the go to /wp-login.php. However, my case is a little different. I want my users to click a link that takes them to "/wp-login.php?...
ermSO's user avatar
  • 331
1 vote
1 answer
861 views

Login redirects and query strings

I have a number of sites that every so often become the subject of multiple IP address brute force attacks. I use the wonderful Limit Login Attempts which rebounds them but the logging is a pain in ...
Chris Pink's user avatar
2 votes
3 answers
2k views

Redirect after login based on user role (custom login page)

I created a custom login page and everything is OK but there is an issue. I want to redirect users to different pages based on their roles after login. My code is below but I do not know why it is not ...
Sh.Dehnavi's user avatar
1 vote
1 answer
36 views

Redirect user to previous page after signup from custom form

I've looked on here and found lots of references to this, but none have worked for me, probably because there must be something in the custom code I am modifying that I don't quite understand. Having ...
Lee Ness's user avatar
0 votes
1 answer
35 views

Wordpress Redirect After logging

The following code below allows to me authenticate user against a custom table I created: function authentication($emailAdd, $password) { include_once('././wp-includes/class-phpass.php');...
Metal Zer0's user avatar
0 votes
1 answer
439 views

redirect_to how to make it simply work with get parameter or similar?

I want, as an exception, do a redirect if a user reaches a point where he needs to be logged in, to the login screen, and as soon as he logs in and certian conditions are fullfilled (a flag set as ...
Toskan's user avatar
  • 524
2 votes
1 answer
500 views

Restricting frontend acess based on user role otherwise redirect to login form

I have created a custom user role in my functions.php file. I am creating a new page template for a page on my website that I would like to restrict by role(not by capabilities). Basically I would ...
user13286's user avatar
  • 255
0 votes
3 answers
2k views

How to redirect home page to another page after login for all user?

How to change home page to another page after login for all user roles, not a specific one?
Jalees Ahmad's user avatar
1 vote
1 answer
219 views

How can I login as admin after redirect to custom login page

I have created a dynamic link button that links to Buddypress user profile. A login user that clicks on this button will be brought to user's profile. However, a guest that clicks on this button will ...
user125426's user avatar
1 vote
1 answer
878 views

wp-login.php — redirect logged in users to custom URL

When the user visits /wp-login.php and is already logged in, how can I redirect them to a custom URL? I found the same question asked and answered, only relating on who to redirect to the admin panel ...
AppleTechy's user avatar
0 votes
2 answers
517 views

redirect_to not Including Hashtag from URL

When non-logged-in users attempt to go to a forum topic that requires a login, I'm trying to redirect them to that topic after they've logged in. But I can't seem to get the anchor/hashtag to remain ...
Sinclair's user avatar
0 votes
4 answers
8k views

Redirect to login page

I am new to wordpress. I am running wordpress setup on http://localhost/wordpress/. I am facing two problems right now: Only the logged in users can access the site. So, I am trying to redirect the ...
Mr_Green's user avatar
  • 159

15 30 50 per page