-
AuthorPosts
-
March 26, 2021 at 3:26 pm #1290580
After setting up SSL for my website, I’m no longer able to login in normally:
/wp-admin takes me to a blank white page
/wp-login.php shows me a login UI with this error: “Cookies are blocked due to unexpected output. For help, please see this documentation or try the support forums.” And logging in fails (screen just refreshes, no additional errors shown).If I go into FTP and change the name of the enfold theme folder, thereby defaulting the site to use Twenty Twenty One, I can log in just fine.
I’m using a simple .htaccess rewrite rule for the SSL redirect, which seems to play fine with other themes, but there’s something about Enfold that isn’t working right. Hopefully it’s a simple fix!
RewriteCond %{HTTP_HOST} ^mysite\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.mysite.com/$1 [R,L]March 30, 2021 at 8:12 am #1291245Hey therampant,
Sorry for the late reply. We need to be able to access your site in order to help you out, the login page is currently loading blank on my end.
Why exactly do you need the code in your htaccess file, isn’t changing the site URL in the WordPress options enough?
Best regards,
RikardMarch 30, 2021 at 6:14 pm #1291430Hi Rikard,
Yes, the blank login page is exactly what I’m trying to fix. You can also try /wp-login.php which at least shows you the login form, but it too fails to work.I’d like to be able to get you to a place where you can log in, but the only way I can do that is by switching to the default theme. We currently have ads going to the site, so if we were to do that we’d need to coordinate so that it would only be switched for a short while, while you were looking.
Removing the code from my .htaccess file does not solve the problem. The reason I have that code there is that if someone goes to http://wewhistle.com it does not redirect to https:// without it.
I’m open to suggestions! :)
April 2, 2021 at 7:23 am #1291968Hi,
Thanks for the update. I’m not sure how we could help you out, if we can’t login to the site. Did you try to activate a default theme, then change the site URL to https in the WordPress options? After that you shouldn’t need the code in your htaccess file.
Best regards,
RikardApril 13, 2021 at 6:33 pm #1294201Yes, I have tried that. I have also tried taking the SSL redirect out of htaccess but I still have these weird issues logging in to enfold. It’s really frustrating, and I’m not sure what could be causing it, but it’s only with the enfold theme.
April 16, 2021 at 4:56 am #1294669Hi,
Thanks for the update. Since this is not a general theme problem, we would have to conduct general debugging. That would involve switching themes, disabling plugins, removing code from htaccess etc. Would that be ok to do on your live site? If not, then please copy it to a staging site. Also please include FTP login details in private.
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.