Thursday, November 21, 2024
HomeEveryday WordPressHow to unpublish your WordPress site- Kinsta®

How to unpublish your WordPress site- Kinsta®


As a WordPress site user or maintainer, there may be times when you want to temporarily or permanently remove your site from the public eye. Whether you’re rebranding, performing major updates, or simply taking a break, knowing how to unpublish your WordPress site is valuable.

This article explains everything from using maintenance mode plugins for temporary changes to completely deleting your site. We also share essential SEO tips to help you manage redirects and maintain your site’s SEO health during the process.

How to completely unpublish a WordPress site

There are several ways to completely unpublish or delete your WordPress site. Your hosting provider plays a determining role in how this is done.

Top hosting providers like Kinsta make creating and deleting a WordPress site easy through its custom-built dashboard or via the Kinsta API programmatically. But for other hosting providers, you may use your cPanel.

We will go over both methods.

Unpublish a WordPress site with Kinsta

Kinsta provides customers with an intuitive dashboard — MyKinsta — to create, manage, and delete WordPress sites. It also provides its users with an API to do all of these.

To delete a WordPress site on MyKinsta, follow these steps:

  1. Log in to view your MyKinsta dashboard.
  2. Click WordPress sites on the left sidebar, then select the site you wish to delete.
  3. On the Site Information page, scroll down, and you will notice two options: Reset site and Delete site.
  4. To completely delete your site, click the Delete site button, confirm that you want to delete the site, and then delete it.

By completing these steps, the entire site won’t be accessible anymore. With Kinsta, you can also delete a site using the Kinsta API. All you need is the site ID and your API key, then send a DELETE request to https://api.kinsta.com/v2/sites/{site_id}:

curl -i -X DELETE
'https://api.kinsta.com/v2/sites/{site_id}'
-H 'Authorization: Bearer '

The operation will be commerce, and just like with MyKinsta, it will take a few seconds, and then your site will be forever gone.

Unpublish a WordPress site with cPanel

cPanel is a widely-used web hosting control panel that provides a user-friendly graphical interface for managing your web hosting server.

To unpublish your site with cPanel, follow these steps:

  1. Log into your cPanel account. You can access cPanel by navigating to yourdomain.com/cpanel and entering your username and password.
  2. In cPanel, click the WordPress Manager by Softaculous under the Software section. Next, a list of your WordPress installations is shown.
  3. Locate the site you want to delete and click a drop down icon to see options about the installation.
  4. Next, click the Remove or Uninstall button.

    Options to remove or uninstall a WordPress installation in cPanel.

Follow the prompts to remove the WordPress installation, including files and database, completely.



Source link

RELATED ARTICLES
Continue to the category

LEAVE A REPLY

Please enter your comment!
Please enter your name here


Most Popular

Recent Comments