Hello. I’m curious if anyone else has come across this issue and has a solution.
I’ve been using the Page Link field to create some menus on various pages and it’s been working great. I have noticed one issue that if I select an Archive as the page link. The URL is an absolute URL not a relative one.
So when I change environments from local to dev, staging, prod. The URL is locked into the whatever environment the page link was made on. I’ve tried re-saving my permalinks but this didn’t solve my problem.
I only experience this issue with archives, not when selecting pages.
Any help on solving this issue would be appreciated. Right now my only solution is to go back to the website and update manually the URLs for each environment.
I have one site where I have this issue because I have 3 dev/staging/testing sites with different domain names. In my case I created an filter. All of the domain names include “company-name.com” so I am able to only effect links if they contain the this value.