Social media

#75954
  • Resolved Terence McKenna
    Rank Math free

    Hi.
    I would like to add my Instagram account but the social meta tab is only showing Facebook and Twitter. How do I find an option to add Instagram.

    Many thanks

    Terence McKenna

Viewing 11 replies - 1 through 11 (of 11 total)
  • Alberto
    Rank Math business

    Hello,

    To add your Instagram, you should add the following code (modifying the Instagram URL with yours) at the end of your functions.php file:

    /**
    * Collect data to output in JSON-LD.
    *
    * @param array $unsigned An array of data to output in json-ld.
    * @param JsonLD $unsigned JsonLD instance.
    */
    add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
    	$currentSameAs = $data['Organization']['sameAs'];
            $currentSameAs[] = "https://your instagram url....";
            // And so on...
    
            $data['Organization']['sameAs'] = $currentSameAs;
    	return $data;
    }, 10, 2);

    Looking forward to help you.

    Thanks very much, Alberto,

    I’d rather not have to get into the code if possible. It’s a bit beyond my experience.
    In the Rank Math ‘Titles and Meta’ Options and Settings Documentation the section that begins with:

    Social Meta
    The Social Meta Section harbours all the settings related to the metadata for social media. Here is a glimpse of all the settings present in the Social Meta section.

    This shows all the social media options in boxes, including Instagram. Is there a reason why I can’t find this option?

    Many thanks,

    Terence.

    Alberto
    Rank Math business

    Hello,

    We have removed certain social networks from the social meta tab in titles & meta settings.

    The same thing is mentioned in our changelog:
    Removed: Multiple Social meta options, as they are not required anymore for the Knowledge Graph by Google & Bing. You should only see the needed options in the Global Social Meta settings page

    https://rankmath.com/changelog/

    Search Engines don’t use them anymore, it is not necessary to allow users entering them since it could cause confusion. We have to update our documentation to reflect those changes, that is why you see them there.

    Right now, the only way to add Instagram would be using that code, but it is not necessary. Anyway, if you don’t feel comfortable adding that code, just let us know and we will add it for you.

    Looking forward to help you.

    Thanks very much, Alberto. If I need to, I’ll get back to you about Instagram.

    I have another question:

    I am editing the Home Page SEO settings and Rank Math is telling me that I am not using any images or video when there are about 30 images on the page, some with the focus keyword in the Alt Text. Do you know why Rank Math is not seeing the images?

    Many thanks,

    Terence.

    Hello,

    How are you adding your images? Are you using any page builder? If you are, please let us know which one so we can assist you.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hello, Michael,

    Thanks for your reply. I’m using Divi theme page builder. In the image module settings: Advanced – Attributes, I’m entering the Alt Text in the Alternative Text field but leaving the Image Title Text blank because I don’t want the title to show on hover.

    My website is: terencemckennaportraits.com

    Many thanks,

    Terence.

    Hello,

    I checked your site and your images seem to have the alt tags set. However you should use the keyword content in the alt attribute of at least one of the images to pass this check.

    Please note that these checks are only there for your reference and if you feel they don’t apply to your page, you can ignore them safely.

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    Many thanks, Michael,

    Just one other issue. I’ve got this notice in the analysis:

    The www and non-www versions of your URL are not redirected to the same site.

    Not sure how to fix this or if it’s something to be concerned about.

    Terence.

    Hello Terence,

    You can to add this code in your .htaccess file (replacing yourdomain.com with your domain):

    
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www.yourdomain.com [NC]
    RewriteRule ^(.*)$ https://yourdomain.com/$1 [L,R=301]

    Looking forward to helping you. Thank you.

    Thanks, Michael.

    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.

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

The ticket ‘Social media’ is closed to new replies.