WordPress.org

Ready to get started?Download WordPress

Forums

All in One SEO Pack
How To Remove Empty Rel=Author & Rel=Publisher Tags (8 posts)

  1. Grace Massa Langlois
    Member
    Posted 7 months ago #

    Good Morning

    I do not use the plugin to implement authorship or publisher, how do I remove the empty tags from populating on the page, e.g.:

    <link rel="author" href="http://" />
    <link rel="publisher" href="http://" />

    Also, in Social Meta settings I've chosen Use AIOSEO Title and Description but unfortunately the twitter:description and og:description is auto generated from the content which I do not have checked.

    I replaced the first piece of code below with the second piece of code below as instructed but unfortunately it's not working.

    $description = $aiosp->trim_excerpt_without_filters( $aiosp->internationalize( preg_replace( '/\s+/', ' ', $post->post_content ) ), 1000 );

    $description = $aiosp->trim_excerpt_without_filters( $aiosp->internationalize( preg_replace( '/\s+/', ' ', $description ) ), 1000 );

    Sorry for the duplicate thread but I would really like to fix this. Thank you.

    Grace

    http://wordpress.org/plugins/all-in-one-seo-pack/

  2. Grace Massa Langlois
    Member
    Posted 7 months ago #

    Good Morning,

    I reset the general settings to default, cleared cache and then personalized the settings that I had intially and performing this task removed the automatic populating of the empty rel="author" and rel="publisher" tags.

    Unfortunately the other issue still exists, I've tried various settings but the description is not generating from the main settings, title and description.

    Grace

  3. wpsmort
    Member
    Posted 7 months ago #

    Hi Grace,

    This is a known bug that has been reported by other users and we are working on a patch. If you check the forums you'll see we've published temporary code to fix this issue.

  4. Grace Massa Langlois
    Member
    Posted 7 months ago #

    Good Morning,

    Are you speaking of the twitter:description and og:description? If so, is the code I replaced incorrect?

    From

    $description = $aiosp->trim_excerpt_without_filters( $aiosp->internationalize( preg_replace( '/\s+/', ' ', $post->post_content ) ), 1000 );

    to this?

    $description = $aiosp->trim_excerpt_without_filters( $aiosp->internationalize( preg_replace( '/\s+/', ' ', $description ) ), 1000 );

    Could you provide a link to the thread please, I'm not really sure what I should be searching for.

    Grace

  5. Peter Baylies
    Member
    Plugin Author

    Posted 6 months ago #

    Hi Grace,

    That is correct, and that fix will be in the next release; that is the fix for the Social Meta og:description and twitter:description.

  6. Grace Massa Langlois
    Member
    Posted 6 months ago #

    Hi Peter,

    If I replaced the code with the correct code and it didn't work, does this mean I need to may for the update? Or can something else be done?

    Grace

  7. Peter Baylies
    Member
    Plugin Author

    Posted 6 months ago #

    Hi Grace,

    I'll test this further; if I can reproduce your problem, I'll fix it; and once we do release an update to the plugin, we'll see if it fixes your issue, or if the behavior changes, and troubleshoot that.

  8. Grace Massa Langlois
    Member
    Posted 6 months ago #

    Thank you Peter and thanks for being so patient with me.

    Have a great day!

Reply

You must log in to post.

About this Plugin

About this Topic