Redirect username.giuhub.io to anything

Redirect username.giuhub.io to anything

Tags
Web Dev
Published
January 10, 2024
Author
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
Β 
Β