301 Cloudflare Page to Custom Domain with _redirects

How do 301 redirect a Cloudflare page to a custom domain that has been installed on it without using javascript (example using javascript) so the only way to read the content is to open the custom domain. Maybe use the _redirects file but I don’t really understand that. Please provide a sample code if you really have to use it because I’m still a newcomer.

You may use Bulk Redirects for this.

A tutorial for www redirection is available here:

In your case, you would follow the same instructions but when you get to entering the URL for the source you would enter myproject.pages.dev and in the target you would enter your custom domain. (With https)

It would be something like this:

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.