302 redirect looping wp-admin page
-
My site was working fine until woocommerce and ssl didn’t get along. I started trouble shooting the plugins first and realized it was woocommerce. I deactivated it, but then my partner reactivated the plugin and now we can not access wp-admin.
After spending hours of reading redirect looping on the forums I’m ready to delete wp and reinstall my backup files. I am not sure if this means I will need customize everything again.
So far this is what I have done..
1. deleted woocommerce plugin
2. renamed plugins folder
3. .htcaccess was removed then upload. Only script in there was Deny All.
5.deleted woocommerce from phpadmin
4. Wrote the following code in .htcaccessRewriteEngine On
RewriteCond %{HTTP_HOST} ^gravitygolfacademy.com [NC]
RewriteRule ^(.*)$ https://www.gravitygolfacademy.com/$1 [L,R=301]ErrorDocument 401 default
BEGIN WordPress<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule index.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
END WordPressThis has stopped the redirect looping on the home.
5.Added in wp-config define(‘WP_HOME’, ‘https://www.example.com’); define(‘WP_SITEURL’, ‘https://www.example.com’); tried w and w/o the www.
6.Added the error/debug logs for php to read them back to me.
I really could use some help. Its driving me crazy. I am afraid this is going to continue again.
the site is https://www.gravitygolfacademy.com
- The topic ‘302 redirect looping wp-admin page’ is closed to new replies.