Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blowcomotion.github.io

Static GitHub Pages site that redirects visitors from the apex domain blowcomotion.org to the www subdomain https://www.blowcomotion.org.

Purpose

This repository serves as a redirect solution for the apex/naked domain. When users visit https://blowcomotion.org, they are automatically redirected to https://www.blowcomotion.org where the main website is hosted.

How it works

Two files handle redirects for all paths:

index.html (root path)

Handles visits to blowcomotion.org/ using:

  1. Meta refresh: <meta http-equiv="refresh" content="0; url=https://www.blowcomotion.org">
  2. JavaScript redirect: Fallback redirect using window.location.href
  3. Manual link: User-clickable link in case automatic redirects fail

404.html (all other paths)

GitHub Pages serves 404.html for any non-existent path, which:

  1. Captures the current path, query string, and hash
  2. Redirects to www.blowcomotion.org with the same path preserved
  3. Example: blowcomotion.org/chartswww.blowcomotion.org/charts

Setup

  1. This repository is configured as a GitHub Pages site
  2. The apex domain blowcomotion.org is configured to point to GitHub Pages
  3. GitHub Pages serves the index.html file when users visit the apex domain
  4. Users are immediately redirected to https://www.blowcomotion.org

SEO Considerations

  • The page includes <link rel="canonical" href="https://www.blowcomotion.org"> to indicate the preferred URL
  • <meta name="robots" content="noindex, nofollow"> prevents search engines from indexing the redirect page
  • The redirect is fast (0-second delay) to minimize SEO impact

Domain Configuration

To use this redirect:

  1. Configure your apex domain DNS to point to GitHub Pages:

    ALIAS blowcomotion.github.io
    
  2. Enable GitHub Pages on this repository (Settings → Pages)

  3. Configure your custom domain in GitHub Pages settings to blowcomotion.org

Testing

You can test the redirect by visiting https://blowcomotion.org - it should automatically redirect to https://www.blowcomotion.org.

About

Stores the static redirect for the naked domain -> www domain

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages