SMF Support > SMF 2.0.x Support
How do I put my forum in maintenance mode?
(1/1)
mtechama:
How do I put my forum in maintenance mode? I am moving it to my main directory.
Thanks
Krash.:
Admin -> Server Settings -> Enable Maintenance Mode
MrPhil:
Why are you moving your forum? Is it so people don't have to type in "/forum" in the URL? That is actually a very bad thing to do. You will make it difficult for you to install other applications on this site and the root directory will be a mix of SMF and site system files (difficult to maintain). Existing search engine listings and member bookmarks will become invalid.
What you want to do is to automatically redirect visitors to / over to /forum, until such time as you add a "landing page" with links to your forum and other applications on your site. In /.htaccess:
--- Code: ---RewriteEngine On
RewriteCond %{REQUEST_URI} !^/forum [NC]
RewriteRule ^(.*)$ /forum/$1 [L]
--- End code ---
mtechama:
--- Quote from: MrPhil on September 03, 2012, 10:03:13 AM ---Why are you moving your forum? Is it so people don't have to type in "/forum" in the URL? That is actually a very bad thing to do. You will make it difficult for you to install other applications on this site and the root directory will be a mix of SMF and site system files (difficult to maintain). Existing search engine listings and member bookmarks will become invalid.
What you want to do is to automatically redirect visitors to / over to /forum, until such time as you add a "landing page" with links to your forum and other applications on your site. In /.htaccess:
--- Code: ---RewriteEngine On
RewriteCond %{REQUEST_URI} !^/forum [NC]
RewriteRule ^(.*)$ /forum/$1 [L]
--- End code ---
--- End quote ---
I don't know why you have to be so rude. This is for my computer website and I have close down computer shop and its just going to be support forum. It's my site and I can do what ever I feel like doing.
Navigation
[0] Message Index
Go to full version