6

Creating a Coming Soon page for WordPress – DreamHost Knowledge Base

 2 years ago
source link: https://help.dreamhost.com/hc/en-us/articles/4413714054292-Creating-a-Coming-Soon-page-for-WordPress
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Creating a Coming Soon page for WordPress

Overview

This article describes how to create a static Coming Soon page that will be set as the homepage for your WordPress website. This type of page is useful when you need to display a general page to visitors before your full website is made public.

Creating a static page

  1. Log in to your WordPress dashboard.

    WordPress add new page

  2. In the left panel, navigate to Pages > Add New.

    WordPress editor

  3. Edit the Coming Soon page as you would like it to appear.
  4. On the top right, click the Publish button.

    wp-coming-soon-live.png

  5. A confirmation message appears on the top right.

    WordPress logo icon

  6. On the top left, click the WordPress icon to return to the dashboard.
  7. In the left panel, navigate to Settings > Reading.

    WordPress Reading page

  8. On the Reading Settings page, click the Homepage dropdown and choose the Coming Soon page you just created.
  9. Click the Save Changes button to save this new homepage.
  10. Visit your site's homepage to view the new page you created.

Manually enabling WordPress' scheduled maintenance page

An alternative to creating a Coming Soon page is to enable the WordPress scheduled maintenance page.

  1. Log in to your server and create a file named .maintenance.
  2.  Add the following lines to the file:
    <?php
    $upgrading = time();
    ?>

    WordPress maintenance page

  3. Visit your site and you'll see the default maintenance message.

To remove the scheduled maintenance page, delete or rename the .maintenance file.

Using a customized site maintenance page

The following article explains how to use a customized site maintenance page using an .htaccess file:

Using a plugin to create a Coming Soon page

There are also third-party plugins that can be used to create Coming Soon pages with some extra options. Below is a list of some third-party plugins.

Did this article answer your questions?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK