meta description Rank Math

#90658
  • Hello!
    I have a problem generated by Rank Math.

    In practice, 2 meta descriptions are produced: 1 normal from the Divi Theme, the other from Rank Math but I don’t understand where to change or delete it in Rank Math.

    can you help me?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Sajid Khan
    Rank Math business

    Hello,

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Goodmorning Sajid,
    one thing.

    How come Rank Math continues to keep the meta description that I deleted?

    <html lang=”it-IT” prefix=”og: http://ogp.me/ns#”&gt;
    <head><!–[if IE 8]><script src=”//cdnjs.cloudflare.com/ajax/libs/ie8/0.6.0/ie8.js”></script><![endif]–><meta name=”viewport” content=”width=device-width, initial-scale=1″>
    <meta charset=”UTF-8″ />
    <meta name=”description” content=”” /><meta name=”keywords” content=”Digital Marketing, Ecommerce, Software Gestionale, Smart Working, Telecomunicazioni, Strategia Digitale, SEO, SEM, Web Analytics, Affiliate Marketing, Inbound Marketing, Lead Generation, Career Coaching, Personal Branding, Start Up, Mobile Marketing” /><meta http-equiv=”X-UA-Compatible” content=”IE=edge”>
    <link rel=”pingback” href=”https://www.massimilianofaticoni.it/xmlrpc.php”&gt;

    <script>try{
    document.documentElement.className = ‘js’}catch(e){console.log(e)}try{var et_site_url=’https://www.massimilianofaticoni.it&#8217;;var et_post_id=’11529′;function et_core_page_resource_fallback(a,b){“undefined”===typeof b&&(b=a.sheet.cssRules&&0===a.sheet.cssRules.length);b&&(a.onerror=null,a.onload=null,a.href?a.href=et_site_url+”/?et_core_page_resource=”+a.id+et_post_id:a.src&&(a.src=et_site_url+”/?et_core_page_resource=”+a.id+et_post_id))};
    }catch(e){console.log(e)}</script>

    <title>Digital Marketing | Massimiliano Faticoni</title>
    <meta name=”description” content=”Sono un Digital Marketing Manager, mi occupo assiduamente di supportare le Aziende e i Professionisti di qualsiasi settore nella trasformazione digitale con”/>
    <meta name=”robots” content=”follow, index, max-snippet:-1, max-video-preview:-1, max-image-preview:large”/>
    <link rel=”canonical” href=”https://www.massimilianofaticoni.it/”&gt;

    Hello,

    Your page seems to have two meta descriptions defined. Which one do you wish to use??

    –To use Rank math generated meta description please disable your theme meta description. You can get in touch with your theme provider to assist you in removing this. To update Rank math meta, please go to your page and click ed it, then on Rank math meta box, change your meta as shown below:
    Add a Meta Description in Classic Editor:

    Add title and description in Gutenberg:

    –If you wish to use your theme defined meta description, you can remove Rank math generated meta by using the filter below to your theme functions.php file:

    /**
     * Allow changing the meta description sentence from within the theme.
     *
     * @param string $description The description sentence.
     */
    add_filter( 'rank_math/frontend/description', function( $description ) {
            $description='';
    	return $description;
    });
    

    Looking forward to helping you. Thank you.

    Dearest Michael, you are great!

    Unfortunately my Theme (Divi) did not allow me to keep only that of Rank Math. I had to delete the one generated by Rank, now it’s only 1.

    Thank you very much!

    Sajid Khan
    Rank Math business

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

    Hi micheal!
    Is it possible that by entering the command you suggested to me now Rank Math does not show all the meta descriptions? I had a duplication problem on the Home page.
    Now with this command I don’t see the meta description on all pages.

    Is there a command to not show only the home page and the others remain visible?

    thank you

    Hello,

    Thank you for the follow up.

    If you are using a static homepage,use the following:

    
    /**
     * Allow changing the meta description sentence from within the theme.
     *
     * @param string $description The description sentence.
     */
    add_filter( 'rank_math/frontend/description', function( $description ) {
     if( is_front_page()){
            $description='';
    	return $description;
    }
    });
    

    If your homepage consists of the latest posts use the following:

    
    /**
     * Allow changing the meta description sentence from within the theme.
     *
     * @param string $description The description sentence.
     */
    add_filter( 'rank_math/frontend/description', function( $description ) {
     if( is_home()){
            $description='';
    	return $description;
    }
    });
    

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this ticket.