Create
index.html
and write in the following:<!DOCTYPE html> <meta charset="utf-8"> <title>Redirecting to [your.new.site]</title> <meta http-equiv="refresh" content="0; URL=[your.new.site]"> <link rel="canonical" href="[your.new.site]">
Done π
If you donβt want to lose your files for old site, just create a new branch and set it as the branch to be deployed:
settings β pages β Build and deployment β
Branch
Β
Β