Viewing 1 replies (of 1 total)
  • Thread Starter richard9826

    (@richard9826)

    I found a solution

    I installed the following plugin

    https://wordpress.org/plugins/redirection/

    I created a regular expression redirect

    Source URL: /$slug-of-post-type/(.*)
    Target URL: /$1

    replace $slug-of-post-type with the slug of the post type e.g. if the post type slug is ‘products’

    Source URL: /products/(.*)
    Target URL: /$1

Viewing 1 replies (of 1 total)
  • The topic ‘301 redirect’ is closed to new replies.