Problem with images while searching the site

#460288
  • Resolved Snowangel
    Rank Math free

    Hi. Since I installed your plugin I must have done something in options and while searching for a post in my WordPress site, I get duplicate results from the post and the image (with the same name).
    Is there a way I can fix this?

    Thank you.

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

    Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that.

    Usually, this issue occurs if there’s an attachment page on your site with the same slug.

    Could you please check if this option is enabled in Rank Math > General Settings > Links?

    Attachments

    If so, please 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. You can re-upload 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. Looking forward to helping you.

    Thank you.

    Thank you for the fast reply.

    I do have my attachments named after my post titles, so that’s why they pop up in the search. It just started after I installed the plugin, it wasn’t doing it before.
    I tried your suggestion but nothing changed. It’s ok though, I changed my search function for the site and it kinda fixed it.

    Hello,

    We’re glad that the issue is resolved.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

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

You must be logged in to reply to this ticket.