I just installed wordpress, the site itself works, but when i try to access the admin panel, i get a redirect loop and the error ‘this page sent too many redirects’ from chrome. I tried reinstalling, please help.
My username is: epiz_25702517
What is your URL?
And i do not have ANY .htaccess file, n’either in the wordpress directory, neither in the main one
Okay, probably this is misconfigured:
Both of the bottom values need to be
https://
so that your site and the admin section will function properly.As you do not have access to the admin area, edit these lines in the
wp-config.php
file:define('WP_HOME','https://example.com'); define('WP_SITEURL','https://example.com');
2 Likes
And i cant find those 2 lines in the wp-config file, is it a problem that i have no .htaccess file?
I still cant find it
It should be there, you probably didn’t read the lines carefully.
Try changing it on your MySQL database instead.
- Go to Control Panel
- Go to phpMyAdmin and choose what database you want to edit.
- Go to wp_options (will depend on your prefix ex: wpxf_options, wpgr_options).
- Edit the Site URL and Homepage URL just like what @Magnus told you. Change your URL prefix from
http
tohttps
1 Like
I fixed it. I just reinstalled WP bur this time chose http:// instead of https://, which prevents the redirect loop.
1 Like
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.