Skip to content

Works locally, but after deploying, it is not displayed correctly #2533

Answered by george-gca
maxdemirdilek asked this question in Q&A
Discussion options

You must be logged in to vote

Your urls in _config.yml seem to be fine, but looking at the Actions tab in your repo there are only pages build and deployment, which is weird. Looking at the console in your site, there are a lot of errors like this:

As you can see, it is trying to locate the assets under https://maxdemirdilek.github.io/al-folio/, which is wrong. This indicates that the latest uploaded version of your site was still with baseurl set as /al-folio.

Our recommended approach is to first make it work as an exact copy of the repository, only them clone and customize it further. This way it is easier to pinpoint which commit introduced the issue. Since your site still have small modifications, I would recomme…

Replies: 1 comment

Comment options

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