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
0answers
15 views

Cannot login, says Email/user not found

I had a free wordpress site, Stories we were told, by Kathryn Cody and I went to google it to share to a friend and it wouldn't show up in search engines. So I went to wordpress and i entered my ...
0
votes
0answers
8 views

WordPress custom ajax login not working on mobile browsers

I have a custom Ajax login/signup form which logs the user in and invokes location.reload() if the request is successful. My Ajax login works perfectly in desktop browsers using only the wp_signon ...
0
votes
1answer
7 views

On button click, redirect users to registration page instead of another page

I have a button that I have that leads users to a page on WordPress called /portfolio/, so is there a way that I can redirect users to the /registration/ page until their logged in? I'm using a ...
0
votes
0answers
6 views

Problem with recaptcha

i have a dump of bd and files of wordpress, all that on a hosting, actually i'm trying to make it work on my localhost, everything is ok now but i have a problem with recaptcha, like this was on a ...
0
votes
1answer
10 views

Unable to Login? [on hold]

I have tried to login to my website, and i'm actually of unsure what to do next. After i attempt to log in it opens into a new page with "Fatal error: Uncaught Error: [] operator not supported for ...
0
votes
1answer
21 views

Change Wordpress Login URL to External URL

Trying to change Wordpress login URL to an external Wordpress installation login page. I'm using the code below, but it can only redirect to a page or URL within the same site. I want it to redirect ...
0
votes
0answers
11 views

blog url is redirecting to wpadmin page if blog url is added into another domain

I am using WordPress version 4.9.8 and if I am using my blog URL(eg:example.com) to some another domain(eg:example2.com) as a referral link. When I open my blog URL from that, another domain so after ...
0
votes
1answer
14 views

Need help with AJAX login to call php in functions.php to handle redirects based on user cap (role)

I can't find the answer for my question anywhere. I am trying to make a login redirect script, after login the user (depending on their role) will go to a certain page. I have currently a working ...
0
votes
1answer
17 views

Echo Text If User Is Logged in But NOT the Author of post

i am coding a plugin, where user can subscribe to a indvidual author of post (like we do on YouTube). I want to display the subscribe link to all logged in users, but not the author of post. my ...
1
vote
0answers
26 views

Good way to block users within a multisite setup without deleting them?

This is probably a common problem with multiple possibilities to solve. However I am asking for an easy solution as I guess I am not the first one to have this problem. Assume we have a huge company ...
0
votes
0answers
23 views

Easy way to check auth_cookie_expiration setting in browser dev tools?

