Maintenance mode is a useful feature in Osclass that temporarily restricts user access to your website while you perform updates, modifications, or fixes.
Maintenance mode
When maintenance mode is enabled, visitors will see a message informing them that the site is currently undergoing maintenance.
Enabling Maintenance Mode
To enable maintenance mode in Osclass:
Navigate to Tools > Maintenance in the Osclass backoffice.
Check the current status of maintenance mode. If it is OFF, users can access your website.
Click the Enable Maintenance Mode button to activate maintenance mode.
Once activated, visitors will no longer be able to browse your website. Instead, they will see a message stating that the site is under maintenance.
Disabling Maintenance Mode
To disable maintenance mode and restore access to users:
Go to Tools > Maintenance in the Osclass backoffice.
If maintenance mode is currently ON, click the Disable Maintenance Mode button.
Your site will be live again, and visitors will regain access.
When to Use Maintenance Mode
Enabling maintenance mode is recommended in the following scenarios:
Performing System Updates: Before updating Osclass, plugins, or themes, use maintenance mode to prevent users from encountering errors.
Making Design or Structural Changes: If modifying themes, layouts, or core files, restrict access to avoid inconsistencies for visitors.
Database Maintenance: When running optimizations, backups, or modifications to the database, ensure no data inconsistencies occur.
Security Enhancements: If security vulnerabilities are detected, maintenance mode can be used to prevent unauthorized access until fixes are applied.
What Happens When Maintenance Mode is Enabled?
When maintenance mode is turned ON:
Visitors see a maintenance page instead of regular site content.
Admins can still log in and access the backoffice to make changes.
Search engines may temporarily remove pages from indexing if maintenance mode remains enabled for a long period.
Customizing the Maintenance Page
Osclass allows theme developers to customize the maintenance page by modifying the template file responsible for displaying the maintenance message. This can be found in your active theme directory.
Best Practices for Maintenance Mode
Keep downtime minimal to avoid losing visitors and SEO rankings.
Display an informative message about the estimated downtime and when the site will be available again.
Test the website thoroughly before disabling maintenance mode.
If possible, perform maintenance tasks during off-peak hours when traffic is lower.
Conclusion
Maintenance mode in Osclass is an essential tool for managing website updates and modifications without disrupting user experience. It ensures that visitors do not encounter broken pages while you perform critical changes. Always remember to disable maintenance mode once updates are completed.