• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 833
  • Last Modified:

How to get Joomla site to default to a coming soon page and still keep the site on in the background ?

Hello, I had found a workaround by having a site www.mydomain.com go to an index.html where there is just a coming soon graphic on index.html. This works since the hierarchy of pages shown first go as follows: index.html  then index.php when the domain url is entered.

Of course, Index.php is is still active in the background where I and the client can still log in as we do construction, however whenever I click on home in the menubar while in the site it goes to the splash page index.html and not index.php. is there a way around this?

Thanks in advance.
1 Solution
Panagiotis Sweb developer - designer Commented:
at modules/mod_mainmenu/helper.php!

$tmp->url = JURI::base();
$tmp->url = 'index.php';
Simple way

In global configuration set the site to offline
Site Offline Yes and save

Note: put what ever message you want to appear to the public in the offline message box
You will still be able to view your work by logging in but the public will not be able to view the site.

colonelblueAuthor Commented:
@panagiotiss : Thank you I will check that out.

@panagiotiss : Thank you however they would only want a splash page of sort with a graphic and have no sign of a login form or that the site is even under construction despite that it is.
Hi panagiotiss. I would recommend installing or moving the Joomla site to a folder (like /cms) and leave the index.html in the public_html root. Do whatever tests or changes you need to the website and move it back to the root when it's ready for production. The only changes required for moving the site between a folder and the root is in the config file. As long as you're using relative links to images during the creation of the site, you won't have to configure anything else when moving the site back and forth.

Good luck!
colonelblueAuthor Commented:
Thank you everyone however panagiotiss got the result exactly as I needed.
Regards and thanks to all.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now