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

Questions tagged [login]

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

0
votes
1answer
7 views

Trouble with custom login page

I am trying to make a partner portal page (page for our business partners to see important information specific to them) and therefore wanted to create a custom login page. I have read many tutorials ...
0
votes
1answer
8 views

How do I validate extra pin field on my WordPress login form page?

I have been able to add an extra field to my WordPress login form using the following code inside wp_login.php file, thanks to stackxchange. add_action('login_form','my_added_login_field'); function ...
0
votes
0answers
14 views

Opening WordPress on wordpress.example.com, while the webpage is at example.com

Is it possible to set up WordPress so that you log on on a subdomain while the webpage edited is the main domain? And if yes, how? I know about home and site URL, but all the examples to those were in ...
0
votes
0answers
15 views

Skip login form wp-login.php when already logged in,

I have a plugin that redirects to different pages after login filtered by user role. To get user roles back on their 'custom' page when they have navigated away from it I had the idea to send them ...
1
vote
1answer
21 views

Changing user_nicename

user_nicename has the same value with user_login. I want to change user_nicename value only by using code snippet into functions.php or wp-config.php. Is it possible without using phpmyadmin or any ...
0
votes
0answers
6 views

Logged out content shown until refresh

Whenever a logged in user lands on a page it has also opened when still logged out, it shows the logged out version of that page until you refresh the page. Is there a way to force the browser to ...
0
votes
0answers
11 views

Ultimate Member Social Login Facebook URL Blocked [on hold]

I am trying to implement the Ultimate Member Social Login extension, but when I click on the 'Sign In With Facebook' button, it takes me to Facebook and a box appears that says: URL blocked: This ...
1
vote
1answer
19 views

Members only site - still need the lost password page accessible

My site requires login before viewing any page and it works great: function wpse_131562_redirect() { if ( !is_user_logged_in() ) {auth_redirect(); }} add_action('template_redirect', '...
0
votes
1answer
21 views

How can I modify the default reset (lost) password email text?

I found some similar questions on here, but was unable to apply the solutions that were provided. The standard password reset email that Wordpress is sending does not provide a clickable url for ...
0
votes
0answers
14 views

WordPress login is now working, it just refresh the page and nothing happens.

I have two websites on hosting (Hostgator), Recently I migrated one more website to the same hosting from Namecheap. Now the problem is that all of the three website's WordPress login is not working, ...
0
votes
3answers
19 views

Possible to display a button only if user are login?

I have a class "rty-downloads" I want this class to displayed only for WordPress login users, is that possible? Thanks in advance
0
votes
0answers
14 views

WP admin log in problem have to login each time on new page

I'm having this issue I totally don't understand why this is happening. Yesterday I installed WPS Hide Login plugin (which is now removed) and I believe it caused this issue. I'm running woocommerce ...
0
votes
0answers
18 views

How do I send a POST request with params with WordPress REST API

I am new to WordPress and I'm trying to make a POST request to login a user. I want to be able to send "username" and "password" as params while making this call. How can I do so. This my code so far ...
0
votes
0answers
18 views

Catchable Fatal Error

I am trying to sign into an education website called harleyoxford and it comes back with Catchable fatal error: Object of class WP_Error could not be converted to string in /home/harleyoxford/...
1
vote
1answer
18 views

Admin username and password

I use ceber security plugin which protects my site again malicious attacks etc. I checked today and there were over 20 lock outs. I checked ip addresses and there were no constituencies, they were ...
0
votes
0answers
14 views

Tracking the activities of individual users

I have a page on my Wordpress site that I want to make unique to a certain group of people (and only them) and I want to be able to track what each individual person did when they accessed that ...
0
votes
1answer
19 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
20 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
26 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
0answers
9 views

Input Mask on Standard Registration/login page

I'm looking to implement an input mask onto the standard wp-login.php file and not onto a custom Wordpress form. This is so that users can only register using a formatted username i.e. r7849304 or ...
0
votes
0answers
24 views

Problem with google recapcha and wordpress ajax login

I'm using google recapcha for validate my ajax login form in wordpress, everything is ok and ajax form worked very well! but when i add recapcha and send it value to validate i give error 400 bad ...
0
votes
0answers
20 views

Where to put a custom user login / register form?

i'm currently developing a website that needs the users to register / login, etc. Almost all the web functionalities are working well and as intended, BUT the login / register form not; let me ...
0
votes
2answers
29 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
0answers
12 views

How to create account-switching function for Wordpress front-end users

I am working on a Wordpress website where we have built a web-app of sorts that gives users a profile and helps them connect with others in their specific industry. Users can sign up for a profile as ...
0
votes
0answers
25 views

home page url about login redirect

I using my theme that I made. And I also made login plugin after googling. When I set a specific page as 'Home-page'(wp-admin > setting > reading), login-redirect works good. But I added front-page....
0
votes
1answer
36 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
0answers
29 views

When User delete their post automatically logout and redirected to wp-login

when my website user want to delete their posts they automatically logout from WordPress and redirected to wp-login.php page and their post still there and not removed, here the logout link result: ...
0
votes
1answer
21 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
0answers
17 views

Archive Page - no content when logged out

I have the problem, that when I am logged in into admin, I can see the content of my archived pages. When I'm logged out - the page is totally empty.... Anyone has an idea why? Greets
0
votes
1answer
16 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
22 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?
0
votes
0answers
37 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
17 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
20 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
21 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
17 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
26 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
23 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
26 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
18 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
10 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
41 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
40 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
23 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
47 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() (...