Answers.Body: <p>You can use the <code>redirect</code> <a href="http://buildwithcraft.com/docs/templating/redirect" rel="nofollow">tag</a>. Put this in your <code>index.html</code> template:</p>
  
  <pre><code>{% redirect "coming-soon" %}
  </code></pre>
  
  <p><strong>EDIT</strong></p>
  
  <p>If you want to stay on the homepage but want to show the template code for another page, you can use <a href="http://twig.sensiolabs.org/doc/tags/include.html" rel="nofollow">Twig include</a>. Put this in your <code>index.html</code> template:</p>
  
  <pre><code>{% include "coming-soon" %}
  </code></pre>
  
  <p>Alternatively, just put your Coming Soon template code straight onto <code>index.html</code>? Either way, this answer should cover everything you need.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-26T15:04:31.487Z
Answers.Text: Thanks for this method.
  But this will show http://example.com/coming-soon. What if i just want the url link http://example.com/
Answers.UserDisplayName: Hs Tung
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-26T15:09:30.157Z
Answers.Text: Right ok, that's not really a re-direct then as you are staying on the homepage, but showing content from another page. I have updated my answer with another method.
Answers.UserDisplayName: Jamie Wade
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-26T15:13:57.950Z
Answers.Text: Oops.
  Sorry my question not specific enough.
  Yeah, currently I place all my code coming soon code in index.html.
  I thought can do it in the route setting then easy for me set back later.
  Thanks alot. =)
Answers.UserDisplayName: Hs Tung
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-26T15:19:08.503Z
Answers.Text: @HsTung No problem at all, glad to help!
Answers.UserDisplayName: Jamie Wade
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-26T14:43:08.337Z
Answers.LastActivityDate: 2015-02-26T15:09:28.700Z
Answers.LastEditDate: 2015-02-26T15:09:28.700Z
Answers.UserDisplayName: Jamie Wade
Answers.Body: <p>If you are trying to cover the site from the public while working on it live, i personally would name my coming soon template file <code>503.html</code></p>
  
  <p>Then in the General Settings section of the control panel, switch System Status off.</p>
  
  <p>That way so long as you are logged in, you can access the site as normal but anyone else visiting your site will see the contents of the <code>503.html</code> template.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-26T19:17:26.810Z
Answers.Text: Never noticed this feature, good find! There's even a setting in user group rights to allow login while the site is off. While building the site you can `include` the coming-soon.html and later switch to a proper 503.
Answers.UserDisplayName: carlcs
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-25T17:32:38.630Z
Answers.Text: Note that page status code returned 503. Probably not the best option for a coming soon page.
Answers.UserDisplayName: Jason
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-26T17:54:35.210Z
Answers.LastActivityDate: 2015-02-26T17:54:35.210Z
Answers.UserDisplayName: Dan Owen
Body: <p>I want to redirect <a href="http://example.com" rel="nofollow">http://example.com</a> to coming-soon.html template, but not index.html.</p>
  
  <p>Possible to do it in route settings?</p>
  
Tags: <redirect>
Title: How to redirect to Coming Soon template
ThreadText: # How to redirect to Coming Soon template
  
  (Asked by: username_0 on 2015-02-26)
  
  I want to redirect <http://example.com> to coming-soon.html template, but not index.html.
  
  Possible to do it in route settings?
  
  **Tags:** redirect
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2015-02-26. Score: 13 | Accepted answer
  
  If you are trying to cover the site from the public while working on it live, i personally would name my coming soon template file `503.html`
  
  Then in the General Settings section of the control panel, switch System Status off.
  
  That way so long as you are logged in, you can access the site as normal but anyone else visiting your site will see the contents of the `503.html` template.
  
  > **Comments:**
  > **username_3**: Never noticed this feature, good find! There's even a setting in user group rights to allow login while the site is off. While building the site you can `include` the coming-soon.html and later switch to a proper 503.  
  > **username_4**: Note that page status code returned 503. Probably not the best option for a coming soon page.  
  
  ---
  
  ### Answer by username_1 on 2015-02-26. Score: 4
  
  You can use the `redirect` [tag](http://buildwithcraft.com/docs/templating/redirect). Put this in your `index.html` template:
  
  ```
  {% redirect "coming-soon" %}
  
  ```
  
  **EDIT**
  
  If you want to stay on the homepage but want to show the template code for another page, you can use [Twig include](http://twig.sensiolabs.org/doc/tags/include.html). Put this in your `index.html` template:
  
  ```
  {% include "coming-soon" %}
  
  ```
  
  Alternatively, just put your Coming Soon template code straight onto `index.html`? Either way, this answer should cover everything you need.
  
  > **Comments:**
  > **username_0**: Thanks for this method. But this will show http://example.com/coming-soon. What if i just want the url link http://example.com/  
  > **username_1**: Right ok, that's not really a re-direct then as you are staying on the homepage, but showing content from another page. I have updated my answer with another method.  
  > **username_0**: Oops. Sorry my question not specific enough. Yeah, currently I place all my code coming soon code in index.html. I thought can do it in the route setting then easy for me set back later. Thanks alot. =)  
  > **username_1**: @username_0 No problem at all, glad to help!  
  
  ---
  
  