M1X1X1X
CDCloudflare Developers
•Created by M1X1X1X on 5/16/2024 in #pages-help
How to set 410 response codes for deleted pages in Cloudflare Pages?
Does anyone know how to set 410 response codes for deleted pages in Cloudflare Pages? With Netlify you could add a redirect in the _redirects file /example-page/ /410/ 410, but this doesn't work with Cloudflare Pages.
2 replies
CDCloudflare Developers
•Created by M1X1X1X on 5/4/2024 in #general-help
How to connect to an existing project on Cloudflare Pages using wrangler CLI?
Hi,
How can I connect websites I created with Hugo to their existing projects on Cloudflare Pages using wrangler CLI?
When I run the following command:
npx wrangler pages project list
it shows all 3 websites (projects).
But how can I connect each website to its project on Cloudflare Pages?
I want to start over because today wrangler started to upload (deploy) my website's public folder to the wrong project on Cloudflare Pages.
I found the solution: npx wrangler pages deploy <DIRECTORY> --project-name=<PROJECT_NAME>
1 replies