• Hi,

    I currently have a website using the permalink structure:

    http://xxx.xxx/%postname%/

    I want to change this to:

    http://xxx.xxx/xxx/%postname%/

    So basically giving the default post type a slug rewrite like you can with CPT.

    However, as we all know all the indexed pages will 404 so I need to write some HTACCESS to but not sure what I need.

    If I use the following then all pages are re-directed too:

    RedirectMatch 301 ^/([^/]+)/$ http://xxx.xxx/xxx/$1'

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Permalink structure change re-direct htaccess’ is closed to new replies.