how do i make so if my site goes down then it redirects to another uri/url
i use wordpress on my main sites and html on the redirect site
4 Replies
You want to check if the Wordpress site goes down and instead use Pages?
yes and this should be automated so if site goes down then the redirect will come and i can't use pages as if the server goes down
So…
You could use a health check to ensure the site is healthy. If not, send a webhook to like a Worker and have it setup a redirect rule.
You can then also remove the rule when it’s healthy again
Alternatively, send all traffic through the Worker, fetch the Wordpress site, if it fails then fallback to the Pages site
oh ok thx for help