Questions tagged [login]
Refers to the act of gaining access to a WordPress site, as well as the WordPress account itself.
1,569
questions
0
votes
1
answer
10
views
Admin access to secondary site user_can_access_admin_page losing login
This issue is related to an 'alternative' setup using 2 wordpress sites but 1 users table.
The initial setup is summarised below:
2 separate WP instances on same domain aaa.localtest.me + bbb....
0
votes
1
answer
34
views
Editing wp-login.php
I'm looking to alter the message "Please enter your username or email address. You will receive an email message with instructions on how to reset your password" in the wp-login file.
If I ...
0
votes
0
answers
11
views
Flushing or disabling cache on WordPress
I'm running a website on WordPress.com. It's on a subdomain (let's call it wp.domain.com) of my root domain (lets call it domain.com).
The main site on the root domain has a login/logout-routine that ...
0
votes
1
answer
12
views
Replace Header Element on Wordpress Login Page
The default Wordpress Login and Registration pages use the following markup for the page's top-level heading:
<h1><a href="<?php echo esc_url( $login_header_url ); ?>"><?...
0
votes
0
answers
10
views
Is there a plugin or resource for custom implementation for OAUTH and regular user login?
I have two sets of users. Internal users just exist in a black box I can authenticate using OAUTH. I also have public "randos" that will be mostly scammers & spammers that I need to have ...
0
votes
0
answers
29
views
How to create Wordpress login for different users, with different roles?
I need to create a web page. where the user / group of users, after logging in through the portal (using the provided login credentials), will be redirected to the relevant page with their own ...
0
votes
0
answers
26
views
'Problem' with login_redirect filter - why does it lose the redirect_to parameter
This has kept me busy all day and I just want to clarify my understanding as this seems really bizarre behaviour if this is by design.
I am redirecting the login according to roles by using the ...
0
votes
1
answer
44
views
Wordpress change role from administrator to author by itself (automatically)
do anybody know this kind of phenomenon? I do not have any user managing plugins installed in my WP, but after some interaction e.g. editing pages or creating postings (its not matter) WP changes for ...
1
vote
1
answer
17
views
login_enqueue_scripts changes are not reflecting
I tried adding a custom CSS for my wp-login page and login forms within my website using the login_enqueue_scripts hook.
My issue is that my changes don't initially reflect on the front end. But the ...
0
votes
0
answers
10
views
How to modify username before logging in?
I know a solution exists for Wordpress admin from this Stack Exchange question: Change username before login
However, while this works for logging into Wordpress directly, I am trying to use it for ...
0
votes
0
answers
14
views
change Dashboard default page on login
I found almost the same question here - Remove dashboard, use Pages tab as default
and I tried to implement it for my own needs and couldn't get it to work.
I am doing a hotel site and I am making a ...
0
votes
0
answers
17
views
Stop redirect page after wrong password
I use Divi Elegant Themes with Pop ups for Divi and Divi login module.
When user on my online store use wrong password site is refreshed and pop window was closed. Message about “wrong password” is ...
0
votes
0
answers
48
views
Unable to correctly logout after changed wp-login.php
I've followed a guide on internet that suggested how to change the wp-login.php page to something custom by modifing the wp-login.php file itself and by renaming it.
I've copied the wp-login.php ...
0
votes
0
answers
27
views
Wordpress EC2 Security Practices
I started working for a client about 3 months ago. They have wordpress running on EC2 instance and no security/monitoring at all. We have about 8 users and 3 active. Recently 2 users reported some ...
0
votes
1
answer
74
views
wp-login - unable to redirect user to a custom login url
I have this code in a template file that will contain my vue app that I want to load in WordPress.
<?php
/*
* Template name: App
*/
ob_start();
get_header();
if( is_user_logged_in() ) {
?>
...
0
votes
0
answers
29
views
Restricting access to non logged in users
im trying to create a user flow where, when a non-logged-in user tries to access my website, I want them to see an entry page with links to the login and registration pages, but I don't want them to ...
0
votes
0
answers
55
views
Why am I getting the login screen in wp-admin->Appearance->Customize?
I have a fresh install of WP multisite. When I go to wp-admin->Appearance->Customize I keep getting this login screen. It won't help if I enter username and password, it just says "please ...
0
votes
1
answer
18
views
Can't access wordpress mgt dashboard until propogation finished?
So recently i changed the URL on wordpress and got the white blank page error (which i haven't fixed yet despite following the below link). Is it normal that until propagation finishes i won't be able ...
0
votes
0
answers
224
views
Replace the "wp-admin" in the URL with "xyz-admin" in WordPress dashboard
I want to replace the "wp-admin" in my URL with "xyz-admin" all across my dashboard after a user logs in. I know that there are some plugins that could help, but those plugins only ...
0
votes
1
answer
51
views
wp_login_form display no styled form
I've created a custom template for a custom theme, I need to show the vue app that will manage the front end only to logged users. I've used this code inside my functions.php file
and it's supposed ...
0
votes
1
answer
67
views
Why is redirect_to parameter not passed to login form in wp-login.php?
I'm trying to build a simple link to include in an email that would take the user to the WP login form, and from there to the destination post.
This should be as simple as making the link href be ...
0
votes
0
answers
47
views
I'm trying to register with AJAX
I have tried this
add_action( 'wp_ajax_custome_ajax_email_check', 'custome_ajax_email_check' );
add_action('wp_ajax_nopriv_custome_ajax_email_check', 'custome_ajax_email_check');
function ...
0
votes
0
answers
62
views
auth check popup loads dashboard inside iframe on submit (should close!)
I am using a custom login page for my site, which also includes redirections for the custom login page and user management.
however, when the auth check modal appears, it loads the dashboard inside ...
0
votes
0
answers
51
views
WordPress dashboard: The requested URL was not found on this server
I've just watched this video: Create and Host a Wordpress Website on AWS EC2 with your own domain name! - YouTube
I followed every step other then the one adding your own domain (because I don't have ...
0
votes
0
answers
76
views
WordPress Backend - Custom Login Flow
What do I want to achieve :
Login based on the mobile number and OTP each time the user logs in, an OTP will be sent to his number.
The OTP service is linked to an external server, meaning that, I do ...
0
votes
0
answers
25
views
Changing the redirection of a restricted url
I've almost finished setting up a website as a complete laymen and i used a function posted on here that allows hyperlinks to be only visible to logged in users. The function works completly fine, all ...
0
votes
0
answers
11
views
i have problem in my login page css where user name input css not working password input css is working i provide a screenshot please help me
the is about a login page where username/email input box css is not working please review it give me solution for it thank you
0
votes
1
answer
22
views
Redirecting logged in users to custom URL
If I'm going to use this code in my website
function redirect_logged_in_user()
{
if( is_user_logged_in () {
wp_redirect('http://customurl');
}
}
global $pagenow;
if( $pagenow == 'wp-...
0
votes
0
answers
29
views
How to remove without touching the pluggable.php the wordpress_logged_in cookie to show the username on login?
cookie --> wordpress_logged_in --
admin%7C1684489617%7CTdPaXlizvGyWpJNhCrB8pUcX4725Lrte2OIOnKD3XSx%7Cfca768d6ff2014aefad62fc253b715926c8a907c05231182ba2f1c580836c2a4
0
votes
0
answers
54
views
How to redirect non admin user after login
I have a custom user role on the site. I also have a login hook to redirect users to the home page. When an admin/editor logs in this works fine (although ultimately I would like them to redirect to ...
0
votes
0
answers
30
views
Log in a user upon password reset?
During the typical WordPress password reset flow, this is what happens:
Click "Lost your password?" on /wp-login.php
Enter a valid email address to get a link to reset your password.
Enter ...
0
votes
0
answers
49
views
WP behind haproxy weirdness
I have set up WP in containers on some Fedora 37 virtual machines. I have set up an haproxy virtual machine as a front-end.
I set up haproxy and it's definitely doing round-robin between the different ...
0
votes
0
answers
30
views
Wordpress site shows a white page for site/wp_admin. A login returns again to the login screen
The situation for a site that worked for years.
The Site frontend works
The theme I use is TwentySixteen
I tried to open site/wp_admin
Login Screen shows up
I enter the credentials
Login Screen Shows ...
0
votes
1
answer
80
views
wp_login_url always redirects me to wp-admin
I have a specific site on my website which needs to be logged in.
So if I visit the page and I am not logged in, I want to redirected to wp-loginand back to the page. But everything I am trying, I ...
0
votes
0
answers
8
views
WordPress MU: Cookie error when trying to login on network WP instance
I get a Cookie error when I try to login to a WPMU site in a subdomain-based network installation. I would like to give more relevant details, but at the moment I don't have any clue where to dig. Can ...
0
votes
0
answers
33
views
Entire WordPress content disappears
so I have changed to dreamhost from tsohost. On the day the WordPress content migrated to dreamhost, however after they generated a new login password (same email address but new username) all my ...
0
votes
0
answers
22
views
How to protect my credentials on my clients website
I work with many different clients and I know some will try other freelancers eventually. Right now, my password is stored in my clients database. Is there any way to make this process safe? I would ...
0
votes
1
answer
297
views
Login and register by API
When we install WordPress with Softaculous, a Login button appears and we log in to the site without entering the username and password we pressed.
We have a site where we sell digital subscriptions. ...
0
votes
0
answers
29
views
Change password reqts with NO plugin without breaking resetpass link?
I'm trying to change password requirements in WP 6.1.1 without using a plugin.
It's a clean install with just
wp-cli plugin list
+---------------------------------------+----------+--------+----...
0
votes
0
answers
16
views
I can't log into my website , it says "Error: Cookies are blocked due to unexpected output"
I have seen others with this same problem but when I google it it resolves it in a lingo I don't understand. I need a simple answer.
0
votes
0
answers
63
views
Remove login link from Reset Password-screen
I haven't been able to find anything useful regarding removing or hiding the "Login" link from the Reset Password screen and the screen after succesfully choosing a new password.
I'm using a ...
0
votes
0
answers
106
views
Why am I not able to login to the admin
After the login credentials are submitted, the login page is retained. There is no invalid username or password message. The URL changed from wp-admin to wp-login.php with the querystrings. The ...
0
votes
1
answer
99
views
Changing login url
I've been following this guide on how to change your login url : https://www.malcare.com/blog/change-wordpress-login-url/
However, upon adding the logout, login and lost password hooks, I've noticed ...
0
votes
0
answers
23
views
Invalid login email notification for password-protected category
Does vanilla WordPress (no related plugins installed) supports sending email notification or logging for invalid login on password-protected category?
After reading the related documemt, I found only ...
0
votes
2
answers
277
views
change div text and link for logged in users
this question was already similar asked but I don't find a way to get it working without using a plugin. So basically I got a text on my homepage which says login, so it's a normal text which i want ...
3
votes
2
answers
549
views
How to create a fully functional user registration in WordPress?
I used many user signup plugins for users registration and they did good job, but the problem is, each website collects different data through user registration forms. In my case, the data collected ...
0
votes
1
answer
45
views
How to authenticate/verify login credentials & check for user meta without logging in?
I have custom login form and i used wp_signon() to authenticate. However, i wanted to run an additional check for usermeta and if the user has account_status === pending, throw an error or or prevent ...
0
votes
0
answers
36
views
"user not registered" when trying to login and "There has been a critical error" message on site
I'm having trouble accessing my site. I've been building my site online for a couple of days now. I've added some new themes and plug-ins which I'm guessing is the root of my problems and why the ...
0
votes
1
answer
28
views
How to stop login for SPECIFIC users BEFORE a specified date
I'm developing a membership website (using Memberpress) and want to send the login information to some users before the site goes live. I want these specific users to be UNABLE to login BEFORE my ...
0
votes
0
answers
159
views
How to change wp-admin and wp-login urls
I need to have a custom login url for a wordpress website that will use an headless theme to show a registration form.
I've tried using the login_url filter but the result isn't really what I was ...