Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

GitHub pages content available at GitHub and firefox.com domains #50

Open
devinreams opened this issue Apr 10, 2018 · 0 comments
Open
Labels

Comments

@devinreams
Copy link
Contributor

As the title says: we are serving up one website on GitHub Pages (github.io) and the same at lockbox.firefox.com. Ideally we can just direct all traffic to the firefox.com domain.


As a quick solution: when I tried to set the mozilla-lockbox.github.io repo to have a custom domain of lockbox.firefox.com, to enforce the canonical URL (eg: don't serve content from both firefox.com and github.io domains), then the sub-directories for all other org repos don't work.

For example: https://lockbox.firefox.com/lockbox-extension/ returned 404 since GitHub Pages wasn't actually storing content at that hosted subdirectory but was re-constructing the URLs with that firefox.com domain.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant