WordPress.org

Forums

Hiding the site with a 'splash' page (9 posts)

  1. George McKnight
    Member
    Posted 6 years ago #

    Is there a way to have a 'splash' page on my site that'll hide the rest of my content/pages until I have fully tested and made sure the site is working completely the way it should, and will then be removed to reveal the site.
    e.g. A visitor will visit my site and see a notice (the splash page) that will inform them that the site will be available soon

  2. Ben Sutcliffe
    Member
    Posted 6 years ago #

    You could, technically, upload an index.html file which your host may give preference to the .php file of WordPress - however this may prevent WordPress from working correctly. Alternatively you could just edit your first post to indicate what's going on.

  3. George McKnight
    Member
    Posted 6 years ago #

    Thanks for getting back to me bsutcliffe.
    I've tried the 'index.html' option, but when I visit the site e.g. http://www.mysite.com, you don't land on http://www.mysite.com/index.html.
    I could look at the option of creating the 'splash' page using a basic template that doesn't show any of my intended navigation/content, and making that the 'Home' page until I'm ready.
    Thanks any way, if you find a simpler approach, let me know.
    Cheers

  4. esmi
    Forum Moderator
    Posted 6 years ago #

    Create a new page template, name it "Splash Page". Add to theme. Create new page in WP using new template. Use Admin/Reading/ to set front page display to static page and pick new page from dropdown.

    Howzzat? A splash page in about 5 mins flat. ;-)

    The new splash page template doesn't have to use the_content or the_excerpt. You can hardcode the page's content within the template.

  5. George McKnight
    Member
    Posted 6 years ago #

    That's just what I said esmi :-) Thanks anyway, I may end up going down this route

  6. MAzCastro
    Member
    Posted 6 years ago #

    esmi said: "Create a new page template, name it "Splash Page". Add to theme. Create new page in WP using new template. Use Admin/Reading/ to set front page display to static page and pick new page from dropdown."

    How is this done?, Do I create a new *.php page in my theme's folder? and then?

    MAC :)

  7. MAzCastro
    Member
    Posted 6 years ago #

    Its done, somehow I'd lost the link in my brain where the info about creating alternative templates was. Now its connected again & the problem is solved in the best way.

    Tks again esmi!

    MAC :)

  8. berchman
    Member
    Posted 5 years ago #

    pixel8,
    I would use the maintenance mode plugin.

    http://wordpress.org/extend/plugins/maintenance-mode/

  9. dcannon1
    Member
    Posted 5 years ago #

    I second the use of the maintenance mode plugin. I use it on all of my dev environments and while I'm doing upgrades and such. It's quick, easy and clean.

Topic Closed

This topic has been closed to new replies.

About this Topic