How To Stop WordPress Website

There may come a time when you need to stop your WordPress website temporarily or permanently. This can be due to various reasons, such as maintenance, migration, or simply shutting down the site. In this blog post, we will discuss the different methods you can use to stop your WordPress website effectively and safely.

Method 1: Using a Maintenance Mode Plugin

If you only need to temporarily stop your website for maintenance or updates, then putting your site in maintenance mode is the ideal solution. Here are the steps to do this:

  1. Install a maintenance mode plugin like WP Maintenance Mode or Coming Soon & Maintenance Mode.
  2. Activate the plugin and go to its settings.
  3. Enable maintenance mode and customize the message that visitors will see while your site is under maintenance.
  4. Save your changes and your site will now display the maintenance mode message to all non-logged-in users.

Method 2: Disabling the Site through Your Hosting Control Panel

If you want to stop your WordPress website permanently or for an extended period, you can disable it through your hosting control panel. This can usually be accomplished by deleting or renaming the index.php file in your site’s root directory. Here’s how:

  1. Log in to your hosting control panel.
  2. Navigate to the File Manager and locate your site’s root directory (usually named public_html or www).
  3. Find the index.php file and either delete it or rename it (e.g., to index.php.bak).

Please note that this method will make your site completely inaccessible to everyone, including you, so create a backup of your website before proceeding.

Method 3: Blocking Access with an .htaccess File

You can also stop your WordPress website by blocking access to it using an .htaccess file. Here’s how:

  1. Log in to your hosting control panel and open the File Manager.
  2. Navigate to your site’s root directory and look for the .htaccess file. If it doesn’t exist, create a new one.
  3. Edit the .htaccess file and add the following code at the beginning of the file:
    # BEGIN Stop Website
    Order Allow,Deny
    Deny from all
    # END Stop Website

This will block access to your entire site. To allow access to specific IP addresses, add the following line after Deny from all:

Allow from your-ip-address

Replace your-ip-address with the actual IP address you want to allow.


There are several methods available to stop your WordPress website temporarily or permanently. Make sure to choose the appropriate method based on your needs and always create a backup of your website before making any changes. Good luck!