Website Maintenance Gate
Puts one website behind a maintenance page that answers HTTP 503 with Retry-After, on a schedule if you like, while signed-in staff, allowed IPs, a secret preview link and the paths you list still get through.
| Odoo | 16.0, 17.0, 18.0, 19.0, 20.0 |
| Editions | Community, Enterprise |
| Languages | English, French, Spanish, German, Italian, Portuguese (Brazil), Dutch, Chinese (Simplified), Japanese, Arabic, Russian |
| Works with | Website |
| Licence | LGPL-3, free |
| Tests | 25 automated, run on every version |
| Module | website_ |
The situation
You're moving the shop to a new theme, or the database upgrade runs tonight, and visitors shouldn't land on half-edited pages or order at prices you're still checking. Standard Odoo lets you unpublish pages one by one, but it has no switch that closes a whole website and tells search engines the downtime is planned.
This module adds a Maintenance block to the Website settings. Switch it on, or give it a start and end time, and every visitor gets one clean page with your title and message and an HTTP 503 status at the URL they asked for. Your employees, the offices you allow and whoever has the preview link keep seeing the real site.
What it adds
Getting started
Open Apps, clear the Apps filter, search for Website Maintenance Gate and click Activate. It needs only Website. Nothing changes for visitors until you switch Maintenance Mode on.
Apps › website_maintenance_gate › Activate
Pick the website at the top of the page, tick Maintenance Mode and, if you want a window, fill Start and End. Write the title and message under Maintenance Notice, add Allowed IPs and Open Paths if you need them, then Save.
Website › Configuration › Settings › Maintenance
Copy the Preview Link and send it to whoever has to check the site. When the work is done, untick Maintenance Mode or let End reopen the site. Click Regenerate link when the people who had the link shouldn't see the closed site any more.
Fine print
Log
Need something else on the maintenance page?
Tell us what should be on it and your Odoo version; a countdown or a contact line is usually a small change.
Email odoo.expert.111@gmail.com
Please log in to comment on this module