I’m weighing my options for adding a custom domain to my micro.blog hosted blog. At the moment it’s at [username].micro.blog
and I’m wondering whether, if I add the custom domain, redirects from the micro.blog subdomain will always work for all uses.
I’ve done a little testing on others’ blogs that use this setup, and here’s what I think I’ve found to be true:
- navigating to
[username].micro.blog
→[custom].[domain]
- navigating to
[username].micro.blog/foo
→[custom].[domain]/foo
Will this remain true, even for content added after the custom domain has been added? ie. if I make a new page at [custom].[domain]/bar
will it also be accessible via [username].micro.blog/bar
?
One of my fears here is that I have a lot of uploads referenced in posts (and on pages) in two different formats:
<img src="https://[username].micro.blog/uploads/2023/95069550dc.jpg">
but also without the subdomain, just as a relative path:

Will both of these addresses still work after the custom domain is linked?
And, just as importantly, what URL format will new media have if it’s uploaded after the custom domain is attached? ie. will it retain the [username].micro.blog/uploads/...
format, or will it be given a path like [custom].[domain]/uploads/...
? Obviously the latter would increase the risk of something breaking if I was to move away from the custom domain in the future. (Perhaps this is made either simpler or more complex by the choice to use the CDN?)
Finally, since I’ve already asked a whole tangle of related questions here, let me raise one other thing that I encountered whilst thinking about this. I took a look at the batch find & replace functionality, as a potential way to make the relative path style link addresses above into versions with the subdomain included. My intention was to search all my posts for the string
](/uploads/
and replace that with
](https://[username].micro.blog/uploads/
However, the search function throws an error when searching for the former string. I’m guessing it doesn’t like the leading square brackets or all the forward slashes? Thought it was worth mentioning.
If anyone has answers to even some of these questions, I’ll be most grateful. Thanks.