Meta Name Author
-
Hi, is there a way to desactivate this? https://ibb.co/mG0cW4T
Thanks
-
Hi,
add this snippet to your functions.php:
https://www.seopress.org/support/hooks/filter-author-meta-name/
And change the code to return nothing (return false).
Hi could i do this? i’m using oxygen hehe and thanks
As you don’t have a functions.php file with Oxygen, you can use a must-use plugin.
Go to wp-content/mu-plugins directory using a FTP client.
If this directory doesn’t exist, add it.
Then create a new file and paste this code:
<?php /* Plugin Name: SEOPress Mu Plugin URI: https://www.seopress.org/ Version: 1.0 Author: SEOPress Author URI: https://www.seopress.org/ License: GPLv2 */ // To prevent calling the plugin directly if ( !function_exists( 'add_action' ) ) { echo 'Please don’t call the plugin directly. Thanks :)'; exit; } //Remove author meta function sp_titles_author($html) { return false; } add_filter('seopress_titles_author', 'sp_titles_author');
Awesome, another question before i go, i came from Rank Math and was observing the schema, they use
{ "@type": "WebPage", "@id": "https://myweb.cloud/#webpage", "url": "https://myweb.cloud/", "name": "MY WEB", "datePublished": "2019-05-02T14:33:41-07:00", "dateModified": "2020-06-04T19:53:31-07:00", "isPartOf": { "@id": "https://myweb.cloud/#website" }, "primaryImageOfPage": { "@id": "hhttps://myweb.cloud/#primaryImage" }, "inLanguage": "en-US" }
It’s not necesary this?
We can’t find this structured data type officially used by Google according to their documentation:
https://developers.google.com/search/docs/data-types/article
well yeah, you are right it doesn’t appear as Feature Guides but appears inside article, kind of weird isn’t it?
Rank uses all of this by default:
<script type="application/ld+json" class="rank-math-schema">{ "@context": "https://schema.org", "@graph": [ { "@type": "Organization", "@id": "https://myweb.cloud/#company", "name": "My Web", "logo": { "@type": "ImageObject", "url": "https://myweb.cloud/wp-content/uploads/2020/05/Logo.png" } }, { "@type": "WebSite", "@id": "https://myweb.cloud/#website", "url": "https://myweb.cloud", "name": "My Web", "publisher": { "@id": "https://myweb.cloud/#company" }, "inLanguage": "en-US", "potentialAction": { "@type": "SearchAction", "target": "https://myweb.cloud/?s={search_term_string}", "query-input": "required name=search_term_string" } }, { "@type": "ImageObject", "@id": "https://myweb.cloud/#primaryImage", "url": "https://myweb.cloud/wp-content/uploads/2019/10/2photo.jpg", "width": 1280, "height": 853 }, { "@type": "WebPage", "@id": "https://myweb.cloud/#webpage", "url": "https://myweb.cloud/", "name": "MY WEB", "datePublished": "2019-05-02T14:33:41-07:00", "dateModified": "2020-06-04T19:53:31-07:00", "isPartOf": { "@id": "https://myweb.cloud/#website" }, "primaryImageOfPage": { "@id": "https://myweb.cloud/#primaryImage" }, "inLanguage": "en-US" } ] }</script>
and i think this is my last question: why you use
<meta name="robots" content="index, follow" /> <meta name="googlebot" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1" /> <meta name="bingbot" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1" />
instead of
<meta name="robots" content="follow, index, max-snippet:-1, max-video-preview:-1, max-image-preview:large"/>
- This reply was modified 3 years, 11 months ago by Steven Stern (sterndata).
- This reply was modified 3 years, 11 months ago by Steven Stern (sterndata).
- This reply was modified 3 years, 11 months ago by Steven Stern (sterndata).
well you are right, this is my last question i promise, why you use:
<meta name=”robots” content=”index, follow” />
<meta name=”googlebot” content=”index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1″ />
<meta name=”bingbot” content=”index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1″ />instead of
<meta name=”robots” content=”follow, index, max-snippet:-1, max-video-preview:-1, max-image-preview:large”/> ?
This allows to be more precise according to the search engines.
However, search engines are increasingly standardizing their ways of doing things, so it’s not impossible that we are simplifying that as well.
- The topic ‘Meta Name Author’ is closed to new replies.