I'm trying to change the auth_cookie_expiration setting in my functions.php file in order to limit all logins to 2 hours. I've done the basic hook for this: function expire_in_120_minutes() { ...
0
votes
0answers
17 views

Redirect after login when WordPress in subdirectory

I've a problem in my Wordpress website which is after I login from /wp-admin I didn't redirected to anywhere just keep seeing the login page without any errors. it was working fine when the site was ...
0
votes
0answers
6 views

create post usin rest API only after user have been registered and logged in via ajax returns 403 cookie nonce is invalid

I have a 3 step form and the last step is register or log in step. If the user is already logged in the third step is not shown to him and after second step the form will generate post using wp rest ...
1
vote
1answer
10 views

Change login_message using title

I'm trying to add message on the login forms. How do I change the contents according to the page title or url parameters this code goes to my functions.php function custom_login_message() { $...
0
votes
1answer
69 views

Error “Sorry, you are not allowed to access this page”

I renamed plugins folder, removed unused themes, checked wp_capabilities for my website, It's getting error like below after login page and redirecting to home page.
0
votes
0answers
19 views

Wrong username or password error in wordpress

WordPress login works fine but when I want to do website login (i.e, As Customer username and password) I am getting this error "Wrong username or password". I have taken its backup and installed it ...
0
votes
0answers
11 views

How to set password protected cookie with ajax POST?

I've tried sending a post request to wp-login.php, but I'm getting a 406 error. I also tried copying the relevant parts of wp-login.php to my own script and sending the post there, but the cookie it ...
0
votes
2answers
23 views

How to use login_redirect with a user capability

The following code should redirect the user to a specific page if they have the manage_woocommerce capability or higher - but it doesn't and just goes to the main dashboard. add_filter( '...
0
votes
1answer
28 views

Can't login with any account - No error message shown

I'm trying to login to one of my Wordpress sites through the /wp-login.php link. When submitting the login form the page refreshes but does not re-direct to the /wp-admin.php dashboard. I've tried ...
0
votes
0answers
55 views

Redirect a login form, if referer contains URL query string parameter

I am trying to redirect a default WP login form, if it's HTTP referer contains some specific query string parameter. Scenario: I need to redirect new users (the ones who just created their passwords ...
0
votes
1answer
18 views

unable to Login to Admin

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'no_wordpress_errors' not found or invalid function name in /home/cafereminiscence/public_html/wp-includes/plugin....
0
votes
1answer
17 views

Create a login page which redirects to a specific page?

I know you are able to redirect users from the regular login page. But I don't want to do this. I want to keep the standard login intact and create another login page which when the user logs in from ...
0
votes
1answer
37 views

wp-login not found - All usual solutions not working

A new client of me can't login to his old(er) Wordpress website: wp-login gives a 404 error and wp-admin gives a 500 error. Here are the links (client agreed to share these): https://...
0
votes
1answer
13 views

Redirecting the lost password page request when using a custon login page

I have a custom login page and hence have setup the following redirects: add_action('init', 'my_redirect_login_page'); add_action('wp_login_failed', 'my_custom_login_failed'); add_filter('...
0
votes
0answers
18 views

How to use a custom login template and still have it linked to the wp-login.php instead of creating a new page?

Let's say I create a custom page template for my login using this: <?php wp_login_form(); ?> How can I force it be used at the /wp-login.php page instead of having to create e new page and ...
0
votes
1answer
27 views

WordPress redirects to login page when I enter url.com/index.php

WordPress redirects to login page when I enter url.com/index.php or just http://url.com. When I enter with https the opens normally. Please help.
0
votes
1answer
44 views

I can't access login page

I was copying my web from live host, but when I want to access admin dashboard, the url can't be accessed The url is changed to be like this : http://backstagewhisp.local/wp-admin/backstagewhisp....
0
votes
1answer
33 views

User does not exist

I got this message when trying to log into comment on a post. Then I got it when I went to log into my own wordpress site. I could find the site so it's still there. I was using Safari to do this, ...
0
votes
0answers
70 views

Calling wp-login.php?action=postpass not setting cookie

I'm trying to set the wp-postpass cookie via my front end homepage written with vuejs. Relevant code below: submitForm() { console.log(this.password) axios .post('https://mywebsite.com/wp-...
0
votes
1answer
21 views

How can I show login popup when user clicks on download button

I am looking for adding a login popup to my WP page where the I have a download button to download some file. when a user who is not logged in clicks on the download button, I want to show the login/...
0
votes
1answer
20 views

Wordpress login page not display

i am trying to access my admin panel but i cannot. An error is occur which i will show you in screenshot. This error is occur because i forgot my password and try to login many time. my website is ...
0
votes
0answers
19 views

WP users cant reset password

I had users complains that they forgot their password, and after they changed and being accepted, when they try to login they get pass error. I tested it and i confirmed that the changed pass is not ...
0
votes
1answer
42 views

Wordpress Login & Register works in localhost but don't work on server

how are you ? i have a Ridiculous problem. i created a ajax login and register function in wordpress . they works without any problem in localhost,but they don't work when i upload this project on ...
0
votes
2answers
16 views

HOW do you Redirect buddypress login to EDIT tab not PROFILE tab on profile page? [closed]

HOW do you Redirect buddypress login to EDIT tab not PROFILE tab on profile page?
0
votes
1answer
40 views

Check for empty username or password on login

I'm building a custom login page for clients and wish to keep the wp-login page for site administrators. For checking for empty fields I'm using the code: function verify_user_pass($user, $username, ...
1
vote
0answers
10 views

How to add an extra variable to login and authenticate it?

I want to add an extra variable to my custom login and to authenticate it to then add it to an SQL database. My custom login: <?php require('wp-load.php'); require('site_config.php'); function ...
0
votes
1answer
13 views

What could cause a staging environment to not send wordpress_logged_in cookies?

We have a custom login and account creation plugin. It works fine on our live environment (example.com) but not on our staging environment (test.example.com). When we call wp_insert_user via an AJAX ...
0
votes
1answer
17 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
18 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
16 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
16 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
39 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
9 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 ...
1
vote
1answer
21 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
57 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
25 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
29 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
25 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 ...
1
vote
1answer
24 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
1answer
31 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?