Permalink Setting Changes From Post Name to Default After Changing The Page Name
Permalink Setting Changes From Post Name to Default After Changing The Page Name
Permalink Setting Changes From Post Name to Default After Changing The Page Name
I figured it out! I didn’t have Modify permissions set for IIS_IUSRS on the /wp_content/uploads folder.
domain.com?p=POSTID permalinks not working with custom post types
Go to Settings > Permalinks and set: Custom Structure: /%category%/%postname%/
Milo provided the answer in the comments above. I’m recording for posterity sake. 🙂 I was using add_query_arg and should instead have used return $url, so the code above should have looked like: function lqd_message_link( $url, $post ) { global $wp_query; if ( get_post_type( $post ) == ‘gc-sermons’ && isset( $wp_query->query_vars[‘messages-app-view’] ) ) { return … Read more
I found the culprit. The issue is due to a conflict with my page builder plugin – Live Composer. I have reported a bug to them.
Different CPT permalink base on taxonomy
how to add permalink/slug to wordpress custom link menu item
Permalinks get lost periodically
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.