Posts: 18
Threads: 6
Joined: Jul 2011
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
Posts: 18
Threads: 6
Joined: Jul 2011
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.
Posts: 2,928
Threads: 195
Joined: Feb 2011
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