Questions tagged [login]
Refers to the act of gaining access to a WordPress site, as well as the WordPress account itself.
557
questions with no upvoted or accepted answers
5
votes
0
answers
2k
views
How to allow users login to WP from external domain and make REST requests
Basically what i want to do is:
Use Wordpress as a login system and data storage for web-application on another domain.
Make users able to register and perform REST calls from the application.
Let ...
4
votes
1
answer
494
views
Why does is_user_logged_in() return false after redirect from another site?
I am developing a WordPress site that redirects to an external payment gateway after a user registers for the site. After the user makes a payment the user is redirected to a page to complete their ...
4
votes
3
answers
3k
views
custom login page redirect to logged in user profile page
If I click on sign in then it should go to the login page.
The issue is that when I put the link then it goes to redirect_to home page, but I want to go on user profile page instead.
I don't want to ...
4
votes
1
answer
13k
views
I want to disable E-Mail verifcation / activation when a user signs up for my Wordpress site
when a new user registers an activation link is sent to his e-mail account. I want the user to enter his username, email address and password and straight register and be logged in without ...
3
votes
1
answer
870
views
how to update current logged user username
I need to keep in sync the username and the email of my users. I don't know if there is a better way so I have tried running this code right after the user updates his profile data:
global $wpdb;
$...
3
votes
1
answer
2k
views
How to resolve error “Cookies are blocked due to unexpected output.”?
I am facing an error as per below at admin panel login.
"ERROR: Cookies are blocked due to unexpected output."
I've tried several solutions like,
Log checking (No logs are showing in log file)
...
3
votes
1
answer
208
views
WordPress Multisite Login Access
I have a multisite installation and use an .htaccess directive to close access to wp-login.php.
<files wp-login.php>
errordocument 403 http://example.com/restricted/
order deny,allow
deny from ...
3
votes
0
answers
8k
views
Custom Reset Password & Forgot Password Front End Forms
I've successfully been able to redirect the default wp_login.php used for all login/registration/password reset to custom pages with the following filters:
add_filter ( 'login_url', xxfunctionnamexx )...
3
votes
1
answer
774
views
How do I approach removing menu items on the fly based on settings in my plugin?
I've started writing a plugin that allows the administrator to select specific pages and set them to be visible only to logged-in users; the plugin optionally applies the restriction to all child ...
2
votes
0
answers
120
views
Username character requirements
I'm looking for the guidelines on creating a username within the members' section of a WordPress site. I'm using it with a business directory and I often get people reaching out because WP is saying ...
2
votes
0
answers
55
views
What would be the best way to implement Magic Link logins in WordPress?
On the internet I saw several plugins/services offering a kind of a 'magic login' link functionality. This allows users to sign in without a password but with a magic link.
That made me wondering: If ...
2
votes
0
answers
362
views
How to redirect user to specific page based on the input password
I would like to ask if anyone has a ready solution for WP or recommend a plugin for password-based pages, namely:
I create:
a) subpage 1 and a password for it, e.g. 1234
b) subpage 2 and a password ...
2
votes
1
answer
1k
views
How to stay logged in on a multisite with different domains?
I understand that, if I use subdomains on a multisite, then WordPress has the built in function of keeping the users logged in.
The different domains are a must. These sites were set up using the ...
2
votes
0
answers
349
views
Remote REST request to check login status
There are 2 wp installations, A and B.
Is it possible to do a remote rest request from site A to find out if an user is logged into site B? If yes, how?
With this information adjustments would be ...
2
votes
3
answers
654
views
How do I redirect a user when he is logged in after clicking on a menu
I would like to redirect my logged in users automatically to a next page if they press a button on my menu. I would like to make it that if you're not logged in you'll get on a registration page and ...