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
21 views

Https and Http Login Issue on Wordpress Multisite

I have a Subdomain WordPress Installation My multisite MAIN SITE is using a free C-panel SSL certificate but my subsites doesn't (My host doesn't allow free SSL for wildcard) This is the issue: ...
0
votes
0answers
9 views

After login, somehow it is redirected

When I log in to WordPress, I am redirected to the top page of the website for some reason. To be strong, the upper menu of the WordPress management screen is not displayed either. In other words, I ...
1
vote
0answers
23 views

Should I encrypt the response that triggers an Ajax action? Is nonce sufficient?

I am trying to write a custom user registration plugin. The plugin has 5 basic functionalities Take form data and create a user using wp_insert_iser Once a user is created, update user meta for ...
0
votes
0answers
17 views

Allow up to X Concurrent Login Sessions Front-end

This is my front-end function function env_login_member() { if(isset($_POST['env_user_login']) && wp_verify_nonce($_POST['env_login_nonce'], 'env-login-nonce')) { $user = ...
0
votes
0answers
107 views

Auto Login after Email Confirmation

I used Profile builder plugin in my Wordpress site.The plugin has not functionality auto log in after Email confirmation. I've found this on the plugin developers website. But i don't know how to use ...
2
votes
2answers
278 views

How do I remove the eye icon that shows visibility on login screen and reset password screen

I'm looking for a way to remove the eye icon that shows visibility on login screen (wp-admin and wp-login) and reset password screen (/wp-login.php?action=rp). As you can see on the screenshot below :...
0
votes
0answers
46 views

Login issue with subdomain installs

I have two Wordpress instances, both of them have multi-site setups. The issue is: the two instances do not seem to work together in terms of login. I sometimes can't login to the second instance ...
0
votes
1answer
42 views

Exclude login page from custom maintenance code

I have a custom code to get into maintenance mode which excludes from it anyone who is logged in or is in the login page, with this if statement: if ( !is_user_logged_in() && !...
1
vote
0answers
16 views

redirect Login problems

I use this code in my funtions to redirect all the people without login to my login page, but the link "lost my password" don´t work and continue redirect to login page. Can anyone help me? Thanks ...
0
votes
1answer
57 views

Custom failed login error messages for users based on user role?

Is there a way to give users that belong to a certain user role a unique error after failing to login? Basically, I imported users from a site with a different CMS and it was near impossible to ...
0
votes
0answers
43 views

Authenticate Flask API with Wordpress

I have two websites, a Wordpress blog that hosts the majority of the content. I also have written an API with Flask. I would like to consume the API within Wordpress (a password-protected page), but I ...
0
votes
1answer
33 views

Redirect user after login to prior page through a wp_login hook

We store user meta data on our website. I have a function hooked into the wp_login action to redirect the user to a form to update their meta if it's older than 1 year. If the user's information is up ...
1
vote
0answers
32 views

wp-admin - 404 after custom login form

I create custom login form in my page with this code: add_filter('login_redirect', 'my_login_redirect', 10, 3); function my_login_redirect($redirect_to, $requested_redirect_to, $user) { if (...
0
votes
0answers
21 views

Unable to login after registration

I use wp_insert_user to register new users from the frontend. But when I use wp_signon to log them in later, it fails. It says the username or password is wrong. But they are not (password: pass). ...
0
votes
0answers
29 views

Problem with is_user_logged_in() function in some pages

I faced a problem with this function is_user_logged_in() in the header to test if the user is logged in to some code. Its working just in some pages like homepage but the other sub-pages not I don't ...
0
votes
0answers
20 views

Custom user roles are unable to login

I have created custom user roles 'teacher' and 'student' using members plugin. But they are unable to log in using wp_signon but the admin and other roles are able to log in. I tried using my custom ...
0
votes
0answers
11 views

wp-login.php -> 404, but wp-login?wqew -> admin sign in page?

I must be doing something silly - this is my first time using wordpress. I installed it and everything went well, messed around with the themes a little and I've written a stupidly long first post. ...
0
votes
0answers
28 views

Using Wordpress login for a non word-press website

If I have a website on Wordpress say A, now I am making another website using React, say B (non-wordpress) We would have most of the users who are already on A, and some new ones, who might come ...
0
votes
1answer
23 views

Use another action instead of the shortcode API to display the last time a user logged in

Here's my problem: if ( !class_exists( 'printSecurity' ) ) { class printSecurity { public $constant_name_prefix = 'PRNSEC_'; public function __construct() { define(...
0
votes
1answer
45 views

Using is_user_logged_in() to lock down whole site

I'm wondering if using is_user_logged_in() to wrap all my theme templates (page.php, index.php, etc) is good way to require login. I'm wanting to use SAML to allow users to login. I tried using Justin ...
0
votes
0answers
15 views

How can I can I make changes to a WP project I pulled from GItHub?

I pulled a Wordpress project down from GitHub and have successfully ran it locally in terms of making the website appear on my browser. However, I'd like to make some changes to it but I don't know ...
0
votes
0answers
117 views

Display a login modal when trying to access the checkout

Currently I have this redirect in place - https://stackoverflow.com/questions/48477504/woocommerce-check-and-redirect-to-login-before-checkout I would like to change it so that when the customer ...
1
vote
0answers
18 views

How to build a site with a map that shows where people offer and need help?

I'm trying to build a site where people can ask and offer help to each other. The idea is that people could publish "help needed" and "help offered" posts by filling in a simple form (with address ...
0
votes
0answers
28 views

Cant reset password my wordpress password not even with phpMyAdmin

I cant login on my wordpress site. I can't reset my password since no mail address is configured. When I try the phpMyAdmin method and click user it just says: MySQL returned an empty result.
1
vote
1answer
76 views

Odd login issue that needs manual page refresh on some devices

I'm seeing an odd issue with my wp site. The problem is that it works fine locally but some people report seeing it at their side. They report that after a login the navigation bar shows that they ...
0
votes
0answers
11 views

WordPress My Account Title and text color change

I am looking to change the colors of the “My Account” page text and title. I found how to change the links and user name but the other text and title do not change. Does anyone know how to change ...
1
vote
1answer
108 views

Redirect subscribers to last viewed page after log-in

I want users "subscribers" to be redirected to the page they last viewed. At the moment, users are redirected to their "myaccount" profile page (my-account.php). I am trying to figure out how to ...
4
votes
1answer
398 views

Integrate recaptcha and wp_signon - what is needed?

I've been using wp_signon for a long time in a project: //Do the actual login for WP User $creds = array(); $creds['user_login'] = $skuser_name; $creds['user_password'] = $skuser_pass; $creds['...
0
votes
0answers
596 views

Display a Login Modal when user is not logged in trying to access Checkout

I am newbie to wordpress and my PHP is very limited also. Currently I have this redirect in place - https://stackoverflow.com/questions/48477504/woocommerce-check-and-redirect-to-login-before-...
1
vote
0answers
77 views

WordPress login problem

I have a rather strange problem with my membership created completely through code even if on WordPress. Basically if I try to log in with a blocked URL for example: https://example.com/example ...I ...
0
votes
0answers
11 views

Integrating multiple plugins with their own login/registration features into one core member account to access all

I've got an unusual project I'm working on, where my client wants a lifestyle website that features a full classifieds section, custom map with pinned locations and routes, a shop for merchandise and ...
0
votes
0answers
7 views

Keep Getting Logged Out (Despite Remember Me) After Woocommerce Update

Is anybody having this problem??? I am constantly being asked to log back in. Out of nowhere my ACF custom fields stopped working on the login page, so naturally I updated all plugins (woocommerce ...
0
votes
1answer
48 views

How can force redirected to login for two or more pages to view or access

I have a multiple author wordpress blog. I want to force redirected to login page, if any visitor view or access to specific pages. example : If user visit to specific page like, www.mysite.com/author-...
0
votes
0answers
42 views

Programatic login user works partially

I try to login programatically. But this works only for some users. For other users it does not work. And I can't find a rule, why for some users the login works but for other users does not work. ...
0
votes
1answer
24 views

Will the same Wordpress logins work after a site migration?

I am about to migrate my site to a new host, after the site and database is migrated over, will I be able to login to the back end with the same username & password?
0
votes
0answers
28 views

How to Add CAPTCHA in wordpress custom login form with this code?

I Have This Custom Login form In My Website please tell me how I add CAPTCHA to this code ? https://github.com/easydigitaldownloads/easy-digital-downloads/blob/master/templates/shortcode-login.php
0
votes
0answers
26 views

Possible to create a login wall?

I have a website that offers a lot of free information. I get a lot of outbound clicks on my site do to all of the informative links to other web pages. My question is - Is it possible to force a user ...
0
votes
0answers
15 views

The same session information for peer users on two different WordPress servers

The MultiSite feature of WordPress is very nice. But for different WordPress installations on different servers, I need something like this. When a user logs on site (A), if the same user has a ...
0
votes
0answers
24 views

How to add Loginout to Sub-menu

I've been searching all over the interwebs for this one. I've got the code snippets to add Loginout to a menu as a main menu item. I'm now looking to understand how to attach it to a sub-menu. This is ...
0
votes
0answers
74 views

All pages gives 404 except homepage and wp-login

I have setup a local wordpress environment by downloading the files and database from live site. Then I changed the site URL in wp-options table and changed user password for login. The homepage and ...
0
votes
2answers
92 views

Restrict wordpress access to logged users only

I want to limit the access to a wordpress app only to registered users. I've putted this inside the function file, but I'm able to see the home also if I'm not logged in. How I fix this? if( is_home(...
0
votes
0answers
28 views

Confused - can't access wordpress dashboard or site that has been published

I am a 2/10 wordpress user, so apologies in advance. My dilemma: I have a wordpress site linked to my domain, and I access the dashboard through the CPanel from the hosting site. I have had a landing ...
0
votes
0answers
48 views

wordpress login loop and session problem

I have a login problem in the Wordpress Admin panel. First I have the redirect loop wp-admin to wp-login with the param reauth=1. I tried all the suggestions found in the support forums but none of ...
0
votes
0answers
52 views

Get WordPress logged in username from root domain when WP is installed in a subfolder

Here is my URL structure: http://www.example.com/homepage.php http://www.example.com/wordpress/ Wordpress is installed in a subfolder but I need to get the cookie in homepage.php to check if the ...
0
votes
1answer
375 views

Wordpress Admin Login Issue

Hi Guys, hoping you can help with an issue I am having logging into a WP site. This is the error message I get when trying to log in as Admin: Warning: Illegal string offset 'remember' in /homepages/...
1
vote
1answer
807 views

When can I safely `wp_set_auth_cookie`?

I've built a small, but working code of logging in an user based on his ID: $user_to_login = get_user_by( 'id', 1 ); // Check if user exists if( $user_to_login ) { wp_set_auth_cookie( $...
1
vote
1answer
212 views

Today, without warning, all admin panel logins redirect to home page after login. non-admin users logins work well

(oursite.com)/wp-login.php?itsec-hb-token=(our token) all admin logins redirect to the home page (in a logged-in state). all admin users are affected. non-admin users login works well. no code ...
0
votes
1answer
34 views

Prevent display password on wp-login.php

In wp-login.php i want send password salted SHA256 on password. So i can avoid the security data exposed. see the screenshot where pwd is not encrypted so how can make made encryption so should not ...
0
votes
2answers
274 views

How can I insert wordpress login screen on a different domain?

I do have a php website running on a certain domain, and I have installed Wordpress on a subdomain. I need to put a login form on the homepage (not the subdomain) where the user will fill in the ...
0
votes
1answer
133 views

Infinite loop when logging out using custom login form

I have a child theme that I'm using based on a parent theme I created. The parent theme uses the standard wp_login_form while this child theme uses a username only option (the site itself is local - ...

1 2
3
4 5
30