Skip to content

j127/domain_redirector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo is a template for redirecting domains using Cloudflare Pages.

Install

$ yarn

You will have to connect the site to the domain's project in Cloudflare Pages. You can run this command to list the available projects in Cloudflare:

npx wrangler pages project list

Configure

Change all instances of example.com to your domain name. (Search all the files for that string.)

Build and Deploy

$ yarn deploy

Test Redirects

All the responses should be 301.

$ yarn test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published