Redirection problem

#71608
Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I tried to access the URL and it seems to lead to a pdf document, I assume you have the redirect module disabled. You can trace your redirection here: http://redirectcheck.com/

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    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/

    We really look forward to helping you.

    Alberto
    Rank Math business

    Hello,

    It seems that is you set the fallback redirection as this:

    The redirection works fine, could you check it?

    Looking forward to help you.

    Hi,

    Yes it works but I don’t want a general redirection to a 404. For SEO that’s better to redirect to homepage, don’t you think?
    If I check homepage my link doesn’t work and redirects. Why? That’s not a missing page it shouldn’t make a redirection, no ?

    Hello,

    The link you gave use doesn’t look like a media link and Rank Math is redirecting it to the homepage because the is_404() conditions return true on your page.

    Can you please give us some more details of how you are creating the pdf links on your site. Have you added any rewrite rules to support those pdf links?

    Looking forward to helping you.

    Hi,

    I said https://leteich-ecotourisme.fr/mon-carnet-pdf/ is outiside wordpress, not really… Sorry

    https://leteich-ecotourisme.fr/mon-carnet-pdf/ is at the same level as wp-content and others (wordpress root)

    https://leteich-ecotourisme.fr/mon-carnet-pdf/ points to index.php thats creates a PDF width mPDF library.

    It works well without rankmath redirections active and we made no other redirections.

    I feel that your redirection system does it because https://leteich-ecotourisme.fr/mon-carnet-pdf/ generated file is missing. But it’s not. It’s generating and the file is not known before…

    Can we whitelist a url with your system?

    Jerome

    Hi Jerome,

    First of all, you should not blindly redirect all 404s to the homepage. It is not recommended and you should not use that. It is bad for SEO and bad for user experience.

    Second, regardless of how that URL is created, it is being redirected because WordPress is recording it as a 404. That is why it is getting redirected to the homepage.

    Please disable the 404 redirect to homepage to fix this.

    That’s the only solution we can think of.

    Ok. Thanks for this.
    Best regards

    Alberto
    Rank Math business

    Hello Jerome,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

You must be logged in to reply to this ticket.