Whew! Just saved my website after discovering how easy it is to crash. It’s working but I would like to carefully properly fix the URL without wpconfig.php edit.

[ad_1]

So like so many others I started getting the mildly irritating https warnings when browsing sites in chrome including my own. So one productive day I decided I should try and update that for friendlier browsing. Skimmed some instructional page that featured the advice to just add the ‘s’ to the URL in the Settings>General> tab. It did cross my mind that it wouldn’t be THAT easy to completely crash the site, right? If it was surely there would at least be a warning.. right? and and Undo or something? At least the interface wouldn’t be unreachable.. boy was I wrong!

Anyway, after quite a bit more struggle than was justified I got it going through my FTP that I haven’t used in years by editing the wpoconfig.php file with the URL explicitly defined. I’m grateful that worked but in the interest of undoing it fully I’d like to fix it up completely. The previous Settings>General> now features a greyed out URL (which would have been great last week!).

For whatever reason editing the functions.php file with “update options” didn’t work.

Thanks for any help! I’m a wiser webmaster now.

[ad_2]
3 Comments
  1. To fix it properly you need to get into your database and edit the siteurl and home urls in the wp_options table.

    Here’s some info on how to do that:

    To use HTTPS you’ll need to get an SSL certificate first. You can buy one from your hosting provider, or generate a free one from letsencrypt.org if your hosting provider supports it.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer