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
806 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
689 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
0answers
20 views

Using custom IDP with WP

I got a client and they have a custom made IDP now they are moving to WordPress from Blogger and I made the full setup for the new WP site. Now they want the logins to be made from the IDP and not in ...
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
1answer
524 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 ...
-1
votes
1answer
5k views

Can't access my wp admin: captcha images invisible, gives me error message

I have a captcha plugin, and to access my admin page I need to select the right captcha image. Since this morning on the login page the captcha part does not appear and when I enter my id and psswd it ...
0
votes
1answer
595 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', '...
1
vote
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','...
0
votes
0answers
9 views

WordPress + Microsoft Office 365 / Azure AD plugin detected the error please share the idea to fix the issue [closed]

Am having the below error on the WordPress site while using the office365 plugin detect the following errors, Please share the knowledge to fix this issue. Plugin version: 11.12 WordPress version: 5.3....
1
vote
2answers
44 views

When I try to login in wordpress it is showing “USER Doesn't Exists”

The main Issues is that I am entering the email address & password that I used in creating my WordPress site in digital but It shows that the email address & username doesn’t exist even I ...
0
votes
1answer
1k 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 ...
1
vote
1answer
854 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
1k 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
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
790 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....
2
votes
2answers
21k views

after login that will redirect user role into a page

I am trying to create a hook that when a user login, it check the user role.. if the user role is jsa_contributor then it redirect into specific page. but it seems my code didn't work. This is the ...
0
votes
2answers
2k views

How can I find the login page? It was lost after moving the site

We moved my website (wietse.org) using Duplicator to a new host. The site is accessible and works perfectly, only when trying to access /wp-login.php it gives a 404. Just enabled debugging mode, this ...
0
votes
1answer
973 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-...
7
votes
1answer
2k views

Login members using web services

I want a login system which authenticates users from web services.The steps should be as follows: We have some member web sites (Outside of WordPress server). Each member website has its ...
0
votes
0answers
16 views

Unable to login into WordPress 401

I am trying to login to my site but when i hit the root URL i get a pop says to login there but my wordpress username and passowrd never worked there nither i can get into wp-admin. Please kindly ...
0
votes
1answer
708 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
0answers
20 views

How to post frontend login form to a different authentication script from wp-login?

I would like to separate my front-end login from back-end login, but the front-end login will use oAuth-based third-party authentication whereas the back-end will continue to use the WordPress ...
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
752 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. (& ...
0
votes
0answers
49 views

Login page fails: refreshes without error on form submit, recovery page refreshes with ERROR: Enter a username or email address

I run WordPress on IIS10 on Windows Server 2016. When I try to login the page simply refreshes without any logged errors (not on screen, developer console or WordPress logs). When I try the WordPress ...
0
votes
0answers
18 views

Too many redirects on wp-login.php and wp-admin 404 not found

I am having issues with my wordpress website. I can't login in at all. When I try to goto wp-admin I get a 404 page not found error and it redirects to wp-login.php (wp-login.php?redirect_to=https%3A%...
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
0answers
17 views

I can't log in to `wp-admin` after changing my domain

I created a website using wordpress. I decided to change my domain and bought it using the website: https://www.aftermarket.pl/ After buying a domain in the wordpress panel, I took the following steps:...
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....
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 ...
0
votes
1answer
735 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 ...
3
votes
1answer
678 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
1answer
2k 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

On Homepage “is_user_logged_in()” function is not working after login and it is working after refresh the page?

I'm trying to add the menu items using filter. Below is the full function function new_nav_menu_items($items) { $loginLink = '<li id="menu-item-login" class="menu-item menu-...
0
votes
2answers
4k views

How can I change the email sender name from wordpress to (myblogname) on the “lost password” email?

When a user loses their password in WordPress, you are prompted to enter your email or username. When the password reset email has been sent, it displays "wordpress" as a sender name. I want my ...
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 ...
4
votes
5answers
12k views

How to remove the WordPress logo from login and register page?

I want to remove WordPress logo from login and register page. I think I have to make some changes in .css file for this. So I want to know in which css file do I have to make the changes?
0
votes
0answers
21 views

My wordpress site crashes when I login!

My wp site: https://mgraselbar.com/ runs very well as long as I browse it as a user.. but when I login it crashes.. all it's content git mixed. And when I logout it runs well again. I get this in ...
0
votes
1answer
1k 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 ...
0
votes
0answers
15 views

Share User data and account login across subdomains

Lets say I have a domain: domain.com and 2 subdomains: sub1.domain.com and sub2.domain.com sub1.domain.com is a woocomerce site. and sub2.domain.com is a blog site. How do I manage all users for all ...
0
votes
2answers
2k 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 ...
1
vote
1answer
21 views

Why is it that not all users have a 'session_tokens' meta_key record in the usermeta table?

I've created my own code based on this good article - https://shocksolution.com/2019/04/16/find-last-login-time-for-wordpress-users-in-the-sql-database/ to get the last login date for a user. I'm ...
0
votes
1answer
43 views

How to add custom authentication to wordpress login and register

I want to create a function that will halt the login process in wordpress and let a user to validate an otp form or code before he logins in fully. And i intend this interception to be just after the ...
3
votes
2answers
92 views

How to keep always logged in development environment

I have a little non-standard WP dev environment, I use one WP core for all my projects and switch each project in core's wp-config.php just changing the $project variable (e.g. proj1, proj2, example......
0
votes
2answers
2k 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 ...
0
votes
0answers
21 views

End session screen not close automatically after login

I configured the login screen and the login process for my purposes. but there is an issue I don't know how to solve. after the session ends, there is a pop-up with a login screen called "wp-auth-...
25
votes
6answers
54k views

wp_enqueue_script was called incorrectly

I don't know how but now I am getting this error : Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, ...
8
votes
1answer
16k views

Preventing session timeout

Not sure if this is a bug or by design, but it's damn annoying. Every so often, more so after updating the core, while in the admin section, I get booted out with the infamous "Your session has ...
0
votes
1answer
945 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 ...
4
votes
3answers
2k views

custom login page redirect to logged in user profile page

If I click on sign in then it should go to the login page. The issue is that when I put the link then it goes to redirect_to home page, but I want to go on user profile page instead. I don't want to ...

1
2 3 4 5
29