• Resolved mrmocha

    (@mrmocha)


    Hello,

    I have a multisite setup with a few subsites. But I need to change the URL for one of the sub sites and make sure the old URLs redirect to the new ones. I’ve created what I think is the correct regex in the Redirection plugin but it doesn’t seem to be taking effect.

    I changed the sub site URL in the multisite network settings first.

    The old sub site URL was:
    https://domain.com/old-subsite-url/anything-here

    The new one is:
    https://domain.com/new-subsite-url/anything-here

    This is what my redirection looks like: https://i.imgur.com/VSP2Cq4.png

    However, when I visit any of the old links they just throw up 404 pages rather than redirect to the new URLs.

    Am I doing something wrong?

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

    (@johnny5)

    Your source URL is incorrect – you need to match only the path, not the full domain. If you want to match a domain other than your current one you can use the ‘URL and server’ match.

    https://redirection.me/support/matching-redirects/

    Thread Starter mrmocha

    (@mrmocha)

    Hi Jon,

    Thank you for your quick reply.

    I updated this based on your information, but also it made me realise I was applying the redirect from within the target subsite. Once I removed this and made the same redirect in the primary site it worked perfectly.

    Thank you for your help and for continuing to support this fantastic plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multisite subsite redirect not working’ is closed to new replies.