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
1answer
69 views

wp login password reset

I have forgotten my login to my wp site so have asked to reset it, however in the email that is sent for me to change my password there is no link to click to reset the password?
0
votes
1answer
44 views

After moving Wordpress to its own directory, login doesn't work

My site keeps getting hacked, so I decided to move WordPress to its own directory so that I can generate and use static pages in the main directory with Simply Static. I am trying to move WordPress ...
0
votes
1answer
63 views

Custom login page always redirecting to wp-login.php

I've created a custom login page where users can login on my website, but when I try to log in, it's redirected to wp-login.php and I have to enter a reCAPTCHA (I hate those!). I've already tried to ...
0
votes
2answers
177 views

Custom action on login and “remember me”

I try to call a function everytime a user login to website. I succeeded with the wp_login hook for user who fill the login form. However I can't find a hook for an user which has the "remember me" ...
0
votes
1answer
357 views

wp-admin redirects to subdirectory after moving installation to subdirectory

I have moved a wordpress installation to a subdirectory, from var/www/html to var/www/html/wp-blog mainly to make it future proof. I have followed the instructions in the codex. My server is ...
0
votes
1answer
58 views

When the user entered an unauthorized url redirect to login page

I have custom account page for user, i want the users who are not logged in site when enter http://example.com/account redirected to a custom login page. Here My code function setup_user_panel_url()...
0
votes
1answer
34 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
297 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
1answer
18 views

WordPress login is not showing , there is warning?

There is problem , just add Gutenberg plugin How to solve this?
-1
votes
1answer
36 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
23 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
31 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
1answer
35 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
33 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
150 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
1answer
357 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 ...
2
votes
2answers
226 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
75 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
20 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
165 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
1answer
96 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
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
1answer
172 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
1answer
1k 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
24 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
17 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
55 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
706 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
1answer
28 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
96 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
979 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
21 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
229 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
93 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
49 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
525 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
44 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 ...
3
votes
2answers
3k 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
14 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
708 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 ...
1
vote
3answers
2k views

How to change login labels

I want to know how to change the login label such as Username or Email Address to Username within the wp-login.php?
0
votes
1answer
48 views

Lost in trying to create user database system

I've done a lot of reading and am still lost in how to approach my website. My goal is to have a login system, where these users have their own content they can save and manipulate. Say for example a ...
1
vote
1answer
1k views

How can a Firebase user registration and login be integrated into a Wordpress site?

We have an app that uses a Firebase database for users and they can register and log in using the app. I need a way to get this functionality in the website for the app but the website is a ...
1
vote
1answer
862 views

Check for user meta data at Login

On my website, users have a meta data attribute that is set to either true or false depending on whether they have confirmed their email address or not. I'm trying to not let them log in if they have ...
2
votes
1answer
200 views

Redirect User to Homepage if no other redirect is specified

Basically I want to write some code that decided wether to redirect a User to the Home page of the website or to the page that the user came from prior to logging in. I have this code which ...
-3
votes
1answer
20 views

Login page so wide [closed]

Please i need help, i have been battling with this for hours now and i still cant get it right, please help me, the login page is so wide i cant get it to be normal. This is the user login page on ...
2
votes
2answers
2k views

Customize wp_new_user_notification_email()

I am trying to customize the notification email sent to user that contains the link to set password. Currently, I have set up a custom user registration and login forms at the urls site.com/register ...
0
votes
1answer
61 views

Login with cookie but without using WordPress code

I have been looking for a way to authenticate users without having to load up WordPress every time. To put it simply, I am generating apps that don't make use of web kits of any kind so when WordPress ...
0
votes
0answers
31 views

wp_signon not loggin in user to WordPress [duplicate]

I'm using the below script to log the user in, but when I run an if statement for is_user_logged_in(), but it doesn't seem to return the user as logged in. <?php if( isset($_POST['username']) ){ ...
1
vote
1answer
167 views

wp-admin folder, brute force, and password protection

I don't know how brute force attacks work. I have protected the wp-admin folder with a password, in addition to having the regular Wordpress login. How does having this "second layer" inhibit brute ...