Append directory names to the end of the post URL
I am working on a site with custom post types, called ‘projects’.
Here is the permalink “http://example.com/project/example-project/”.
I would like to be able to pull append directory names to the end of the post URL, while still returning the same post in the template.
I am hoping that there is a way that all of these URLs could return the same post ID.
And to be clear, I am not looking for these URLs to merely redirect to the original post.
The directory structure past the original post URL is predictable.
- The topic ‘Append directory names to the end of the post URL’ is closed to new replies.