Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,

    Thank you for contacting the support.

    Did you try importing the Redirections from the Redirection plugin to Rank Math?

    We use a different Regex pattern. Can you please try with the following code and let us know if that helped?
    (.*?).html

    Looking forward to helping you.

    Thread Starter Sayan Datta

    (@infosatech)

    Yes, I was trying to import from redirection plugin. Now your code (.*?).html (https://prntscr.com/lwz7yw) is not working in my case. Any solution?

    Hello @infosatech,

    It seems like an issue in the plugin and we have added some fix to the plugin.

    Please download the following ZIP file
    https://mythemeshop.d.pr/ee0M7e

    and then try adding
    Source UL: (.*?).html
    and
    Destination URL: $1

    Hope that helps. Thank you.

    P.S. You can safely delete the current plugin and upload the new files. You will not lose any settings. Though, it is advised to take a backup before making the change.

    Thread Starter Sayan Datta

    (@infosatech)

    Hi @mythemeshop, it is working now. Thanks for your quick fix.

    Tip: It would be great and easy for new Rank Math users if you mention that Regex pattern of Rank Math is different from Redirection plugin.

    Thank You again. ??

    Hello @infosatech,

    Glad that helped.

    Sure. We will put up a KB article soon explaining how to use the Regex with Rank Math.

    The fix with the redirection will be added in the upcoming version.

    Appreciate your patience and understanding in this matter.

    Please let us know if you need any assistance. Thank you.

    Hey @mythemeshop,
    I also have a question about regex

    before I sue the Redirection plugin(OpenSource)
    but I start try to use RankMath and your plugin say I have to disable my redirection plugin to be sure I no have plugin conflict…

    In this case I would like to make a regex redirect

    https://example.com/blog/some-old-slug-which-we-still-use/

    we want to redirect it to

    https://example.com/some-old-slug-which-we-still-use/

    So like I see the best idea for redirect should be

    
    /blog/.*  =>  /$1
    

    So idea is just cur blog prefix from url but keep old slug,
    before with redirect plugin it’s work perfect, but with your plugin, I not sure how realize it, any my params is not passed to plugin setting :/

    Plugin Support Suraj Vibhute

    (@suraj78)

    Hello @reatlat,

    Please try this

    Source: blog/(.*)
    Dest: $1

    Looking forward to helping you.

    Thank you.

    Hey @suraj78,

    TY, issue solved!
    I think I have to place root/
    but in your plugin root-slash already included, what’s why I have a problem

    TY for quick respond

    Plugin Support Suraj Vibhute

    (@suraj78)

    Glad to know that,

    Have a great day!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Regex Redirect is not working’ is closed to new replies.