How to remove attachment_id on pagination
-
Hi,
So I recently discovered that Google is indexing some weird attachment urls of my website. It only affects pagination of my blog. The urls look something like this: https://mywebsite.com/page/2?attachment_id=wubnhgfa. When visiting these urls they don’t show the normal paginated pages of my website, but the template that is created by index.php. How can I redirect these weird attachment urls to the normal url?
I was not hit by the bug in the older version of Yoast, all my normal media attachments are being redirected to the parent post.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to remove attachment_id on pagination’ is closed to new replies.