3

I've set Craft offline (System status). Is it possible to "open" one specific URL route so it can be accessed even though the website is offline?

For example the route: /blog/post

2

If you want to "open" more than one route, have a look at this question: Can I open templates/routes other than 503 when Craft is offline?

1
  • Fair enough. I'll accept this solution :) Feb 9 '16 at 11:37
3

You can add a template called 503.html to your /templates folder. Craft will then use that template whenever the system is turned off, due to the HTTP status being set to 503 (service unavailable).

Inside the 503.html template, you can of course include another template (e.g. blog/post).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.