I was using WordPress and later I backup my all data and database to move it into another computer. I moved all my files in www directory in wamp server. Everything was fine but I encountered an error,
Error in login into the database.
SO after googling I changed my username, database name, and password in wp-config.php accordingly. Everything was fine but now it is showing
This site can’t be reached
The connection was reset.Try:
Checking the connection
Checking the proxy and the firewall
Running Windows Network Diagnostics
ERR_CONNECTION_RESET
I though again I am not able to login, so I tried to change the name to my another Wordpress database, and it is opening well. So I thought it is not login in my database, so I create a file and logged in manually to check the username, password and database name. And it show that I am logged in successfully. SO what I'm missing here and why can't I access wordpress site.
A bug in these settings can also cause “this site can’t be reached” error in WordPress. So what you can do is use an FTP program like Filezilla to connect to your site. Then locate the .htaccess file in the root folder of your website. First, you need to back up the .htaccess file before making any changes to it.
But the actual location of WordPress files is still in the old location, so when you try to visit WordPress admin URL you actually requesting a page that does not exist. To solve the “Can’t access WordPress after changing site URL” error you simply need to change the website URL and restore the old URL.
If you can access it, then the first thing you should do after logging into the WordPress dashboard is navigate to Settings > Permalinks. Click on the Save Changes button to restore your permalink settings in the .htaccess file. This step is crucial, otherwise, you will get 404 page not found errors on your site.
In most cases, the error comes from problems with your internet connection or DNS and caching settings. If you encounter the “This site can’t be reached” message, here are five ways to fix it from least to most complicated: Restart your internet connection. Disable your firewall and antivirus.
I had the same problem as yours. And after searching a lot, I found that ThreadStackSize limit in my new computer (where I was shifting my whole WordPress stuff) was not defined (or not enough). So I think your Wordpress data must be large enough that exceeds ThreadStackSize.
So U think this will resolve your issue.
Click on the green wamp icon in the tray icons (right side of your taskbar.)
Now goto apache>httpd.conf.
Now search for ThreadStackSize in that file.
`
<IfModule mpm_winnt_module>
ThreadStackSize 8388608
</IfModule>
Now click again on the green wamp icon in the icon tray and then restart the wamp server.
There's no any step five, just reload the page. And all is done.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With