Disable preview for pages

Hi, is it possible to disable the "preview" on pages ?
5 Replies
Cyb3r-Jak3
Cyb3r-Jak36d ago
What do you mean by preview? The preview enviorment is built into Pages. You can redirect all of the preview URLs though https://developers.cloudflare.com/pages/how-to/redirect-to-custom-domain/
Cloudflare Docs
Redirecting *.pages.dev to a Custom Domain · Cloudflare Pages docs
Learn how to use Bulk Redirects to redirect your *.pages.dev subdomain to your custom domain.
From An unknown user
From An unknown user
Ponez
PonezOP5d ago
by preview I mean this that can be disabled on workers, but pages on the other hand don't have this option at all, you can delete a deployment but not the preview url
No description
No description
Cyb3r-Jak3
Cyb3r-Jak35d ago
Ah, you can't disable the .pages.dev domain. You can either put access in front of the preview domains or redirect them to your main domain
Ponez
PonezOP3d ago
Would a feature request be possible ?

Did you find this page helpful?