An Entrepreneur, Coach, IT Consultant, Strategic Adviser, and a Traveler craving to explore and contribute to forming a better society.

Tuesday, August 25, 2009

How to turn Drupal Site Online or Offline?

No comments :
Turn Drupal Site Online or Offline

How to turn Drupal Site Online or Offline?


Method #1:

To return the site to online/offline mode visit the following page:

In Drupal 4:
Administer -> Settings

In Drupal 5 & 6:
Administer -> Site configuration -> Site maintenance

Method #2:

Alternatively you can also change the database directly to change the site status by issuing the following mysql commands
UPDATE variable SET value = 's:1:"0";' WHERE name= 'site_offline';
DELETE FROM cache WHERE cid = 'variables';

No comments :