Hello! I am a networking beginner here and I must admit I have hit a roadblock. essentially my site (
https://evn.netlify.app) is part of two netlify sites
- (main site) - deploys from root/src
- (hugo) - deploys from root/blog/public of the same repository
I don’t think this is the correct way to achieve this, even though it sort of works, its messy - so if someone has some advice on that I would love to hear it - but that’s not the issue.
evn.netlify.app (the main page) is from the src folder - however there is a
_redirects rule (
/blog/* https://evnblog.netlify.app 200!) to sneakly redirect users to where the blog is actually hosted by netlify (
the issue is that when
https://evnblog.netlify.app is directly visited the css loads perfectly, but when it is visited via the main page (
https://evn.netlify.app) the css does not load at all.
I don’t care about breaking the css of evnblog, as long as it works on the /blog subpage.
After some googling I learned it has to do with the baseurl property of config.yml . believe I have tried all the base urls, and none have worked on evn.netlify.app/blog (its possible I missed one so if one seems it should work than I probably just missed it)
if anyone has any help as to what should be in base URL for this use case I would love to hear