WordPress.org

Support

Support » Plugins and Hacks » Redirect root folder but not children pages

Redirect root folder but not children pages

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Todd,

    Of course it’s possible 😉

    Use the following settings:
    Source url: ^/test-page/$
    Target url: /test/
    and check the regular expression box.

    Hope this helps.

    Smile,
    Juliette

    Hi Juliette

    I tried that and it didn’t work.

    Wasn’t sure if ^ should have been there so I tried it both ways.

    Any other ideas?

    -Todd

    The regex is correct and the ^ should be there. This should work.

    Other ideas ? Add a rule to the same effect to .htaccesss.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirect root folder but not children pages’ is closed to new replies.