Hello,
fairly new to Kirby, so excuse me if this is actually not that smart of a question
I’m hosting on Uberspace, so the site is also reachable with at least one more domain (username.uber.space). That means the canonical url for the main domain is crucial to me to avoid duplicate content with Google. To achieve this, I have url => mydomain.com in the config and it’s working fine.
The only thing that has become harder is local development. While I have most of the urls that I manually enter as relative, the automatically fetched (like e.g. for blog posts) have absolute urls that point to the main (live) domain and not the local dev platform. To prevent this, every time I’m doing local development I’m removing the url from the config for the time being. Is there something I’m doing wrong or some way I can easily upgrade my local workflow to optimize this?
If not, that’s totally ok. Was just wondering if I can save some time in the future