Redirection

#909822
Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello, we apologize for the issue you are facing with setting up a redirection. To create a redirection from /feed/ to /feed/gn, you can follow these steps in Rank Math:

    1. Go to Redirections in your WordPress dashboard.
    2. Click on Add New to create a new redirection.
    3. In the Source URL field, enter /feed/.
    4. In the Destination URL field, enter /feed/gn.
    5. Make sure to activate the redirect and then click on Add Redirection.

    Here’s how it looks when adding a new redirection:
    Add New Redirection

    If you want to use regex for more complex patterns, you can select the matching option as Regex and adjust your source URL accordingly. However, for a simple redirect like this, using the direct URLs is sufficient.

    If you have any further questions or need assistance, feel free to reply to this ticket, and a human agent from the Rank Math Support team will assist you further!

    Sources:
    How to Use Regex Redirects in Rank Math » Rank Math

    Hello,

    If you want to redirect all URLs that end with /feed to /feed/gn, you can create this regex redirect:

    Source: (.*)/feed
    Type: Regex
    Destination: https://yourwebsite.com/$1/feed/gn

    Once done, clear your website and server’s cache.

    Looking forward to helping you.

    does not work

    Hello,

    What is your website URL? We’d love like to test this on our end.

    Regards,

    This is working but proper not

    Hello,

    Use the following instead:

    Source: (.*)/feed/?$
    Type: Regex
    Destination: /$1/feed/gn

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    All pages are being directed except the home page

    Hello,

    That redirection rule we shared is not intended for the homepage. Can you please confirm what type of redirection you need to be done for your homepage? Please share some examples here so we can come up with another rule.

    Looking forward to helping you.

    Hello,

    None of the redirects you shared are for your homepage. And the rule we shared above should work for all the URLs you shared. Can you please confirm which of the URLs isn’t working?

    Don’t hesitate to let us know if you need help with anything else.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 10 replies - 1 through 10 (of 10 total)

The ticket ‘Redirection’ is closed to new replies.