Questions tagged [login]

Refers to the act of gaining access to a WordPress site, as well as the WordPress account itself.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Is it possible to auto-login on Apple Watch if user logged in on iPhone to Wordpress

Apple watch has auto-login feature if you logged-in on your iPhone but is this feature possible to use with Wordpress login?
0 votes
0 answers
18 views

Use the WordPress Login page for Headless WordPress

I'm using React to create a headless WordPress website. We need to implement login functionality so users can login to the backend of the system. What is the best way to implement authentication? ...
0 votes
0 answers
16 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
52 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. ...
  • 222
0 votes
0 answers
9 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 +---------------------------------------+----------+--------+----...
  • 1
0 votes
0 answers
8 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
24 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
26 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 ...
  • 101
0 votes
1 answer
27 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
17 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
12 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 ...
  • 1
3 votes
2 answers
104 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 ...
  • 129
0 votes
1 answer
24 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 ...
  • 11
0 votes
0 answers
13 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 ...
  • 1
0 votes
1 answer
27 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 ...
  • 11
0 votes
0 answers
31 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 ...
  • 1
0 votes
2 answers
127 views

Can i hide a dynamically created div to logged out users?

Is it possible to hide a specific dynamically created div from user that is logged out? I have tried this but doesnt work: <?php if (is_user_logged_in()): ?> var element = document....
  • 5
0 votes
0 answers
92 views

how to login admin by using ip address

I had auto scaling the server, now I want to access the origin server admin by IP Address For example , http://123.234.56.101/wp-login.php but when I input the Username and password , it force to ...
0 votes
1 answer
13 views

Error Message when logging into WordPress on Xampp

I have two Wordpress sites running on Xampp. I am getting an error when logging into the second site I set up, it say's 'username is not registered on this site. If you are unsure of your username, ...
  • 1
0 votes
1 answer
39 views

Unable to login my subdirectory WordPress site

I am trying to build a new website in my existing website's subdirectory folder. I have installed WordPress to www.fitfix.ca/new subdirectory. I can access to the page but when try to login fitfix.ca/...
0 votes
1 answer
33 views

Redirect all pages to the custom login page except for the registration page

I have redirected all non logged in users to my login page but on the page there is an option for them to register and that navigates back to my login page and I want to exclude that register page ...
0 votes
0 answers
18 views

Users cannot log in using popup

Our WordPress website has been exhibiting some odd behavior when users try to log in. The website uses a popup for registration and logging in which uses WooCommerce login forms that are part of our ...
  • 56
0 votes
0 answers
15 views

Inconsistent login state

I'm logged in with "Remember me" checked. I then click the logout link. At this point I appear to be logged out - I can no longer access member-only pages, and menus that only appear for ...
  • 101
0 votes
0 answers
148 views

Cannot login into an old wp site. Fatal Error: Cannot create references to/from string offsets

when trying to login to my old wp site I get a fatal error; Uncaught Error: Cannot create references to/from string offsets in /www/htdocs/w0077893/worldstar/wp-includes/user.php:56 Stack trace: #0 /...
0 votes
1 answer
42 views

How to disable login and registration pages?

