WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
[resolved] Redirect attachment URL's to parent post URL? (15 posts)

  1. magnyz
    Member
    Posted 2 years ago #

    If I select "Redirect attachment URL's to parent post URL", in the permalinks section, I assumed that if I right click and select copy shortcut on an embedded picture in a post, I would get the link for the post (and not directly to the jpg file). That is not how it is working for me. Am I misunderstanding this feature?

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. magnyz
    Member
    Posted 2 years ago #

    anyone?

  3. cfisher
    Member
    Posted 2 years ago #

    What you described is what happened for me when enabled.

    I really wanted to use this feature. However, this setting redirected ALL images in a post to the URL (I had hoped it only redirected the thumbnail/featured image [or whatever its called now]). I have often have multiple images in my posts that are inserted smaller with a "click to enlarge" message, which in the past, it simply served the larger photo - but with this setting enabled it redirected the user to the post for all images thus making the "click to enlarge" not functional any longer. For me then this setting was not useful.

    Chris

  4. Joost de Valk
    Member
    Plugin Author

    Posted 2 years ago #

    It does exactly what it is designed to do though :)

  5. cfisher
    Member
    Posted 2 years ago #

    Thanks for your response and work with this plugin.

    Chris

  6. Joost de Valk
    Member
    Plugin Author

    Posted 2 years ago #

    My pleasure :)

  7. nickaster
    Member
    Posted 1 year ago #

    I have a similar bug - but in my case it's making my photo essays impossible to use. If I start with a wordpress post with a "gallery" in it, the gallery displays well, but clicking on any thumbnail just redirects you back to the start page.

    Anyone know a way around this? Otherwise the feature is fantastic.

  8. 112502
    Member
    Posted 1 year ago #

    Once enabled --- it CANNOT BE DISABLED. :( So --- we've got a site stuck with a Gallery that can't be used ...

  9. nickaster
    Member
    Posted 1 year ago #

    ah... well I did manage to disable it. That wasn't a problem. You should double check the settings. but yes, I can't use the feature because it wrecks galleries. Glad to know I'm not alone!

  10. Avvo
    Member
    Posted 1 year ago #

    Not working as of WP 3.4+

    Caused several thousand 404 errors :(

  11. masteagall
    Member
    Posted 1 year ago #

    Hi,

    I'm curious. I enabled "Redirect attachment URL's to parent post URL." in the Yoast SEO plugin. Shortly after I began to notice errors in my Google WebMaster account. I initially suspected it was a strange link created from drafts, but now I am thinking it may be the fact that I activated this feature. I have no proof, but has anyone seen a string like this and have any clues on resolving it? I'm obviously doing something wrong. Any help would be appreciated.

    Google and SEOMoz report this:
    http://www.clientsite.com/topic-listed-here/%3C?php%20echo%20wp_login_url(%20get_permalink()%20);%20?%3E

    The URL should be:

    http://www.clientsite.com/topic-listed-here/

  12. 112502
    Member
    Posted 1 year ago #

    Looks off-topic. Do you have a Login link on that page pointing to a file that isn't named .php?

  13. masteagall
    Member
    Posted 1 year ago #

    Hi,

    Sorry if this off-topic, just I can't find a reference to this anywhere else. To answer question, no I don't think so.

  14. 112502
    Member
    Posted 1 year ago #

    You don't have a Login on the page? At all? Because that's what's popping up is Login code. It appears to be a template issue ... where it's not parsing PHP. Go to the correct URL and "View Source" so you can narrow down where it's coming from.

  15. masteagall
    Member
    Posted 1 year ago #

    Thanks for the help and troubleshooting direction.

    Best Regards.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic