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
2answers
2k views

wp_authenticate but not logged in

I am pretty new to all things Wordpress and seem to be really confused by what I have read. What I am doing is creating a plugin for a specific job and I need to simply change the menu once logged in....
0
votes
0answers
13 views

URL Restrictions? Need only people who are logged in AND have a specific role (or roles) to access all pages for a site

I have a site that needs to only allow people who are logged in and have at least one of 3 possible roles to have access to the pages of the site. I'm not new to programming, but am new to both php ...
0
votes
1answer
711 views

Fatal error: Call to undefined function get_plugin_data()

My website is down and I can't login to Wordpress. I get this message when I try both: Fatal error: Call to undefined function get_plugin_data() in /home/plantedmiami/public_html/wp-content/plugins/...
0
votes
1answer
608 views

How to get rid of the username of registration form in theme my login wp plugin?

I have tried disabling the username in the functions.php through if(!is_admin()){ remove_action( 'admin_color_scheme_picker', 'admin_color_scheme_picker' ); add_action( 'personal_options', '...
0
votes
1answer
2k views

Updating usermeta from login redirect to billing address

I'm setting up a site with woocommerce login from frontend. I want to take the customer directly from there to registering billing address. Then I want to fill in the billing first and last names ...
0
votes
1answer
11 views

MAMP localhost wordpress site, not possible to sign in, username and password are correct

I have two sites on my localhost server. The other one has a problem when trying to sign in. The username and password are correct, I can access the PHP my admin and check them from there, so I know ...
0
votes
0answers
18 views

Anonymous users can not access website

I have inherited a WordPress shopping website with WooCommerce. Prior to me, retailers used the website to place orders for the items to be sold in their shops. As a result, a forced login was ...
2
votes
1answer
3k views

How to implement Google reCaptcha without installing a plugin?

Wordpress noob here wondering how to include reCaptcha authentication in my login without a plugin? So far I have added the captcha div into the login using a hook: add_action('login_form','...
22
votes
8answers
91k views

Can't log in: “ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.”

After a server move, I'm unable to log in to my site. I get the "ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress." error when I try submitting the ...
0
votes
2answers
39 views

Log out without confirmation request (nonce)

I have a Wordpress site with WooCommerce. I would like to add a Logout option to the Menu that logs out the user without asking for confirmation. So I included a menu custom link with as URL: /my-...
0
votes
0answers
19 views

Wordpress/Woocommerce multisite prevent crosssite login

I want to prevent that users can login the different subsites. for example: user1 can login site1 but not site2 I found out that this is possible when using the wordpres login, but when user1 uses ...
0
votes
0answers
8 views

Trouble when I try to connect to WordPress

I have 1 domain and 1 subdomain. Both have a different wordpress install on it. Once every month, cookies expire and people have to login again. Sometimes, when I and the users try to login, nothing ...
1
vote
1answer
26 views

Login WP - Connect single field to an external api

I made a plugin to allow wordpress login with external api. Everything works, now what I have to do is that when a user logs in for the first time, the plugin checks to see if it is already present on ...
0
votes
1answer
598 views

How to log into WordPress admin in MAMP

New to MAMP, but had no issues with installation and viewing the WordPress site I pulled down from my server. However, can’t figure out to log into the admin side of my site. Here’s what I’ve tried, ...
0
votes
1answer
820 views

wp_lostpassword_url not escaped

I have ajax login form, and a lost password link that gets it's url with wp_lostpassword_url() function. When I validate the page I get Error: & did not start a character reference. (& ...
1
vote
1answer
931 views

External Authentication, session_tokens not destroyed on logout

There are many questions and answers on external authentication and some code prior to WordPress 4.0 need some tweaking to get them to work. For example, adding a fourth parameter to the ...
0
votes
2answers
2k views

How to use google api for wordpress login

I am using Google OAuth API to create a login system and fetching youtube channel data in Wordpress. I have done to get channel data and email id also get access_token, token_type, expires_in, ...
0
votes
1answer
1k views

Wordpress auto login user after registration only from a specific page

I have have a custom join page that is called /join/ and the page id=484 and it uses a plugin for the registration function by simply placing a shortcode on the page very straight forward. I need to ...
0
votes
3answers
1k views

How to redirect home page to another page after login for all user?

How to change home page to another page after login for all user roles, not a specific one?
0
votes
1answer
14 views

Help! ERROR: Cookies are blocked due to unexpected output on attempting to login to resolve an issue with my site

First-timer over here! Domain for the buggered website (you'll see what I mean!) http://www.clarkephotographic.co.uk/ URL I am using to try to login to WordPress backend to fix the issue http://www....
0
votes
1answer
715 views

Custom Login Plugin Redirects to wp-login.php After Site Migration

I am using a custom login plugin I made for my site, it was working fine before migration but now it redirects to the wp-login.php page. Old Site -> http://prep.kevinmamaqi.com/ (still available ...
0
votes
1answer
931 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
1k views

Redirect after login to current URL

I've my login box on any page of my WordPress and I'm trying to redirect to the same page after a user logs in. For example: If I make the login in the URL http://localhost/wordpress/category/sub-...
1
vote
1answer
65 views

how to use reCaptcha v3 in wordpress custom login form?

I tried to create a custom login form and custom register form by ajax. I have been successful to make that and you can see my code below for custom login form. the issue is, I need to use reCaptcha ...
0
votes
0answers
24 views

error when using reCaptcha v2 in wordpress custom login form!

I have been successful to create a custom login form by ajax and reCaptcha v2. every thing is OK but when the user enter incorrect username or password and submit the form, then enter the correct ...
0
votes
1answer
1k views

AJAX login without a plugin does not work. when add a action to function.php

I am using wordpress ajax login without a plugin. I want to not be allowed users access to the WordPress profile after login, Because i have designed a specific profile in the link: http://www....
21
votes
3answers
13k views

Increase of failed login attempts, brute force attacks? [closed]

I Installed the plugin Simple Login Lockdown and since a couple of days ago the database is recording over 200 records by day. I think that is not possible to have my site attacked by so many IP's ...
0
votes
2answers
3k views

Login with Username (or Code) only

We are building a landing page site (only 2 pages total) for a client where they are physically mailing out access codes to specific customers. Therefore, I am trying to create a login system where ...
3
votes
1answer
1k views

How to resolve error “Cookies are blocked due to unexpected output.”?

I am facing an error as per below at admin panel login. "ERROR: Cookies are blocked due to unexpected output." I've tried several solutions like, Log checking (No logs are showing in log file) ...
0
votes
1answer
889 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
225 views

Which ways can be used to log in to Wordpress?

FYI: This has been also posted here since I'm fairly new to this website and didn't know that the Wordpress part existed. Sorry for the repost. I'm currently trying to tighten the security for a ...
4
votes
3answers
1k views

How to check WordPress website username and password is correct

On my site i have one form for client to submit their WordPress site details. On that form containing these fields WordPress admin url, username, and password. I want to check their login details are ...
0
votes
1answer
48 views

Does deleting the table users prevent all logins?

I uploaded a Wordpress site online but it is taking time to configure the server. In the meantime I deleted the table "users" so hackers cant access the site/backend, until I can secure the site ...
3
votes
1answer
689 views

How do I approach removing menu items on the fly based on settings in my plugin?

I've started writing a plugin that allows the administrator to select specific pages and set them to be visible only to logged-in users; the plugin optionally applies the restriction to all child ...
0
votes
0answers
14 views

Embed username in wp-login field

I want to automatically display the username in the username field with a url parameter. Something like : https://mywebsite.com/wp-login.php?action=login&log={theusername}
0
votes
2answers
1k views

When trying to login if already logged in, form just shakes - error message remains empty

I am already logged in (with role administrator). If I try to login again with wp-login.php the form just shakes - the error message above the form remains empty. Following a suggestion on this forum ...
2
votes
1answer
1k views

Firing a function AFTER redirect

I am using a function that redirects the user to a custom page, rather than wp-login in the event of errors. In my case I am using the Http Referer function to send the user back to the same page ...
0
votes
0answers
41 views

Ajax login fails: script sets cookies, but is_user_logged_in() returns false

Summary Ajax request to a back-end plugin PHP script successfully logs in the user and sets login cookies in the browser. However, the page making the call fails to recognize those cookies, and ...
0
votes
1answer
2k views

ERROR: Cookies are blocked due to unexpected output - ultimate solution

I know this problem can happen but I need ultimate solution. My main error is: ERROR: Cookies are blocked due to unexpected output. For help, please see this documentation or try the support ...
1
vote
1answer
4k views

Redirect users after first login

I want to redirect my users to a page after they logged in for the first time. I also noticed some solutions like a redirect after the user was registered (redirect after first 48 hours) but the ...
0
votes
2answers
3k views

How can I theme or style the lost password page without a plugin?

So I want to apply a theme and style the lost password page without the use of a plugin. I don't want it to show the default Wordpress lost password page. I managed to style the login form by ...
0
votes
0answers
25 views

One account with multiple logins

I have searched google and this site and can't seem to find an answer. I would like to be able to add multiple logins for an account. Meaning one account could have several emails and passwords ...
0
votes
1answer
974 views

How to login a user with wp_set_auth_cookie on a specific blog within a multisite environment

How can you leverage wp_set_auth_cookie to programmatically login a user on a specific blog in a multisite environment? wp_set_auth_cookie doesn't allow you to set the target blog to authenticate the ...
0
votes
3answers
2k views

WP Multisite login not working on one subsite. Possibly cookies/ history issue?

I have a WordPress Network setup with subdomains and am having trouble with the logins. I thought at first it was an issue with a custom plugin I'm developing, but the problem persists even after ...
1
vote
1answer
2k views

Automatically login user across multisite

When new site is created on my multisite installation, I automatically add the new user to the main site (because I need him to order the product): add_user_to_blog( 1, $user_id, 'customer' ); I'd ...
0
votes
2answers
25 views

How show login popup to guest only and redirect logged in users?

I have a menu item "Checkout". When clicked it links to the login popup prompting users to register/login/continue as guest and from there to checkout. How can I make that same button ...
4
votes
2answers
22k views

Custom reset password template after forgot password request

I've made a custom login template where you can login or request a link that sends you to the reset password form. What I need to do is make that unique link redirect to a custom reset password ...
0
votes
2answers
3k views

how to refresh page after user logout with 'wp_logout_url'?

I have written a plugin for my own site where I have an issue like "after user login to the site if he logout then again if he clicks on browser back button then the previous page showing again ...
0
votes
0answers
714 views

How the wordpress login and signup in react native app

Can anyone help me to login and sign up in reactnative app i have a Wordpress website and i want to link my wordpress site to reactnative app. search lots of solution but no one help me. i am using ...
22
votes
6answers
34k views

How to login with email only no username?

After searching for a couple of days and reading 2 year old threads I'm having difficulty finding a solution to the problem of having users login by email only. At first I was delighted to see ...

1
2 3 4 5
30