I have upload my wordpress website on live server and front end is loading perfectly fine.
While i login to my admin by http://www.my-site.com/wp-admin it not loading login page and display error like, redirected you too many times.
I can load login page by below URL,
http://www.my-site.com/wp-login.php
and can load login form, but after proving credential it can not redirecting me to dashboard and again display same error like,redirected you too many times.
I have done all available solution like,
1) check site url in wp_option table : its proper
2) delete .htaccess file from root and upload fresh
3) disable plugins and check and enable agian but not working.
Can anyone help me what is wrong in my case and how to enable wp-admin and can access admin?
Related
FYI: I am able to access the c-panel
Admin page displays the following:
Front end seems to be displaying properly:
this is because your admin dashboard ulr is redirected (maybe by a plugin, server setting, .htaccess...).
You can access wp dashboard login by this url - Basically, just add "/wp-login.php" follow you site URL.
I registered my new domain "aaa.com"
I made a subfolder "bbb" , installed wordpress in there.
I installed few plugins on "aaa.com/bbb"
Advanced custom fields
statcounter plugin
WP custom widget area
wp cerber
custom sidebars
I set up subdomain as "bbb"
I set wp-home url and wp-site url by "bbb.aaa.com" in options page.
subdomain seemed to work well.
when I go "aaa.com/bbb", wp shows 404 page
url "bbb.aaa.com" works fine. when I clicks some permalink or page link, the urls look like "bbb.aaa.com/postOrPageUrls"
HOWEVER, there was a problem when I typed bbb.aaa.com/wp-admin
WP redirected me to the login page - it was what I expected
But, I couldn't entered admin page even though I typed ID,passwords.
wp doesn't showed login errer message, It just refreshed everytime I press submit button.
I typed url as "aaa.com/bbb/wp-admin/" and I could enter the admin page with that url.
I figured out that thre's difference between two login pages.
"bbb.aaa.com/wp-admin" redirects to "bbb.aaa.com/wp-login.php?redirect_to=http%3A%2F%2Fbbb.aaa.com%2Fbbb%2Fwp-admin%2F&reauth=1"
wait, "bbb.aaa.com/bbb/wp-admin/" ?
"aaa.com/bbb/wp-admin" redirects to "bbb.aaa.com/wp-login.php?redirect_to=http%3A%2F%2Faaa.com%2Fbbb%2Fwp-admin%2F&reauth=1"
so that mean, the login page redirected from "bbb.aaa.com/wp-admin" points wrong address: bbb.aaa.com already points the subfolder bbb, but that login page finds the subfolder bbb again.
It was long story. now I'm trying to fix the problem. login page - redirected by wp-admin - redirecting to wrong url. Can I get some hints?
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/
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!!
I have just installed a wordpress website, and i was working with some security measures but now my wordpress admin is not loading. It gets redirected to page not found.
Steps which i have done
I have installed wordpress in the following url icg.projects.com
Then i have moved the wp files to a sub-folder named "core-files" (as per this url http://www.ampercent.com/move-core-wordpress-files-custom-directory/6211/).
Till now frontend and wp admin works fine
Now i just tried to change the admin url to icgadmin (ie. from icg.projects.com/core-files/wp-admin/ to icg.projects.com/core-files/icgadmin/). The problem is after giving the username and password in wp-login page my url becomes http://icg.projects.com/core-files/icgadmin/. But the content of the page is "Page not Found". But the actually i should get the wordpress admin.
Any help would be really appreciated.
Thanks in advance