Mobile Redirection Error

#87890
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

    Thank you for contacting Rank Math today.

    Since Rank math cannot redirect Query String, you can add the following at the end of your .htaccess file in Rank math > General Settings > htaccess to redirect the */m=1 URL to your homepage.

    # 301 --- https://www.jobsearchingportals.com/?m=1 => https://www.jobsearchingportals.com/
    RewriteCond %{QUERY_STRING} (^|&)m\=1($|&)
    RewriteRule ^$ /? [L,R=301]
    

    Looking forward to helping you. Thank you.

    ​​​​​​

    As per your suggestion i do make change my ht access file by input that code”# 301 — https://www.jobsearchingportals.com/?m=1 => https://www.jobsearchingportals.com/
    RewriteCond %{QUERY_STRING} (^|&)m\=1($|&)
    RewriteRule ^$ /? [L,R=301]” – and wait for a weak but not successful that attempt.The problem is same. https://www.jobsearchingportals.com/?m=1 – redirection error. now what can i do .please suggest me.

    Alberto
    Rank Math business

    Hello,

    Could you share your .htaccess file content in the Sensitive Data section so we can take a look into it?

    Looking forward to help you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Could you please try changing the code to the following:

    
    # 301 --- https://www.jobsearchingportals.com/?m=1 => https://www.jobsearchingportals.com/
    RewriteEngine on
    RewriteCond %{QUERY_STRING} ^m=1$
    RewriteRule .? https://www.jobsearchingportals.com/? [L,R=301]
    

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    After change the code the result is same.Problem not solved. https://www.jobsearchingportals.com/?m=1 – error 404 .

    Hi,

    I can see that the /?m URL leads to a redirect loop on your site. It looks like the redirect loop is related to one or more Rank Math redirections. Could you please deactivate the Redirections module in Rank Math and see if that helps or not?

    If that solves the issue, please try deactivating the redirections one by one to find the culprit.

    Hope that helps.

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

The ticket ‘Mobile Redirection Error’ is closed to new replies.