Page links not working in text blocks

Hi, Sonja.

Regarding the permalink, I looked at the .txt content file for the relevant page and the UUID does match the reference in the URL. The complexity is that the site is not at the root of my localhost, so the problem was that a couple of folder levels were missing between “localhost” and the “@”.

However, your option 2 is my preference anyway. I created a custom text.php file in my /snippets/blocks folder as follows and the links now work perfectly.

<?php /** @var \Kirby\Cms\Block $block */ ?>
<?= $block->text()->permalinksToUrls();

Thanks for your help as always.