I’m experiencing the same issue described in this report where setting a permalink
breaks the automatically generated OG preview meta image.
Current behavior
When I set a permalink in frontmatter (e.g., permalink: my-custom-url), bot crawlers (User-Agent: bot, facebookexternalhit, etc.) receive a 404 response with “File [filename].md does
not exist” instead of the actual content. This results in broken OG images showing “Not Found” messages.
- Returns 404 with “File does not exist” message
curl -A bot https://minerva.mamansoft.net/2025-06-15-vscode-neovim-style-setup-2
- Regular browser access works fine (JavaScript-rendered)
Additional observation:
It appears that after some time (possibly 24 hours?), the OG image eventually becomes available for bot crawlers. However, this delay makes social sharing ineffective for new posts.
- A 2-week-old article works fine
curl -A bot https://minerva.mamansoft.net/2025-06-02-vscode-neovim-style-setup
- Regular browser access to a 2-week-old article works fine (JavaScript-rendered)
This significantly impacts the usability of Obsidian Publish as a blogging solution, especially for content that needs to be shared on social media promptly after publication.