Login fails in first attempt each time in wordpress - wordpress

I have wordpress ecommerce website. When i am trying to login to any account first time whether it is customer account or admin account it shown invalid address: your email address. But when i try to login with same credentials for second time it is logged in successfully. So basically it fails for the first time everytime but gets success in the second time. How can i solve this issue ?

-Clear Cookies to Resolve Login Issues
WordPress uses cookies for login authentication, so the first step in troubleshooting WordPress login issues is the simplest one. Clear your browser cookies and cache. Also make sure that your browser has cookies enabled. After doing that restart your browser and then try to login. This should fix the issue for most folks.
Clearing cookies and cache in Google Chrome
-Deactivate All Plugins
Sometimes WordPress plugins can cause this issue specially if there is a conflict between two plugins. To deactivate all your WordPress plugins, connect to your web hosting using an FTP client. Rename /wp-content/plugins/ directory to plugins_backup. This will deactivate all WordPress plugins installed on your website. We also have a detailed tutorial on how to deactivate all WordPress plugins when unable to access WP-Admin. Once you have deactivated all plugins, try to logging in to your WordPress site. If you succeed, then this means that one of your plugins was causing the issue.
-Delete .htaccess File
Sometimes .htaccess file can get corrupted which can result in internal server errors or login page refreshing error. Simply access your website through FTP. Backup the .htaccess file in your computer and then delete it from your website’s root directory. You may want to delete .htaccess file in wp-admin directory as well if it exist. Try logging in again. If you succeed, then this means that your .htaccess file were stopping you from logging into WordPress. Once you are logged in, simply go to Settings » Permalinks and click Save. This will generate a new .htaccess file.
Not a 100% sure youre issue is listed but have you tried this ?
REF: http://www.wpbeginner.com/wp-tutorials/how-to-fix-wordpress-login-page-refreshing-and-redirecting-issue/

Related

Wordpress caches in wp-admin. How to exclude it?

When I am in admin rights at wp-admin I always have a situation like running an existing cache file on the system, I often have to press the refresh button to fix the above situation. So how to disable cache in wp-admin ?

Wordpress login refresh issue, have tried everything but it doesn't want to load

So I was given this file and was asked to integrate PayPal using WooComerce. but I can't seem to access the wp dashboard. Here's what I've done
Created a database in phpmyadmin using XAMPP, stored the files in my htdocs, and then imported an SQL file to the database, the website page loads on my localhost, but when I type http://localhost/mysite/wp-login.php or even http://localhost/mysite/wp-admin, and I enter the correct credentials, the login page just refreshes.
I have tried
clearing cache and cookies
removing .htaccess files
renamed plugins folder
But none of them seemed to work, the page just kept refreshing. I've even tried opening it in incognito mode because I heard it may help but it didn't. Please let me know if there's anything I missed or if any further information is required.
if anyone faces this issue, You should access the database file and go to wp_options and change the url there to match your localhost. You can add an admin command in your theme functions.php file as well after doing that to add more users.

My wordpress website site URL is being changed again and again

Someone is changing my wordpress site URL to their ad spam URL. I changed it from php my admin and it was fixed, the hacker inserted a java script to every wordpress post and pages to redirect all posts and pages to their ad page, I deleted all of them. Then I installed wordfence security plugin, scanned the entire website, found some malicious codes and deleted everything. Then I changed my cpanel and wordpress password. I am using my own VPS so I also changed my root password, but still just after 12-24 hours, I can see that the wordpress site URL has been changed. I fix it and again it becomes changed.
I have mentioned what I have done, what else I can do to prevent this? Please any suggestion will be appreciated...
Your website has most probably been exploited, and the exploit is still active, as a backdoor for that Hacker..
I would check the access logs for your web requests, and especially POST requests!
which might show where is the hacker logging in via.. some Theme or Plugin that was exploited most probably.
If your web host does daily backups, it might even be worth reverting back to previous days to remove any changes... -- remember if you revert back any posts/changes from that day onwards will disappear.

Cannot log into wordpress site

Just recently discovered that neither my client or I can login to our Wordpress website. Here are the details:
Plugins: Contact Form 7, Envira Gallery Lite, Fusion Core (part of avada theme), Updraft Plus, Wordpress SEO, WP Retina 2x, WP Updates Notifier, Login Security Solution, Sucuri Scanner
Initially, the login page was requesting a password reset which is typical if too many false attempts have been made from a single user (part of Login Security Solution) plugin.
We tried to reset via the link in the email sent by wordpress. The new password generated is "invalid" when we try to login after the reset.
I FTP-ed in and changed functions.php to force a password reset. When I login with the new password, the login screen appears to be accepting the password, but rather than loading the dashboard, it loads the login screen again. Our Sucuri plugin emails an alert that the login was successful (which of course, it was not).
Next, I changed the name of all the plugin folders to make sure it wasn't a plugin causing the trouble. Same result.
Then, I looked at my htaccess file. It was overwritten with:
Files *.php deny from all /Files
I restore the htaccess file to it's original code. Still same login behavior.
I look through the rest of the site for other htaccess files. I change the names of htaccess files in the following places in order to disable them:
wp-content
wp-content/uploads
wp-content/uploads/sucuri
wp-includes
Still same login behavior.
Not sure what to try next. Not sure what triggered the problem. I was able to login on 12/22. My odd htaccess file had a modification date of 12/7. Client tried to login on 1/3 and was unable.
Any help would be greatly appreciated!!

wordpress control panel login problems

I have a blog that was built with word press. when I want to login into control panel it redirect me to this page:
http://tweld.com/wp-login.php?redirect_to=http%3A%2F%2Ftweld.com%2Fwp-admin%2F&reauth=1
One time I Uninstalled word press files and then uploaded again. after that it worked correctly. but this problem has arisen again.
Have a read of this codex guide: http://codex.wordpress.org/Login_Trouble
have a look in your error logs at your hosts backend.
try:
logout or logout with http://www.yourdomain.com/wp-login.php?action=logout
disable all plugins
clear cookies/cache
exit browser
just for troubleshooting purposes try:
- switching to the default theme by renaming your current theme's folder in wp-content/themes using FTP or whatever file management application your host provides.
resetting the plugins folder by using FTP or whatever file management application your host provides. Sometimes, an apparently inactive plugin can still cause problems.
renaming or deleting the .htaccess file after making a backup of this file
Check your .htaccess and wp-config.php if they are correct
source

Resources