Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

-1
votes
0answers
13 views

how to stay logged in without cookie validation

how to stay logged in without cookie validation? I want to skip cookie validation at server side and add custom validation
0
votes
1answer
12 views

Admin Login page not working at all

I'm running Wordpress on a small Ubuntu 16.04 Server, with Nginx and Php 7.0. Yesterday I noticed that I didn't have the site configured correctly, so that http://example.com worked, but http://www....
0
votes
1answer
17 views

How to show private pages based on a user's role?

For example. User "Mary" should be able to view to the private page "marys page" after logging in, "Tom" should be able to view the private page "toms page", etc I created new users and am using the "...
0
votes
0answers
15 views

WordPress login is not showing , there is warning?

There is problem , just add Gutenberg plugin How to solve this?
0
votes
0answers
33 views

a white screen of death caused by this line. I want to know why?

I have a wordpress website and yesterday I saw it return a white screen on login. the frontend looks good but when you fill the login form and press enter it goes to a white screen of death. I traced ...
-1
votes
1answer
15 views

How to resolve these findings from security audit

I am working on a corporate project and they are running security audit by consultants and they found the following issues regarding Wordpress. I managed to get a lot of issues resolved using headers ...
0
votes
1answer
18 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');...
0
votes
0answers
18 views

Wrap WordPress Login Form in custom Div

I'm customizing the WordPress login form with the help of the WordPress Documentation. I'm using the described filters to alter the appearance of the form, mainly by injecting new CSS styles. I'd now ...
0
votes
0answers
16 views

redirect on login after validation

I have a login redirect that works, EXCEPT it doesn't fire on the first login after having validated the new users email address. Here is the code: function admin_default_page() { if (...
0
votes
1answer
24 views

New user password confirmation sending wrong URL

We use the itheme security to hide the back end of our site. When a user signs up they receive an email that says: To set your password, visit the following address: https://www.ecample.co.uk/wp-...
0
votes
1answer
20 views

Is there any action /filter hook I can use to disable login for some user role?

I want to block user role called "pending" loging to the site. (pending is a custom user rolled created by me). Is there any action/filter to block all users who are in "pendin" user role?
0
votes
0answers
22 views

Setting up activation keys for page access / content gating

I'm currently looking for a way of content gating for my current WP project. I am offering a psychological test, and since I have to pay licensing fees for every participant, I want to be able to sell ...
0
votes
0answers
22 views

wp_signon works localhost but not wokrs https site

I made my own login form with using wp_signon but i have a problem. It logins perfect in my localhost but not works on my real https web site. Here is my code. $args = array(); $args[ 'user_login' ]...
0
votes
0answers
13 views

How to disable admin login on WooCommerce client login page?

I noticed that admins can log on through both /wp-login.php and /my-account web pages. I added Basic HTTP Authentication as a security measure and you can bypass it as it applies only to wp-login.php....
0
votes
0answers
9 views

Page redirect based off password from single entry point

I am looking for my best path forward for having my main index.php have a simple form that users enter a password into. From there, depending on which password they enter, they are directed to a sub-...
0
votes
1answer
24 views

autocomplete=“off” WordPress Login

