Change where a site is published

A site is published on one host at a time. To move it, open the choice of host again: Change where it is published, in the Publishing group of Settings or at the end of a publish in the Publish panel.

The Publish panel of a site on GitHub Pages, with Cloudflare Pages chosen and the note that the site moves and its address changes

Number

Part

What it does

1

Where it is now

The site's address and its host.

2

The other host

Choose it. The first time on Cloudflare Pages, SeedPage asks for a token.

3

What happens

The site moves and its address changes to the new host's. The copy on the old host stays online until you remove it there.

Publish now publishes the whole site on the new host, as a first publish there would, and writes the new address in the site's settings. The move counts only once the new host has published: if anything fails on the way, the site keeps its old host and its old address.

The end of a move to Cloudflare Pages: Published, Open the site, and the note that the copy on the previous host is still online at its github.io address

Number

Part

What it does

1

Published

The site is on its new host.

2

Open the site

The site at its new address.

3

The old copy

Still online at the old address, with the pages as they were.

The old copy

SeedPage never deletes anything on the host you left: visitors and search engines may still know the old address. Once the new address has replaced it where it was shared, remove the old copy:

  • On GitHub Pages: in the repository of the pages on GitHub, Settings, Pages, turn Pages off; or delete the repository, in Settings, Danger Zone. Do not delete a repository that also holds the sources of a site kept on GitHub.
  • On Cloudflare Pages: in your Cloudflare account, Workers and Pages, open the project, Settings, Delete project.

Moving back

Going back to the first host is another move. SeedPage uses again the repository or project it made before, if it is still there, and the address becomes that host's again.

A domain of your own

A domain of your own works on GitHub Pages only. Moving to Cloudflare Pages replaces it in the settings with the pages.dev address; moving back to GitHub Pages gives the github.io address, so write your domain in Settings again before publishing.