Answer: turned out the link was a redirect. After the original post was published, I changed the title, and then Yoast created a redirect. So the solution was to embed the permalink of the destination post and not the original permalink.
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
- Relative links in Gutenberg
- Gutenberg Editor: dynamically edit slug field based on ACF field
- Changing permalinks gives me 404 errors on nginx
- Strange permalink issue: can’t rename /company-2/ to /company/
- Using $_GET variables in the URL?
- 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)?
- How can I include a query string with get_permalink
- 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
- Rewrite-Rules not working on a vhost, everything goes to index.php
- Rewrite URL for results of a custom WP_Query
- Using ‘Primary Category’ in URL
- template_include not loading -instead goes to index.php
- Changes to permalink structure results in 404 error for all pages other than home
- I need a custom permalink for my website
- How to link to “most recent” document in the Media Library?
- Permalinks not working
- Problem with wordpress links on a live site
- Need Help Correct Regular Expression Redirect Code
- Why wordpress multisite root site showing blog prefix by force?
- Permalink change redirects by WordPress [duplicate]
- page nested 3 levels deep shows 404
- 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
- Why the “Permalink” option is not showing in the “Settings”? [closed]
- 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 the full URL of the current page and change domain of it?
- How to get functions.php work with postname permalink?
- How can I get this custom post type permalink structure? %custom_post_type%-%taxonomy%-%term-postname%
- Host frontpage via example.com and everything else via example.com/blog
- Dynamic Custom Permalinks
- 404 error using Meta for Permalink rewrite
- WordPress suddenly changed all links to example.com/example.com/
- How to handle paging/pagination with a custom permalink?
- Problem with parent page slug only in WordPress admin
- “-2” Being added to end of URL (no duplicate pages, no pages in trash)
- Why is my RSS feed not working?
- Convert single apix to dash in permalinks
- Page redirect to 404 when set Permalink = “Post Name”
- How to remove the link of an image on WP 4.2
- How to enable http (not just https) in wordpress?
- How to get raw unwritten querystring
- Is there a way to show attachment IDs on the attachment info screen?
- Keep permalinks in WordPress
- Can not manually change the permalink of a post in the EDIT secion
- How to change permalinks to show categoryname/post-name?
- Post with no tag permalink problem
- What permalinks do I use in the redirection
- WP Multisite Subdirectory Custom Permalinks 404
- WordPress’ «post name» setting broken
- Keep wordpress basic permalink preferences
- Permalink blog page (only) not working
- Link to a page before launch
- .htaccess to redirect to a wp page
- My WP homepage works, but the other pages don’t when accessing from out side of my network
- How do I use the same Tag slug for different Tags?
- Replacing + sign to – in wp Search Permalink
- Permalinks are not working in WordPress
- CPT links error: each one links to next one further along in the list
- Logging in to installation in subdirectory renders broken dashboard (no CSS, broken links)
- Woocommerce product page 404 not found
- WordPress and NGINX – permalinks are not working with ending slash
- Get value from URL with different types of parameters
- a way to support totally different url structure
- Page permalink redirects to home page
- Permalinks/Pretty links aren’t working on my site
- How to hide slug numbers with htaccess
- Permalink not working
- When using number in url it is redircting to same page but when using character it redirects to 404
- Once redirected by Rewrite rules, how can WordPress know the page?
- Webdav with permalink in WordPress v3.3.1
- Redirect Pretty Permalinks to Ugly Permalinks
- Slug adding -2 even though the other posts with the same name is in a separate post type
- Why not working /%postname%/ with ajax serverinterval?
- Custom Permalink Base
- Generate multiple tag query URLs
- Change permalink in wp-property
- Search results highlight breaks my read more link
- How to get WordPress to NOT alter the permalink structure when adding a static page?
- Permalinks, how to show them in post
- Can I specify template to use with the_permalink?
- Can’t find permalinks section under “Settings”?
- Remove parent product category slug from product_cat url woocommerce
- How to make my custom permalink pull up the correct post