turn on wordpress website offline

Put WordPress website offline

Chances are you’ve come across them yourself: websites that are temporarily offline. Websites are often taken offline due to maintenance of existing pages or the addition of new pages. You do not want to confront your visitors with this, so it is wiser to temporarily take the website offline. You can do this in a very simple way via WordPress. Below you can read more about why you should make a website offline and two ways how you can take your WordPress website offline

turn on wordpress website offline
turn on WordPress website offline

Index

  • Why do you want to make a WordPress website offline?
  • How do you make a WordPress website offline?
  • Offline via plugins
  • Site Offline or Coming Soon
    1. WP Maintenance Mode
    2. Simple Maintenance
    3. Slim Maintenance Mode
    4. Ultimate Maintenance Mode
    5. Minimal Coming Soon & Maintenance Mode
  • Offline via .htaccess file
  • Your website is offline with two methods

Why do you want to make a WordPress website offline?

Of course, you want your website to be up and running most of the time. This is just not always feasible. You can have several reasons for this:

Your website is simply not finished yet. If your website is not yet completely ready, it is better to choose to keep the website offline for a while. To let visitors know about this, you can show them a special message.

Your website needs maintenance or updates. For example, if you want to adjust a new theme, a new code, or something else, it is wise to take your website offline for a while. This way you don’t confront visitors with a half-functioning website and you have plenty of room to test the changes that have been made in advance.

You temporarily do not want to do business via your website. If you are going on vacation or are temporarily busy with other activities, you can easily take your website offline. This way you can be sure that not only you but also your website can temporarily stop doing business.

How do you make a WordPress website offline?

There are two ways you can easily take your WordPress website offline for a while. The easiest way is by using a plugin. You can also take your website offline by using the .htaccess file.

Offline via plugins

By far the easiest way is to install a plugin. With such a plugin it is actually a matter of installing and using it. Whenever you need the plugin, you can find it via the dashboard. There are many different plugins that can help you take your website offline, often with a slightly different purpose. Below we have put together a short overview for you.

Site Offline or Coming Soon

This plugin ensures that you can easily put your website in an offline mode. In the meantime, you can easily continue working on the site. Via a separate page, which you can design and organize yourself, you can let visitors know that there is maintenance or the building of a new website.

1. WP Maintenance Mode

With this plugin, you can add a nice extra function to your maintenance page. You can easily link your social media channels there so that your users can keep in touch with you in a different way. You can also add images yourself, add a contact form or set a countdown until your website goes back online.

2. Simple Maintenance

As the name implies, this plugin is quite simple. You can easily create a maintenance page without too many extra options.

3. Slim Maintenance Mode

The Slim Maintenance Mode is similar to the Simple Maintenance. This plugin also provides a few simple functions to quickly create a maintenance page.

4. Ultimate Maintenance Mode

This plugin has a special function: it will probably give users a sneak peek of the new website. this can be in the form of a screenshot, for example. This way you keep your visitors engaged and interested.

5. Minimal Coming Soon & Maintenance Mode

This is again a simpler plugin. You can quickly choose a theme and then customize it to your liking.

turn on wordpress website offline
turn on WordPress website offline

Offline via .htaccess file

Time required: 5 minutes.

If you are unable to use a suitable plugin or if you simply do not have a WordPress website, you can always take your website offline via the .htaccess file. To do this, follow the steps below:

  1. Create new file
    Create a new file called .maintenance. Briefly describe why your website is under maintenance. Then format this according to the style of your website (or keep it nice and neutral) and save this file.
  2. Paste the following code into your .htaccess file
    Step 2: Paste the following code into your .htaccess file
    RewriteEngine on
    RewriteCond %{REMOTE_ADDR} !=123.45.67.89
    RewriteCond %{REQUEST_URI} !/maintenance.html$ [NC]
    RewriteCond %{REQUEST_URI} !\.(jpe?g ?}png}gif) [NC]
    RewriteRule .* http://www.example.nl [R=503,L]

On the third line, you see ‘=123.45.67.89’. Replace these numbers with your own IP address. This ensures that others see your newly set maintenance page, but you can still adjust your website yourself. Is your website up to date again? Then remove the 503 messages by removing the code above and deleting the .maintenance file.

Your website is offline with two methods

We showed you how you can take your (WordPress) website offline using plugins or the .htaccess file. In general, we recommend plugins: you can quickly turn them on or off and offer many display options for the page that customers see. Once you don’t have a WordPress site or it doesn’t work, you can still edit the .htaccess file.

 

for website maintenance service contact us.

Leave a comment

echo "";