SSL and Password issues after changing 'https' in site url

I was trying to work on caching with the plugin WP Fastest Cache installed, and for that plugin to actually generate the cache, it needs the ‘Site Address’ and ‘Wordpress Address’ inside Settings - > General to begin with ‘https’. I did the change but now the issues are:

  1. On clicking ‘Trust’, the SSL isnt trusted and there is an alert on top of the Local app window,
  2. Clicking on ‘Admin’ to access the dashboard now logs out and shows the login page instead, and it doesn’t even recognize the password.

How to go about solving this? Thanks.

  • Windows 10
  • nginx, PHP 7.3.5, MySQL 8.0.16
  • Local version: 6.1.8+5621

Hey @khanshop2018

I’ve moved this topic to the “Support” category since the “Bug” category is more for wide-spread, reproducible issues – Let’s see what’s going on and how we can help you!

Usually when you want to change the url for a site, you’ll want to do a search-replace on the site by right-clicking on the site and selecting “Open Site Shell” and then running:

wp search-replace 'http://example.local' 'https://example.local'

When only updating the url within the WP-admin, it only changes one field in the DB as opposed to all instances of it.

Can you try to run the search/replace command to update that protocol?

If you still have issues, can provide the Local Logs? You can get a zip of those logs by clicking the “Download Local Log” button from the “Support” tab of Local. See this help doc for more info about that button:

1 Like

This topic was automatically closed after 730 days. New replies are no longer allowed.