Support » Plugin: Redirection » Redirect posts but not archive page

  • Resolved Johannes



    I have a static page (/rezensionen) that includes my posts.

    Each of those posts’ urls looked like this
    before: /rezensionen/name-of-post
    after: /rezension/name-of-post

    With my current settings the posts get redirected perfectly.
    Unfortunately it also redirects the static page from /rezensionen to /rezension.
    This results in a 404 page.

    How can I only redirect the posts below /rezensionen/ ?

    My current redirect is:


    The page I need help with: [log in to see the link]

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


    You need to modify your expression so it doesn’t match /rezensionen/. If you use an expression tester ( you can see an explanation of your expression, and note that .* matches 0 or more characters. If you use .+ it matches 1 or more, and so won’t match /rezensionen/ itself.

Viewing 1 replies (of 1 total)
  • The topic ‘Redirect posts but not archive page’ is closed to new replies.