Hello,
I wish to switch off my website. what can I do?
THS
Hello, I wish to switch off my website. what can I do? THS |
What do you mean by switch off? Do you want to put the site in a "Maintenance Mode" or do want when one types the URL to your site they get a blank page or what? Geeks, making the world a better place |
Deano's maintenance mod should do the trick nicely: http://www.boonex.com/m/Site_Maintenance_Mode_Mod BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Yes, I wish to put the site in a "Maintenance Mode". What can I do? |
Yes, I wish to put the site in a "Maintenance Mode". What can I do? I can recommend the module mentioned above. It allows admins to log in and work but members are not allowed to do anything. Deano is a great vendor to work with as well. Geeks, making the world a better place |
Yes, I wish to put the site in a "Maintenance Mode". What can I do? If you don't want to install yet another module... Do what I do which is very simple. Create a "index.html" file stating your site is offline and what ever else you need to say, then upload to your root. When you want to go into "maint mode" simply rename the "index.php" to something like "_index.php," that will make the index.html page show instead. When your done, rename the index.html to _index.html and restore the index.php. Clear/Clean your cache each time. Very simple. You can still do what you need in the back-end. ManOfTeal.COM a Proud UNA site, six years running strong! |
Keep in mind the index.html trick is very basic, and the site will still be normally accessible - just the homepage will be hidden away. It only keeps out people who don't look further than that. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Keep in mind the index.html trick is very basic, and the site will still be normally accessible - just the homepage will be hidden away. It only keeps out people who don't look further than that. True, but how many really know how to "get" in. It's just something I was doing long ago before the modules, some of the first ones didn't work right so I did my "cheap trick." ManOfTeal.COM a Proud UNA site, six years running strong! |
I see a default message for maintenance mode - why is this not setup by default. This would seem like one of the very first and basic elements of dolphin. caredesign.net |
I see a default message for maintenance mode - why is this not setup by default. This would seem like one of the very first and basic elements of dolphin. You should know better than that by now... lol Some of the most simple things are left out, and too much unnecessary stuff put in. ManOfTeal.COM a Proud UNA site, six years running strong! |
Thanks every body for your help. |
True True True Spongebob: "Hey Patrick, let's put a message that shows the site is in Maintenance Mode." Patrick: "Ooh, Ooh, Ooh, Yeah, but let's not put any way to enable maintenance mode" Spongebob: "That'll teach em" Spongebob and Patrick: (laughing together) caredesign.net |
I see a default message for maintenance mode
Where do you see this? ManOfTeal.COM a Proud UNA site, six years running strong! |
lt me find it - i have seen it a few times - just never took note of where it was at, and wondered why it was not enabled by default. caredesign.net |
lt me find it - i have seen it a few times - just never took note of where it was at, and wondered why it was not enabled by default. Curious, as I did a language key search for "maintenance" and "mode" neither returned any results related to "maintenance mode." ManOfTeal.COM a Proud UNA site, six years running strong! |
it wasn't a language key. I can not remember what page it was on exactly, and I have been trying to find it. One thing I just remembered though. Before I did my move to new server, I had a opencart site in a folder that I was prepping to make into a module. I could have been looking at the coding for that page. The only thing I can find now are on sites.php and search_home.php and I do not think those were what I saw before. caredesign.net |
If you want to make sure that members can not access the site; so they don't upload content, etc., then some way is needed to prevent browsing, They could have a bookmark to their page or be logged into the site and thus can browse. I wanted to be sure that members could not come in some way other than the front end and the module mention does that. One could change the vhost and point the domain to a static page and use the IP address to manage the site. I like the module because it is quick and easy to take the site on and off line when needed to do some maintenance work. When we had to restore some content to the database, we wanted to be sure that site activity was turned off while we were doing the database work and the module made it quick and ensured us that members would not be accessing the database while we did our work. Geeks, making the world a better place |
RE Hello, I wish to switch off my website. what can I do? THS In the file /inc/header.inc.php, just add this right below the opening php tag like this: <?php
Put whatever message you want in maintenance.htm My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
I meant to add that if you still need to browse pages as an admin while your site is disabled for everyone else, Deano's mod is well worth the price. Every other method here, including mine, is very limited. My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
RE Hello, I wish to switch off my website. what can I do? THS In the file /inc/header.inc.php, just add this right below the opening php tag like this: <?php
Put whatever message you want in maintenance.html Nice! ManOfTeal.COM a Proud UNA site, six years running strong! |
For $10 Deano's module is well worth it. Just take two clicks, one to check the box, the other to hit the button to do it. The same to take it out of maintained mode and you can continue to work on the site. Geeks, making the world a better place |