Force post slug to always equal post title
-
I am retrieving posts (using “ACF to REST API”) based on the slug.
However the slug tends to append “-2” when updating the post or similar.To make my setup work, I really need slug to reflect the true title.
Title in this case is “5” or “65” or any number.I am using WordPress just as backend and the users adding the posts should not need to think about this.
How can I make sure that noting is appended to the slug when a post is saved?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Force post slug to always equal post title’ is closed to new replies.