It doesn’t have anything to do with Gutenberg. It’s just the way WordPress stores links in the main content. Anytime you add a link in the WP editor, it automatically puts in the absolute path. ACF and other forms of custom postmeta instead store the post ID, so whenever its slug/permalink changes they are automatically updated.
When you push content from your local site, just use a database migration plugin, which will handle all the URL changes.
Related Posts:
- Gutenberg Editor: dynamicaly change slug field with an ACF field
- How to edit the slug/permalink in Gutenberg?
- How can you receive the most recent permalink or terms of the newly saved post?
- Gutenberg output URL to post from attribute with post ID
- Gutenberg Editor: dynamically edit slug field based on ACF field
- Error: “Sorry, this content could not be embedded” when using the Embed block
- Changing permalinks gives me 404 errors on nginx
- Does WordPress automatically do 301 redirect if I change permalink
- Move WordPress to subdirectory, keep ALL URLs
- ‘post_type_link’ filter not working
- Update URL Snippet to Canonical Permalink URL
- WordPress permalinks Yahoo hosting(no .htaccess allowed)
- How do I turn off 301 redirecting posts (not canonical)?
- Permalink: postname EXCEPT for blog
- %tag% in permalink not working
- Change website URL without breaking links or images? WP 3.3
- How to identifty post from its URL in 404 page?
- Rewrite rule never matching
- How to get blog id from permalink?
- Custom url for a single page
- Search result permalink
- Permalinks Structure and 404 Question
- Rewrite URL for results of a custom WP_Query
- Using ‘Primary Category’ in URL
- template_include not loading -instead goes to index.php
- WordPress installation in subfolder not working with nginx
- Clean install – Changing permalinks in twentyeleven give 404
- How to link to “most recent” document in the Media Library?
- Permalinks not working
- Need Help Correct Regular Expression Redirect Code
- Why wordpress multisite root site showing blog prefix by force?
- issue with setting up permalink programmatically
- changing permalink for custom template in posts of a certain category
- Force wordpress to display page with same url structure as categories
- WordPress post-name permalink redirects to site.com
- WordPress Pages Redirecting to Root with WordPress Multisite (Sub-Directory)
- is there a way to add the post URL to the results of fselect facet in Facetwp plugin?
- NGINX serve WordPress from sub-path fails with 404, how to fix?
- Redirect /%year%/%monthnum%/%day%/%postname% [closed]
- How to get functions.php work with postname permalink?
- Woocommerce subcategory 404
- WordPress always returning 404 page for a specific url
- WordPress Automatic Update to 3.9.1 breaks Permalinks [closed]
- Static Text in Permalink
- Pre-populate Slug / Permalink with URL
- Dynamic Custom Permalinks
- Allow Permalinks to Work with and without Hyphens
- Problems with rewrite rule
- How to Custom Edit Post Title & Permalink Slug?
- Problem with parent page slug only in WordPress admin
- How do I remove /wordpress/ from my permalinks?
- “-2” Being added to end of URL (no duplicate pages, no pages in trash)
- Redirecting “wrong” but working links to their canonical URL in order to prevent search engine penalties (e.g. /123/ at the end of URLs)
- Direct link to post when multiple categories are selected
- Getting an ID from a URL, why can WP do this itself, but none of of the functions provided get it right?
- Ignore postname in permalink
- Big arabic permalinks not work
- Fix 404 error after changing permalink structure
- How can I set up a secondary permalink structure?
- External PHP file & Pretty Permalink
- how to set up wp in folder within static website?
- Help me fix these crazy attachment page URLs (rewrite?)
- Unable to rename permalink
- WordPress permanent links not working (the weird way)
- Permalink Structure not updating .htaccess
- How to enable %postname% permalinks on Mac?
- How do I rewrite attachment urls when permalink structure contains %category%?
- How do I structure my permalinks in WordPress?
- WordPress wildcard route to page
- How to change URL from /%postname%/ to custom-name/%category%/%year%/%monthnum%/%day%/%postname%/
- WordPress Attachment Page URL Rewrite!
- Customize URL for specific tags archive
- Permalink prefix change
- why wordpress keeps redirecting to old page after deleting it?
- Parent/Child Relationships with Multisites?
- Permalink structure /page/page/cpt-post gives 404 with pagination
- Changing permalink structure for Posts
- Rewrite posts url as they’re all children of a page
- WordPress permalinks first word title
- Permalink problem ( Blog posts vs custom post types)
- I can get the permalink or the excerpt to work correctly, but not both
- WordPress permalink issue on AWS
- Permalink Rewrite with Archive – Archive gets 404
- WP Admin Bar not showing with custom permalink structure for pages
- get_permalink wrongfully returns only year and month and not all the link
- Link to most recent child page
- Automatic -1 suffix being added to the permalinks of a page when the page does not exist
- Why doesn’t WP update my .htaccess file?
- WordPress permalink still not working (error or not understood?)
- Permalink for pages
- Pagination is not working, how to trace it properly?
- Problem when i configure permalink
- Getting the top level permalink using get_post_ancestors()
- What is the issue with our links? It creates a loop
- wordpress home is gone
- Post URL not working according to permalink setting
- Strip category base from URL?
- Does the error “A structure tag is required when using custom permalinks.” mean my permalinks haven’t saved?
- How to make my custom permalink pull up the correct post
- How to Set Both Category and Sub-Category Level at Root. It should also obey post rule as /category/sample-post and /sub-catgeory/sample-post?