WordPress.org

Support

Support » How-To and Troubleshooting » How can I add 301 redirects to change my permalinks?

How can I add 301 redirects to change my permalinks?

  • Hello

    I need to create an htaccess rule to redirect my old posts to the new structure to avoid broken links

    currently its

    /post_id/postname

    want to change to

    /catname/postname

    Normally a regex would work for a this to that, but as its a dynamic number, I cant figure out how to do it. Any advice?

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How can I add 301 redirects to change my permalinks?’ is closed to new replies.