Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
up vote 2 down vote accepted

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?

share|improve this answer
    
Fair enough. I'll accept this solution :) – naboovalley Feb 9 at 11:37

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).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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