Home Forums General Issues Page Link, Archive, Absolute URL Reply To: Page Link, Archive, Absolute URL

  • Hi John,

    I got the same problem as the owner of the thread.
    It is solved by using WP Migrate Lite, in which also replaces serialized strings in the database.

    Which then also solves the Page Link component in ACF.
    But my problem, is that on local machine, I use port 8080 and 3000 (3000 for webpack/hmr-tooling).

    So this is still causing problem locally, but your root-relative snippet is a dream to fix this.

    Does this filter hook up when you save your post?

    And should it not be much more efficient to use the php to figure out the current HOSTNAME (domain) instead of hardcoding your domain?