Page with ‘?attachment_id’ redirects to blog list

#62997
  • Resolved Anonymous
    Rank Math free

    Random media-based pages are being indexed by Google. They all end with ?attachment_id=[random letters] after the domain name. If I type in any combination of random characters it always shows the same tag-based blog page.

    1. How do I stop these pages from appearing?
    2. How do I prevent Google from discovering and indexing them?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
    ​​​​​​​
    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.

    Anonymous
    Rank Math free

    Hello,

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

    Thank you.

    Hello,

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

    I have checked your site and the issue doesn’t seem to be related to rankmath, the URL you have shared behaves the same even with Rank math deactivated. I however noted that it may be related to your blog post settings. If you head over to WordPress > Settings > Reading and set the blog pages to show at most X pages, the URL results will change to the same.

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

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

The ticket ‘Page with ‘?attachment_id’ redirects to blog list’ is closed to new replies.