• Resolved Nick Papazetis

    (@papazetis)


    I am using that regex to redirect posts to a new subfolder

    Source: ^/(?!blogs)(.*)
    Target: /blogs/$1

    That one redirects everything to /blogs/xxxxxx

    Can I redirect only posts with redirection plugin?

Viewing 1 replies (of 1 total)
  • Plugin Author John Godley

    (@johnny5)

    If the posts have some distinguishing URL then yes, you can modify your regular expression to match for that. For example, /2019/01/01/post-name. Otherwise no.

Viewing 1 replies (of 1 total)
  • The topic ‘Redirect only posts to the new subfolder’ is closed to new replies.