How To Remove Empty Rel=Author & Rel=Publisher Tags
-
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=”https://” />
<link rel=”publisher” href=”https://” />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
- The topic ‘How To Remove Empty Rel=Author & Rel=Publisher Tags’ is closed to new replies.