GetSimple Support Forum
offline or Maintenance plugin/mode - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: offline or Maintenance plugin/mode (/showthread.php?tid=2168)



offline or Maintenance plugin/mode - amaurib - 2011-09-09

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


offline or Maintenance plugin/mode - amaurib - 2011-09-10

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.


offline or Maintenance plugin/mode - Connie - 2011-09-10

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