{"id":2006,"date":"2020-10-15T14:20:39","date_gmt":"2020-10-15T06:20:39","guid":{"rendered":"https:\/\/www.intelliwolf.com\/?p=2006"},"modified":"2020-10-16T12:03:47","modified_gmt":"2020-10-16T04:03:47","slug":"close-down-wordpress-website","status":"publish","type":"post","link":"https:\/\/wordpress-757293-2559390.cloudwaysapps.com\/close-down-wordpress-website\/","title":{"rendered":"How To Close Down A WordPress Website"},"content":{"rendered":"\n
There comes a point in every business, when it's time to close down.<\/p>\n\n\n\n
I closed down a business website for a client today and figured I'd walk through how I did it, for people who've not done it before.<\/p>\n\n\n\n
It's not as simple as just deleting the website and walking away. You want to leave behind a notice that the site has closed down, but not have to worry about updating plugins or getting hacked.<\/p>\n\n\n\n
How to close down a WordPress Website<\/strong>:<\/p>\n\n\n\n Let's go through those in detail.<\/p>\n\n\n\n Before you remove the website, make sure you take a backup of the website.<\/p>\n\n\n\n Even if you're sure you'll never want to have anything to do with it again.<\/p>\n\n\n\n Just do it. Storage space is cheap.<\/p>\n\n\n\n I've written a full tutorial on all the ways you might backup a WordPress site<\/a> which you can go through if you need.<\/p>\n\n\n\n I can't tell you the number of times I've shut down a website and months later came across a similar problem that I solved on that website. It's really quick to setup the site on my local XAMPP installation<\/a> and refresh my memory on what I did.<\/p>\n\n\n\n You just want a simple notice to let people know the site has closed for good.<\/p>\n\n\n\n Create a page in the root folder (usually called \"public_html\") for the domain called index.html<\/em>.<\/p>\n\n\n\n If you're not sure where to put the index.html file, it will be in the same folder where you have wp-config.php<\/em> for the domain.<\/p>\n\n\n\n If you're not sure how to create and edit the file, see my tutorials on either editing files through FTP<\/a> or editing files in cPanel<\/a>. I recommend doing it through cPanel, simply because you'll need to go into cPanel to delete the files and databases later.<\/p>\n\n\n\n The code I used on today's project was:<\/p>\n\n\n\n That will create a splash page that looks like this:<\/p>\n\n\n\nTake a full backup of the website<\/h2>\n\n\n\n
Add a html notice that the site is closed<\/h2>\n\n\n\n
<html>\n <head>\n <title>Jim's Widgets Has Closed<\/title>\n <meta name=\"robots\" content=\"noindex\" \/>\n <style>\n body {\n background-color: #1C448E;\n color: #fff;\n font-size: 20px;\n }\n .content {\n margin: 30% auto;\n max-width: 600px;\n text-align: center;\n }\n h1 {\n text-align: center;\n }\n <\/style>\n <\/head>\n <body>\n <div class=\"content\">\n <h1>Jim's Widgets Has Closed<\/h1>\n <p>Unfortunately, it is time to move on from this venture.<br>Thanks to everyone for joining us in this journey.<\/p>\n <p>- Jim's Widgets<\/p>\n <\/div>\n <\/body>\n<\/html><\/code><\/pre>\n\n\n\n