Title meta tag different from preview

#397896
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math support, and sorry for any inconvenience that might have been caused due to that.

    Please check if there are other plugins or your theme that might be adding extra text in your meta title by following this guide: https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    As for the locale issue, the locale meta tag is taken from your WordPress’s General Settings so you would need to change your primary language and it will automatically reflect the og:locale.

    If you wish to change it by filter, here’s an example to do it:

    add_filter( "rank_math/opengraph/facebook/og_locale", function( $content ) {
            $content = 'es_CL';
    	return $content;
    });

    And here’s a link on how to add a filter to your website:
    https://rankmath.com/kb/filters-hooks-api-developer/

    I hope that helps.

    Tomas
    Rank Math free

    As for the locale issue, the locale meta tag is taken from your WordPress’s General Settings

    Yep it is set to spanish chile under general settings.

    If you wish to change it by filter, here’s an example to do it:

    Thank you that did the trick!! 🙂

    Everything solved, thank you!!

    Hello,

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

    If you don’t mind us 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 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 3 replies - 1 through 3 (of 3 total)

The ticket ‘Title meta tag different from preview’ is closed to new replies.