Running site locally - Issues with SSL and Previews

Hi, I am looking to update my site but want to run tests initially locally. I’m using WAMP, and locally have updated everything plugin as well as X theme and cornerstone etc and all is working fine, except the home page. When I click on the home page it does not load. The errors shows: " This site can’t be reached. localhost* refused to connect."

I think it has to do with SSL because it seems only that page shows up as https://localhost/sitename while the others do not. I’ve checked and it all shows up as http:// not https:// in all the settings I’ve looked.

The second issue is when editing pages in Cornerstone it does now show the change on right side while they are made. If a change is made, saved and reviewed it’s there though so at least it’s doing that.

Any advice/guidance would be appreciated.

Hello @WebGuy,

Thanks for writing to us.

It might be the issue of database URLs that are not fully replaced while moving the site and that causes the issue.

You can also try out this arcticle on how to update the URLs when you are moving the sites.

Also, remember that the exact URL should be mentioned in Setting > General , WordPress Address and Site URL , including the protocol i.e HTTP/HTTPS.

Or

It might be the issue of PHP Memory Limit and PHP Execution Time Limit. I recommend increasing the following server settings to the specified value or larger.

PHP configuration recommended

memory_limit = 512M
upload_max_filesize = 512M
post_max_size = 512M
max_execution_time = 300
max_input_time = 300

1.) Increase PHP Memory Limit
2.) Increase PHP Execution Time Limit

Hope it helps
Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.