Regex Redirects?

#889941
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello, we apologize for the issue you are facing with your regex redirect. It seems like the regex pattern you are using might need a slight adjustment to work correctly.

    To match all URLs that start with any number followed by -youtube-comments, you can use the following regex pattern:

    ^d+-youtube-comments/

    Here’s how to set it up:

    1. Source URL: ^d+-youtube-comments/
    2. Type: Regex
    3. Destination URL: `http://en.wikipedia.org/wiki/Regular_expression
    4. Status: 302 Temporary Move
    5. Activate: Ensure this is checked.

    Make sure to include the trailing slash in your source URL pattern if your URLs end with a slash. This should help in redirecting all URLs like /100-youtube-comments/, /250-youtube-comments/, etc., to your desired destination.

    If you continue to experience issues, please 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
    How to Set Up Redirections » Rank Math

    Hello,

    Please try to use the following regex redirection on your website and see if that works for you:

    Source: ^([0-9]+)-youtube-comments
    Match: regex
    Destination: https://bulkcomments.net/buy-youtube-comments/
    

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

    Thank you.

    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 2 replies - 1 through 2 (of 2 total)

The ticket ‘Regex Redirects?’ is closed to new replies.