Wordpress admin page keeps loading - php

Earlier i couldnt access the admin page using example.com/wp-admin so tried /wp-login.php. I have tried to delete the .htaccess file. I have tried resetting passwords from cpanel and have also defined the URLs in wp-config.php but can't seem to figure out what the problem is. Any suggestions would be great.
Login Page
After hitting login this is the only thing I get

Related

How to fix admin url redirection in wordpress

One of my client website has been hacked, So we are unable to login wordpress using old username and password, Then I have inserted duplicate admin username and password using SQL, But whenever I am trying to login like www.example.com/wp-admin it will automatically redirected to www.example.com/otherfolder/wp-admin and its through 404 error. There is no otherfolder exists in server.
I was updated with latest wordpress then no luck, I looked all the tables like options in phpmyadmin, even htaccess there is no redirection for admin url.
I guess there they might be installed some plugin to do this. Currently I am unable to login wordpress how can I fix this and login into wordpress??
I have cpanel access!
Thanks your time.
If you think there is some plugin which is doing that then go to your wp-content directory and change the name of "plugins" folder as "old__plugins". This will automatically deactivate all your active plugins. If this still won't resolve your issue try searching your functions.php file for the redirection.
If you still don't find anything the then he downloads all your WordPress files and export SQL database and tries to search "otherfolder" in them using any text editor so you will get an idea where exactly that redirection took place.

wordpress 403 error on admin login page

I've got a problem here.
I have a wordpress site and accidentally changed the http to https and I am not sure that I could change it back.
What is sure that it loged me out and when I reload the admin login page it throws an error that my connection is not private and after that I got a 403 Forbidden page.
I have access to the FTP and tried to change the wp_config file, no success. Tried adding this:
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
it only made the admin page reachable when I entered the user and pass it reloaded the login page.
I also tried to delete the .htaccess file, perhaps it is corrupted, but did not help.
Please help me with this issue.
Look in your Wordpress database,
there is a table called wp_options and an entry in option_name called 'siteurl' as the name suggests it holds the URL of your site. Change this back to http and you should be good. There is also an entry for home which will also have a URL for your site to be updated.
Alternatively and also a better option, get a site certificate so that you can use https.
I managed to enter the admin page finally!
So I added these two lines to wp_admin.php:
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
afterward deleted the .htaccess file, then deleted browsing history, cleared cache and cookies.
After all of this I could enter the admin page.
Then I went to options/general and options/permalinks and saved the setting, it generated a .htaccess file and now it is working.
I also tried removing the two added lines from wp_admin.php after all, but I broke the page so they are going to stay for a while.

Wordpress admin is blank

Previously, the site was working fine up until a couple of days ago (there was no changes to the site within these few days). When I go to /wp-admin I see the login form, however it's whenever I try to enter any details, that it redirects me to wp-login.php with a blank screen. I have already tried the following:
Renaming the plugins folder to disable all plugins
Renaming the themes folder to disable any problematic themes
Enabling WP_DEBUG in the config to show any errors on wp-login.php, however none found.
I'm stumped. I've been trying to fix this for hours but I have no clue on the issue.

Unable to log in to wp admin after migrating and changing urls

Front end is working fine and site is displaying as it should however we are unable to log in to wp admin. When entering user name and password and clicking log in the page refreshes without any error messages. (the same happens when you enter a wrong password too)
We did have some issues during the migration with looping urls and wonder if maybe this has something to do with it? Have tried clearing cache / cookies and have tried disabling pluggins.
Any advice would be greatly appreciated.
Have you tried using reset password link from Wordpress?
If it still does not work, I recommend you to reset it from Phpmyadmin (see guide here http://codex.wordpress.org/Resetting_Your_Password)
Whenever you migrate the WP site to somewhere else you may need to set the Path of your site first than you will be able to login.
open wp-config.php and placed following lines after database connection.
define('WP_HOME', 'new_site_url');
define('WP_SITEURL', 'new_site_url');
After this refresh your admin side page and try to login now.
Please Check Under General settings make sure
WordPress Address (URL)
Site Address (URL)
are in the same url otherwise the is_user_looged_in() will not work

Why would this wordpress site be redirecting

Ok so i have this wp site and for some reason it always redirects to a page i just created. The page i just created was named (our other brands)...I even tried deleting the page and the file that i create page-our-other-brands.php but the redirect is still there. I looked in the htaccess and nothing and i have no idea what is causing this redirect ...any ideas
Go to admin site there is a link for configuration/setting go there
and there is an option to set the home page for wordpress site change it.
Go to Administration > Settings > Reading panel and change it.
Read http://codex.wordpress.org/Creating_a_Static_Front_Page

Categories