I need to remove the auto complete password within the login page. I understand I need to set autocomplete="off". There is another article on this site (How to disable autocomplete on the wp-login.php ...
0
votes
0answers
21 views

Cannot access wp-admin but can authenticate frontend login

I have a custom function which is based off the wp_login_form(). I copied the function and essentially wrote it to add in two new fields to validate against - "mbjbookdomain" and "mbjbookreference". ...
2
votes
2answers
27 views

Change register form action url

I have 2 registration forms, default one on /wp-login.php?action=register for "recruiter" users, other one on /wp-login.php?action=register&type=candidat for "candidates" users My problem is that ...
0
votes
1answer
21 views

User is logged in after Stripe payment, then redirected, but is then logged out again

In a plugin, after a Stripe Checkout payment is processed, an account is created, the user is logged in, and then redirected to a "thank you page". On this page, only about 1/3 to 1/2 of the users is ...
0
votes
0answers
9 views

Woocommerce and Multisite Customer Accounts

We have built a website for a client, who uses multi-site for its franchisee websites. We are now building a Woocommerce store on the main site, it is going to be a private Woocommerce store which ...
0
votes
0answers
19 views

Login redirects to home page and doesn't log in

When logging into the backend it redirects to the home page. If I try going to /wp-admin after it gives me the login again. I've tried deleting the htaccess, renaming the plugin and theme folders, ...
0
votes
1answer
36 views

Custom login method appears to ignore auth_cookie_expiration

I have a custom login form that I can display by adding [custom-login-form] to a static page. While the form does look rather different, it still submits its data via method="post" to wp_login_url() (...
0
votes
0answers
10 views

After login I just get “Thank you for creating with Wordpress”. Can't see dashboard

I get an error: Thank you for creating with WordPress. In the browser after I login. I can't see the dashboard or anything. I tried clearing the cache in the browser but that didn't work. This ...
0
votes
1answer
27 views

wp-login.php?redirect_to=https problem

wp-login.php?redirect_to=https problem Please forgive me if I am posting in the wrong place but I am here to see if you can help me with some minutes of your time. The problem is a website showing ...
0
votes
0answers
25 views

Custom Login Integration not working in wordpress anymore

I have added a script in my functions.php file which checks a second custom database within the WordPress database when a member tries to login. This script was working correctly in the past and I ...
0
votes
1answer
19 views

Stop customers and subscribers from login to dashboard

why do subscribers have the ability to log directly into the dashboard? And how do you stop that from happening?
0
votes
0answers
18 views

Sequential username generation with prefix number letter

I have a code which is working fine in my functions.php It works like 000001 then 000002 , 000003 etc But i wanted it like 5077A1 then 5077A2 5077A3 etc is it possible to add 5077A prefix in the ...
0
votes
0answers
20 views

Users not shown as logged-in once they go to the site's homepage

I have been unable to solve this problem for a few days now. ​ On my site (parthunter.com.au), once a user logs in for the first time, it will take them to a "profile page", here in the top corner it ...
0
votes
1answer
17 views

is_logged_in not working after login

I am using is_user_logged_in() after a user has logged in to woocommerce (the page is a replacement for the user's woocommerce dash). This returns false, though if I reload the page it returns true.
0
votes
0answers
24 views

503 error when logging into Wordpress Admin

I have been dealing with this issue for the past 48 hours... When I try to log into the administration section of my wordpress site I get an HTTP 503 error. There are a lot tutorials and "quick ...
0
votes
0answers
20 views

wp_sigon not working

I am trying to create a custom login form and login the user using AJAX. Everything works well besides one thing, after I logged in, when I try to do ANY admin function I am redirected towards wp-...
0
votes
1answer
169 views

Can't access Wordpress admin panel/dashboard

I have been working on a site through WAMP with localhost. My site is not uploaded online yet. When I try to access my site from localhost/wordpress which is where I have been accessing it from for ...
0
votes
1answer
19 views

Wordpress not loggin user and redirecting after custom registration

I am trying to make custom registration form in my wordpress site , the form is registered successfully but i couldn't login the user after registration and redirect to a custom url. this is the code ...
0
votes
1answer
14 views

Login logout below menu bar

I would like to display a Login / logout link above menu as my theme doesn't have this feature. Login/Register at right top corner and same it should show in mobile version as well. I am using ...
1
vote
0answers
18 views

SSO to WP, from a non-wp site on a different domain and server

I've been searching and searching. (not just here) The closest I've found is this: SSO / authentication integration with external 'directory service' But it assumes both sites are on the same ...
1
vote
1answer
42 views

Wordpress custom login form using Ajax

Description: I would like to create a custom login form: username, password and remember field. This is the code I have: Problem: /wp-admin/admin-ajax.php 503 () What I've tried: PHP: function ...
0
votes
0answers
34 views

Separate Login Page For Every User Role

I am designing a woocommerce website in localhost and i make 3 user roles. 1- Buyer, 2- Admin, 3- Super Admin And rename wp-login.php with my custom url now i want 3 login page for example-: 1- “...
0
votes
1answer
27 views

How to use woo commerce login to authenticate code php pages?

I have a doubt as follows, I have a store in wordpress using woo commerce. I have some other services in that same site and I want to code that pages in core php. So, now the question is, is there ...
0
votes
1answer
26 views

Missing privacy policy checkbox on login page (using Enfold theme)

I have strange behavior as of late. Whenever I need to log in again on my site (https://exchangecomparing.com/login/) I get the following error message: "You must acknowledge and agree to the privacy ...
0
votes
1answer
93 views

wp-login.php entering password nothing happens

I have a website prettypeople.nl and whenever I try to login as an admin whether at /wp-admin or /wp-login and input the correct credentials, nothing happens! The page refreshes and if I check the ...
1
vote
0answers
18 views

Logging into sandbox subdomain WP

I have recently set up a subdomain to do wordpress testing on. I installed a new wordpress instance at sandbox.example.com. I have a main one set up at example.com. When I try to log into my new ...
5
votes
3answers
179 views

Init action hook running late after PayPal's return url?

I have process_ipn method that runs on init action hook. Looks like it is fired after PayPal returns to merchant. Under this method, I could find out the payment status such as completed, pending, ...
1
vote
1answer
19 views

wordpress disable login for unverified user

I have buy a theme form marketplace. This page is auto login after registration. I want to disable auto registration after login and without approving user by admin user can't login. How can do that? ...
1
vote
1answer
41 views

Store brute-force IP addresses

How can I store IP addresses which try to brute-force the login section or to login too frequent too fast? I need to store all IPs, then use them in another application, sort of like a learning ...
0
votes
1answer
81 views

Possibility to login without password

I'm creating a webapplication for users that are racing in a rally. I have the following data from the different racers: Username Password Mobile phone Email The problem is they never know their ...
1
vote
1answer
30 views

Finding the original login information in the database

I manage the WordPress installation at my job but I'm not the first to occupy it. I've inherited this responsibility from a guy who no longer works here. Right now, we use and AD plugin that is ...
0
votes
0answers
53 views

Verification of OTP in wordpress on login (TWO Factor Authentication)

I want to verify OTP (One Time Password) on successful login of users in Wordpress. Before login we have hooks like wp_authenticate and wp_authenticate_user, these hooks complete tie function and die. ...
2
votes
2answers
213 views

Remember page before login page, redirect to that page after login

I have a woocommerce shop that only allows logged in users to make purchases. I have replaced my add to cart button with a "login" button if the user is not already logged in. This than brings them to ...
1
vote
0answers
11 views

Contributive page where people logged in can write

I'd like to have a page on my wordpress site where people can add a content really simply. They would click on a link that open a popup where they can login, add a content, and that's it. It would be ...
5
votes
3answers
471 views

Why does WordPress hide the reset password key from the URL?

I'm currently working on a WordPress plugin of my own that involves a custom login interface. I'm wondering, why is it that when you reset your password on WP-Admin, WordPress stores the reset ...