In the Panel, in a Writer Field, I’ve linked to some other pages on the website. The links work on my local computer, but now I’ve moved the site to the server the links no longer work.
Locally the link links to /about/our-vision page
but on the live site it links to a page called @/page/TUgFQB7JUzEzY4YU and the error page appears.
If I add links in a Writer Field to internal pages, the links do not work. Instead of linking for example to the /about/our-vision page, it links to the permalink @/page/TUgFQB7JUzEzY4YU.
Do I really need to add the permalinksToUrls() code to all my templates and snippets to get links to work?
$page->text()->permalinksToUrls()
(The site is now live and no longer on a subdomain)