I use a login/register plugin and display the forms on a custom page. So I try to find a solution to disable, or even better, redirect URL such as example.com/wp-login.php, example.com/register (which ...
  • 239
2 votes
0 answers
12 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 ...
1 vote
2 answers
41 views

How to create a custom wordpress plugin for a specific functionality?

I want to create a custom plugin to add a login with url functionality to my wordpress sites. For example, I want to create a link as follows: www.mysite.com/wp-admin?username=xxxx&pass=xxxxx ...
0 votes
0 answers
11 views

Prevent users from display default wordpress login form

I have created a custom login form and it's working fine. I've assigned it to a template page and it is displayed when the user hit the www.example.org/login url of my site. I need a way to manage ...
  • 1
0 votes
0 answers
9 views

login redirect based on user role not work as expected

I have this code in my wordpress custom plugin <?php public function role_login_redirect() { $redirect_to; $user = wp_get_current_user(); if( isset($user->roles) && is_array(...
  • 1
0 votes
1 answer
76 views

Check user last login date

I need to show to the user a password change page at first login and ever month. Is there any hook or filter that can I use to check in my plugin code when the user have done last login?
  • 1
0 votes
0 answers
18 views

Wordpress - Security Question at Login from User's Meta Data

How can I add KBA (Knowledge-based authentication) Field at the time of login in WordPress? That field can be anything submitted by the user at the time of registration. For example … At the time of ...
0 votes
1 answer
77 views

Does wp_login hook fire on user registration?

My site is set to immediately login a user after they register. I'm writing a plug-in which needs to fire wherever a user logs in. If I order the wp_login hook, will this fire at user registration (...
  • 141
0 votes
0 answers
22 views

Browser Caching for Logged in Users

We've run into sort of a quirky problem with browser caching that I'm having a hard time finding an answer to. When users log in to the site, if they go to a page they have already visited, it will ...
0 votes
0 answers
13 views

determine active user browser at the same time

I want to check my users just online with 3 browsers at the same time. $user_active_browser = get_user_meta($userID, 'session_tokens', true); $user_active_browser = count($user_active_browser); if ($...
  • 201
-3 votes
1 answer
63 views

Creating Custom Login Form Where Password Field is Dropdown Menu

First, I want to name that I think purchasing MemberPress and some customization of their login form would make this possible. However, we are not planning to fully utilize anything else the ...
  • 1
0 votes
2 answers
19 views

issue with my wp site after login

I'm seeing an odd issue with my wp site. The problem is that it works fine locally but some people report seeing it at their side. They report that after a login the navigation bar shows that they are ...
0 votes
1 answer
121 views

Multiple issues with Ajax login function due to browsers and cookies

Using basic usage of ajax login wordpress, no cookie wordpress_logged_in_ are created on safari and Chrome and firefox doesn't read user when cookie "wordpress_logged_in". I have several ...
  • 11
0 votes
0 answers
14 views

CPU overload spam - redirect link to wp-admin and new post

I noticed my wordpress website is over utilizing CPU resources causing my shared hosting to trottle slowing down drastically my website. Upon doing a CPanel inspection on resources, I found this ...
  • 61
0 votes
1 answer
77 views

Can I Get User ID at Login?

My goal is to allow my users to select their choice of redirect page after login but it doesn't seem that the user ID is available after login? Here is my code. Any help is GREATLY appreciated!!! ...
0 votes
0 answers
16 views

define two login page url

I am wondering if it is possible to define two or more login page URL for different roles. I mean, is it possible to define some URL only for admin login page, like: www.example.com/admin-login and ...
  • 103
0 votes
0 answers
16 views

Abnormal activity at url /my-account/add-payment-method/

I have just noticed that my online shop (WordPress+WooCommerce) has an abnormal number of unique page views at the url /my-account/add-payment-method/ starting with May 12 onwards: around 60-70 per ...
  • 1
0 votes
1 answer
68 views

How to make a user be able to register if such a login already exists?

And then to log in only by e-mail and password.
0 votes
0 answers
19 views

Is there something I need to know in order to use Wordpress on foreign (Swedish) TLDs?

So I have a wordpress multisite site for a client who moved to to Sweden from the US recently and has since contracted my for 4 more websites to go to urls with the Swedish TLD (.se). I'm able to ...
  • 101
0 votes
2 answers
65 views

Is it possible to add the_content filter upon login?

I've added a wp_login action and it's getting executed. Then within that function, I'm adding a filter to the_content so that a script gets inserted upon certain conditions but it's not getting ...
  • 1
0 votes
2 answers
36 views

Show Site Name on WP login screen

I'm trying to create a generic, re-usable function that shows the site name on the login screen. It works with just static text, but how do I pull in the site name dynamically? Here's what I've tried: ...
0 votes
1 answer
24 views

Does wordpress support natively the concept of logging-in users? (not admins, but users of the website)

I need to create a small members area, probably for about 1000 users, not more. I want to set private information there, forms, interaction, etc. More in particular it'll be for "providers" ...
0 votes
0 answers
176 views

Allow login only for one account from one device

Hi All i hope all you are ok . i am working on a membership website , and i want to prevent user from shared there paid account to other people , meaning that the registered account attached to ip so ...
0 votes
2 answers
32 views

Set redirect for need login

Hello, I have this code so when I place the [need_login] shortcode on a page, it redirects users who are not logged in to a Login page. The problem with this is the that it redirects them to the ...
0 votes
1 answer
222 views

WordPress login set cookie that survive browser exit (wp_signon function)

I've read all the relevant question here on StackExchange and I haven't found a solution. Here's the problem: I use a plugin to use Google OAUTH to login in Wordpress. All working correctly, but I can'...
0 votes
1 answer
34 views

How do you manage your pages or functions that require logged-in users?

I'm having more functions and pages that require my users to be logged-in. Below is what I have in each of my functions, kind of a hassle to keep repeating this code. $user_id = get_current_user_id(); ...

1
2 3 4 5
31