error 404 with redirection

#605188
  • Resolved Anonymous
    Rank Math free

    Hello, I contact you because I encounter a problem with my redirections. I specify that once configured, I test them via rank math and in theory it works. The problem is that the google search console is not of this opinion and always shows me a 404.

    I tried several setting methods, but nothing worked. For rank math, the redirects work when I put “contains”, each time with only the name of the product sheet. First, I tried to copy paste with the url indicated on the google search console but after checking it did not work.

    So I’m out of ideas, Rank math tells me that my redirects are ok but none work when I test with the links it shows me with a 404 error.

    Do you have an idea?

    Thanks in advance

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

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    Could you please share the redirects you have created so we can test them as well?

    Also, please take a screenshot of how you have added them in Rank Math. You can upload screenshots using this tool and add the generated link here.

    Looking forward to helping you.

    Thank you.

    Anonymous
    Rank Math free

    Good morning!

    so, I created all the redirects in the same way since when I tried to copy paste the link that did not work provided by the google search console it did not work (I tested with the “see” function once redirection enabled).
    Here is the redirect link:
    https://www.lesarcanesdhel.fr/cendrier-squelettes-dans-les-flammes/
    The one that tells me a 404 provided by the google search console, and that I wanted to redirect:
    https://www.lesarcanesdhel.fr/?product=cendrier-vide-poche-squelettes-dans-les-flammes-deco-rock-ou-gothique
    And the screenshot of the redirect:
    https://imgur.com/0y5nLgY

    Hello,

    Thank you for those details.

    Could you please confirm if the affected 404 URLs contain the characters ?product=? You can also share the screenshot of the reported URLs from your Google Search Console so we can check.

    Meanwhile, please try this structure if it works correctly:

    Source: ?product=cendrier-vide-poche-squelettes-dans-les-flammes-deco-rock-ou-gothique
    Type: Exact
    Destination: https://www.lesarcanesdhel.fr/cendrier-squelettes-dans-les-flammes/

    Let us know how this goes.

    Thank you.

    Anonymous
    Rank Math free

    Hello!

    All the link contain the characters ?product= , but these are not the permalinks generated by my site. The ones that are composed like this are the ones listed on google search console.

    But this extra type of character doesn’t seem to pose more of a problem than that, I have pages indexed with the same type of link and when I click on it it sends me to the right page.

    I tried your idea, unfortunately it didn’t work. I had also tried the whole link, with no more success.
    I also tried with “ends with” and “contains”, also a failure.
    Do you have another idea?

    Hello,

    In this case, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    Looking forward to helping you.

    Thank you.

    Anonymous
    Rank Math free

    Good morning,
    I installed the plugin to give you temporary access, but it asks me for an email address. The one from Rank Math support or do you have a more specific one?
    Cordially

    Hello,

    Yes, you can use s******@r*********** email address and put any First & Lastname.

    Once done, please add the login details in the sensitive data section of this ticket.

    Looking forward to helping you.

    Thank you.

    Anonymous
    Rank Math free

    Hello,

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

    Thank you.

    Anonymous
    Rank Math free

    I sent you the connection link in the appropriate section.
    Thanks in advance!

    Hello,

    Thank you for your patience.

    I’ve tried adding the redirect combinations on your site, but it is still not working.

    In this case, please try adding this redirect to your .htaccess file and check if it’s redirecting properly.

    RewriteEngine On
    RewriteCond %{QUERY_STRING} ^product=(.*) [NC]
    RewriteRule ^(.*) https://www.lesarcanesdhel.fr/cendrier-squelettes-dans-les-flammes/ [R=301,L,QSD]

    We have not yet applied it since we need FTP logins to immediately revert any changes as it is a sensitive file. You can also get in touch with your web host for assistance in modifying that file.

    Let us know how this goes.

    Thank you.

    Anonymous
    Rank Math free

    Good morning,
    I was finally able to try, unfortunately it did not produce any redirect; I also tried other “formula” with permanent redirection, in 301, none worked by modifying the htacces directly….
    Do you have another idea?
    Cordially

    Hello,

    The temporary admin login is no longer working. Can you please renew and extend it so we can troubleshoot the issue further?

    Meanwhile, can you try another redirection plugin just to test if this would work? If not, then there must be something causing an issue with the redirection.

    We really look forward to hearing back from you. Thank you.

    Anonymous
    Rank Math free

    Good morning,
    I reactivated the temporary connection for you.
    On the other hand, having already many plugins, I would not take the risk of installing another one…
    Looking forward to hear from you,
    Cordially

    Hello,

    Thank you for your patience.

    The login link seems got expired while investigating the issue on your site.

    You can also create a staging site with the same issue so we can investigate further by sharing its login and troubleshooting without affecting your live site.

    Here is a guide that could be really useful for you on how to create a staging site: https://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/

    Looking forward to helping you.

    Anonymous
    Rank Math free

    Good morning,
    I’m really sorry every time I put you the connection 3 days, I put it back but 1 week this time that will give you time!
    Thanks in advance,
    Sincerely

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

The ticket ‘error 404 with redirection’ is closed to new replies.