• I am using the latest Yoast WP SEO Plugin.

    In the PERMALINKS section, I have checked the “Redirect attachment URL’s to parent post URL” option.

    However, all attachment ID’s are getting indexed.
    The Canonical Rel Link Element within my pages is pointing to the attachment ID and NOT to the canonical page it belongs to.

    Here just one of my pages:
    http://www.bernhardrieder.com/?attachment_id=271
    Source Code:
    <link rel="canonical" href="http://www.bernhardrieder.com/?attachment_id=271" />`

    – How can I fix it ?
    – What do I have to change that the Canonical Link Element is actually pointing to my “actual content page” ?

    Thank you so much for any little help !

    https://wordpress.org/plugins/wordpress-seo/

Viewing 1 replies (of 1 total)
  • Hi there, I’m having the same issue, only with attachment ID’s within Posts, clicked your link, how did you solve this?

    Thanks in advance,

    Malcolm

Viewing 1 replies (of 1 total)
  • The topic ‘Redirect attachment URL's points to Attachment ID's’ is closed to new replies.