WordPress.org

Support

Support » How-To and Troubleshooting » HTACCESS redirecting everything to the right of a folder

HTACCESS redirecting everything to the right of a folder

  • I’m migrating an old site to a new setup and using the ‘redirection’ plugin to 301 old pages/directories to new pages. I tried a regular expression but having some loop issues.

    the old site had a directory – /title/

    I’m trying to redirect everything in that directory to a new page

    /title/(.*) works fine

    however the new site also has a PAGE named /title/ and that is getting redirected

    Is there a regular expression to work around that? Redirect everything to the right, but not /title/ ?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HTACCESS redirecting everything to the right of a folder’ is closed to new replies.