0

Hi guys I have a problem, Im trying to import a Wordpress project to my localhost. I did all the required steps like importing the sql databases and changing the config file and whatnot.

So I am now able to enter the Admin portion of the site.

But I get an SSL error or at least what I assume to be an SSL error whenever I try to access the site itself (can't establish secure connection) and the address bar turns from http:// to https://

When I change the theme to twentyseventeen I am able to enter the site.

With this I can conclude that the problem lies within my theme.

I rechecked my wp-config and my .htaccess files and none of them point to any https stuff either! At this point I am completely stumped

So my question is does anyone know what files within the theme affects the SSL stuff?

2
  • 1
    You should also change the Db values in the options table to reflect the new urls. Also on the site do you support the https or not? Commented Nov 10, 2017 at 10:26
  • 1
    use the network monitor to look if all requests use HTTPS, e.g. with firefox : developer.mozilla.org/en-US/docs/Tools/Network_Monitor
    – mmm
    Commented Nov 10, 2017 at 10:26

1 Answer 1

0

I agree with Drupalizeme above. Use phpmyadmin and go to wp-options table. you should see a line for siteurl. make sure it does not say HTTPS. There will most likely be a second line for the wordpress site which you should also check. Those two settings are usually in the Settings > General tab in the admin .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.