Skip to content

GitHub pagees works just for one site #22108

Discussion options

You must be logged in to vote

This is happening because you’ve got a service worker installed for the site hosted from your stasmotorny/stasmotorny.github.io repository.

When you add a custom domain to a repository using the *.github.io naming scheme this custom domain applies to all sites hosted from your account.

When the service worker is installed it will capture all traffic to sites hosted from the same domain frontdev.pp.ua and redirect it to the root index page of your site. As all Pages sites from your account are now hosted from this domain all visits to your other site are being redirected to the site hosted from stasmotorny/stasmotorny.github.io.

There are 2 options for how to fix this:

  1. Disable the servic…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants