So I am developing my site locally. All my urls are filtered with relative_url, which prepends my base url to the urls.
However when I host on Netlify, site breaks. This is problem I have tried solving with config but it’s still not working.
So I am developing my site locally. All my urls are filtered with relative_url, which prepends my base url to the urls.
However when I host on Netlify, site breaks. This is problem I have tried solving with config but it’s still not working.
can you post a link to your repo? and live site?
what is in your config?
usually this is a baseurl issue, and when looking at the live site with dev tools open the console tab will show you an error for the css file and you can see what the url really is that is wrong.
Exactly. Checked my live site and found out it used my baseurl which shouldn’t be. So I set my baseurl to an empty string and now it works properly. Thanks.