Redirection Issue

#496829
  • Resolved Adam
    Rank Math business

    Hi there,

    We have a strange redirection issue on a site we are developing. Currently the page: https://mosaicfostedev.wpengine.com/new-to-fostering/ is being redirected back to the home page but currently there is no set redirection rule in place for this. In fact I have enabled the debugger to try and intercept the process but it does not get triggered.
    I did check to see if these was being redirected by something else but looking at a curl it appears to be triggered by RankMath.

    curl -IL https://mosaicfostedev.wpengine.com/new-to-fostering/
    HTTP/2 301
    server: nginx
    date: Tue, 13 Dec 2022 12:22:40 GMT
    content-type: text/html; charset=UTF-8
    content-length: 0
    location: https://mosaicfostedev.wpengine.com
    vary: X-NR-SAMPLE-PERCENT
    x-redirect-by: Rank Math
    x-powered-by: WP Engine
    x-cacheable: non200
    cache-control: max-age=600, must-revalidate
    x-cache: MISS
    x-cache-group: normal

Viewing 3 replies - 1 through 3 (of 3 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.

    I’ve checked the URL, and indeed it is redirecting to your homepage.

    For initial troubleshooting, please check if this option is enabled in Rank Math > General Settings > Links

    Attachments

    If so, try disabling the option and check again if the issue persists.

    If it was fixed upon disabling that option, please check if you have an attachment with the same name as your URL(/new-to-fostering/). You can reupload the media with a different file name or at least rename the attachment URL to a different slug.

    Once done, re-enable the redirect attachment options again.

    Let us know how this goes.

    Thank you.

    Adam
    Rank Math business

    Hi Reinelle,

    Thank you for the reply and sorry for not getting back to you sooner.
    Yes, the issue was relating to attachments. There was an image with the same permalink that caused the redirects. Changing the permalink for this has solved the problem.

    Thank you once again for looking into it and solving!

    Many regards,

    Adam.

    Hello,

    You’re welcome.

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

    If you don’t mind us 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 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 3 replies - 1 through 3 (of 3 total)

The ticket ‘Redirection Issue’ is closed to new replies.