WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Remove html tag wrap for variable %%POSTLINK%% in RSS tool (1 post)

  1. Parneix
    Member
    Posted 1 year ago #

    This is a condensed and improved version of an issue I documented here:

    WordPress version: 3.5.1
    WordPress SEO version: 1.3.4.4

    I did this: I input %%POSTLINK%% into Facebook php sharer (or others) like so: http://www.facebook.com/sharer/sharer.php?u=%%POSTLINK%%
    This method works in the old plugin RSS footer (also by Yoast)

    I expected the plugin to do this: Output a correct sharing link in my RSS like so:
    http://www.facebook.com/sharer.php?u=http://mysite.net/title-of-post/

    Instead it did this: it wraps a <a href=""></a> around the post permalink therefor breaking the Facebook php sharer (which only needs the link, without the added tag) like so:
    http://www.facebook.com/sharer.php?u=<a href="http://mysite.net/title-of-post/">Title of Post</a>

    What I would like is to get rid of the link tags: the permalink of the post itself is enough: I can add the HTML myself.

    Any thought about a way to fix this?

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags