Works locally, but after deploying, it is not displayed correctly #2533
-
Locally my webpage works beautifully. However, after deploying it, it looks as follows: What is wrong? How can I fix this issue? I read the FAQ page but, as far as I can see, the As a side remark: It says "Some checks were not successful - (pages build and deployment / build (dynamic))" under "Actions". Maybe this error message indicates the cause of the problem ... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Your urls in As you can see, it is trying to locate the assets under 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 recommend you save your site locally, start from scratch following strictly the recommended approach, then transfer your modifications to your new repo with the help of a tool like meld or winmerge. |
Beta Was this translation helpful? Give feedback.
Your urls in
_config.yml
seem to be fine, but looking at theActions
tab in your repo there are onlypages 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 withbaseurl
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…