I’m VERY new to all this and have checked online and in these forums but can’t find anything which works (I must be missing something!) so I’m hoping one of you lovely folk may be able to help!
I was working on a site on my localhost yesterday and all was fine. There were some power cuts but I could still get on when the power came back on. Today I tried to enter the site and I’m getting the error ‘This site can’t be reached. ‘address…’ refused to connect.
My WAMP server is working fine and is green. I’ve checked mySQL and the details are fine as I haven’t made any changes. I didn’t change the theme or install any plugins yesterday.
Could the https be interfering? Although the error message isn’t for SSL?
Would reinstalling WAMP work?
Worse case scenario, should I set up another site and transfer the files across? I’ve done a fair bit of work (20 hours) on the site. Any help with how this works would be helpful too.
Could the https be interfering? Although the error message isn’t for SSL?
Since it worked before, so you must have had all the settings done right already. At the time it used to work, did you use http or https? Make sure the site configured correctly, in the wp_options table double check on siteurl and home.
I’ve checked and it’s set to http, rather than https, but I can’t stop it defaulting to https.
The port is fine and being used by Apache and there doesn’t seem to be anything wrong with the ip address.
So, it looks like I’ll need to find a way to stop it redirecting to https, however I searched online for this and followed the steps (in Chrome, delete the localhost address so it doesn’t block it and cleared the cache) but that didn’t work.
The other thing that I can think of is the .htaccess file, it’s in the root directory. See to it that it doesn’t redirect to https. I would just make a copy of it first just for a backup, then delete it, WP will regenerate this file again when we access permalink setting in admin.
Is there another way round this, aside from starting it all again? So, could I set up another site on my localhost and use the wordpress files I’ve already got?
Is there another way round this, aside from starting it all again?
Please see this youtube link
I don’t really think this is the case, but since we’ve checked all the common culprits already, also it’s just one line of code to be looked at, nothing to lose.
So, could I set up another site on my localhost and use the wordpress files I’ve already got?
Actually we do not need to re-do anything again, all your works will still be usable. I would reinstall core WP, keep wp-content folder, and database untouched, also make a backup copy of wp-config first