Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links zu older Posts returning github domain #273

Closed
ingm4r opened this issue Apr 8, 2021 · 1 comment
Closed

Links zu older Posts returning github domain #273

ingm4r opened this issue Apr 8, 2021 · 1 comment

Comments

@ingm4r
Copy link

ingm4r commented Apr 8, 2021

I've deployed lanyon in a setup like this:

Amazon Cloudfront <--> Github Pages

For Cloudfront I have configured my custom domain used for the blog. This domain is configured as url in config.yaml. All links work and the blog can be accessed at custom domain. The links generated at the bottom of the page (newer/older) also point to the custom domain, i.e. custom.tld/page2.
However when accessing custom.tld/page2 I get a 301 pointing to user.github.io the github pages domain.
Do I miss something here? Why does this request trigger a 301 back to github pages?

@ingm4r ingm4r closed this as completed Apr 8, 2021
@ingm4r
Copy link
Author

ingm4r commented Apr 8, 2021

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

No branches or pull requests

1 participant