Title: Permalinks structure changed
Last modified: August 22, 2016

---

# Permalinks structure changed

 *  [umarizal](https://wordpress.org/support/users/umarizal/)
 * (@umarizal)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/permalinks-structure-changed/)
 * Dear friends, I used the following configuration of **permalinks**:
    /%category%/%
   postname%/
 * Now, I use this setting:
    /%category%/%postname%-%post_id%/
 * I want to know is how I have to configure it to redirect all posts automatically
   to the new **structure of permalinks**.
 * Thank you!
 * [https://wordpress.org/plugins/redirection/](https://wordpress.org/plugins/redirection/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [maiki](https://wordpress.org/support/users/maiki/)
 * (@maiki)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/permalinks-structure-changed/#post-5332518)
 * Not with the Redirection plugin. It works by matching the request from the visitor,
   and then forwarding them to the new page; it doesn’t operate with the post in
   any way, so it wouldn’t be able to figure out which post ID to attach to the 
   target URL.
 * I am curious, why did you choose to use the post ID in the URL? Do you have URLs
   that have the same title?
 *  Thread Starter [umarizal](https://wordpress.org/support/users/umarizal/)
 * (@umarizal)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/permalinks-structure-changed/#post-5332593)
 * Thanks for listening, friend.
 * So at the moment I have no post with duplicate title, but I thought I’d use the
   ID in the URL to avoid duplication in the future.
 * If do not have to do this through Plugin, can you give me any tips on how to 
   do through .htaccess, for example?
 * Thank you 😉
 *  [maiki](https://wordpress.org/support/users/maiki/)
 * (@maiki)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/permalinks-structure-changed/#post-5332654)
 * First of all, you wouldn’t be able to do it, because a plugin would have to lookup
   the post ID to figure out the redirect. That isn’t a good idea, because you don’t
   want to use the database to figure that out.
 * But second of all, you don’t have to worry about it, since you don’t have any
   duplicate posts. Meaning future posts will have the correct URL, and your old
   posts will continue to work. So you are good…
 * However, you could probably just leave your permalinks structure alone, as WordPress
   adds a number to the end of duplicate post titles, anyways. Try it out, make 
   a post called test, and another one called test, and see what it does. No need
   to use this plugin, or any other. ^_^
 *  Thread Starter [umarizal](https://wordpress.org/support/users/umarizal/)
 * (@umarizal)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/permalinks-structure-changed/#post-5332690)
 * Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Permalinks structure changed’ is closed to new replies.

 * ![](https://ps.w.org/redirection/assets/icon-256x256.jpg?rev=983639)
 * [Redirection](https://wordpress.org/plugins/redirection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redirection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redirection/)
 * [Active Topics](https://wordpress.org/support/plugin/redirection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redirection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redirection/reviews/)

## Tags

 * [links](https://wordpress.org/support/topic-tag/links/)
 * [permalinks](https://wordpress.org/support/topic-tag/permalinks/)
 * [permanent](https://wordpress.org/support/topic-tag/permanent/)
 * [redirect](https://wordpress.org/support/topic-tag/redirect/)

 * 4 replies
 * 2 participants
 * Last reply from: [umarizal](https://wordpress.org/support/users/umarizal/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/permalinks-structure-changed/#post-5332690)
 * Status: not resolved