GetSimple Support Forum

Full Version: offline or Maintenance plugin/mode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do i show a maintenance template to the public only?

I want to be able to browse the site, but show a specific template just for visitors
well , since is a new site and html files have priority , i created a index.html file on root
that way i can live test stuff without anybody without the full url see its.
amaurib Wrote:well , since is a new site and html files have priority , i created a index.html file on root
that way i can live test stuff without anybody without the full url see its.

amaurib,

this priority depends on the settings in the .htaccess file:

Code:
DirectoryIndex index.php index.htm index.html

the sequence defines which index-file will be opened when the URL is opened in a browser without a dedicated file

so
Code:
DirectoryIndex maintenance.html  index.php index.htm index.html

would make it even more evident that, when there is a file "maintenance.html" this one will be opened in the browser, when the domain is in "real use" you can take off that file

Cheers, Connie