• Resolved emoncht

    (@emoncht)


    Hi this a great plugin. I recently moved my website to a new domain. I can see there are many option for exception. I want to stop the HOMEPAGE redirection. Suppose if someone enter EXAMPLEOLD.COM they can visit the page. But only when someone click on any option like EXAMPLEOLD.com/items they will redirect to the new domain EXAMPLEnew/items

    Is this possible to achieve now?

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

    (@iclyde)

    Hi @emoncht

    Yes it is possible with Regex match option.

    I tested it for these two domains (you can access them until they’re removed):
    https://alteredincome.s1-tastewp.com (First website)
    https://wholeseashore.s3-tastewp.com (Second website)

    On first website I setup this redirection:
    From: (https|http):\/\/alteredincome\.s1-tastewp\.com\/(.+)
    To: https://wholeseashore.s3-tastewp.com/$2

    For your example i.e.:
    – EXAMPLEOLD.COM
    – EXAMPLEnew

    It would be:
    From: (https|http):\/\/EXAMPLEOLD\.COM\/(.+)
    To: https://EXAMPLEnew/$2

    So, empty Regex is:
    (https|http):\/\/[INSERT HERE YOUR OLD DOMAIN NAME]\/(.+)

    You can use it in “Redirection Rules”

    Let me know if that worked for you as well ??
    Thank you!

    Plugin Support MixHa

    (@mixha)

    Hey @emoncht , we haven’t heard from you in a while, so we’ll assume that you have this solved. If you have more questions regarding the Redirection plugin, please feel free to open a new ticket.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Redirect Except HOMEPAGE’ is closed to new replies.