Lost comments after assigning custom domain

I made a couple of test posts yesterday, e.g.: Kuba's Journal - Hello world. They were cross-posted to Bluesky and I got some replies there. I got the replies to show on the blog under the posts, after enabling “Include conversation on post page” in the design settings.

Then, I assigned a custom domain journal.mackuba.eu to the blog. The domain works fine, but the comments disappeared from the first two posts. A new comment is showing up on a third post here: Kuba's Journal - new domain, so it’s not a template issue.

It sounds like the comments made on Bluesky were somehow internally assigned not to the blog itself, but to the domain name, and now that I assigned a custom one, they’re not being returned in a query?…

Yup, looks like the conversation.js script gets a URL parameter with the hostname in it, and it only returns the comments on the first post if it’s passed the old hostname: https://micro.blog/conversation.js?url=https://mackuba.micro.blog/2025/01/07/hello-world.html

It also doesn’t return anything unless I pass the URL with the .html suffix, while I have now this option turned off so URLs are generated with / suffix: https://micro.blog/conversation.js?url=https://mackuba.micro.blog/2025/01/07/hello-world/

This sounds like a big turn-off for anyone considering moving to a custom domain (or changing their domain). Hopefully there’s a fix through redirects or something similar. :eyes:

There’s a bit more information in my answer here :point_down:, along with a link to another relevant thread.

1 Like

If this happens to you, reach out to me at help@micro.blog and I can manually update any internal URLs so things keep working. This is supposed to happen automatically, but wasn’t in some cases. I have another fix almost ready that should make domain renames more robust too.

1 Like

Ok! Btw, should comments also be synced from Bluesky if I manually share a link to the blog post on Bluesky myself, or are they only read from those Bluesky posts that were created by Microblog crossposter?