[Title] Bug or Not Support

#49927
  • Resolved Syahrul Fajar
    Rank Math free

    I have followed the advice from
    Bhanu (Rank Math) but doesn’t work, title isn’t replaced by rankmath, duplicates occur

    • This topic was modified 3 years, 11 months ago by Todd. Reason: added a screenshot
Viewing 7 replies - 1 through 7 (of 7 total)
  • Todd
    Rank Math free

    Hello,

    Thanks a lot for your query and we are so sorry about the trouble this must have caused.

    It ​looks like a conflict with your theme. It works fine when used with default theme.

    I have shared a screenshot with you via email and in the sensitive data section so you can check.

    Thank you.

    I know, the problem with header-meta.php

    • This reply was modified 3 years, 11 months ago by Syahrul Fajar.
    • This reply was modified 3 years, 11 months ago by Syahrul Fajar.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello? can you check the folder that I sent?

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Thank you for contacting Rank Math today.

    The logic on your header-meta.php file is causing a conflict with the Rank Math meta and causing the duplication.
    I can suggest that you override this template on your child theme and comment this section out:

    
    <!-- [ Title ] -->
    <title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' — '; } ?> <?php bloginfo('name'); ?> — <?php bloginfo('description'); ?></title>
    <meta content="<?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' — '; } ?> <?php bloginfo('name'); ?> — <?php bloginfo('description'); ?>" itemprop="name">
    <meta content="<?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' — '; } ?> <?php bloginfo('name'); ?> — <?php bloginfo('description'); ?>" name="twitter:title">
    <meta content="<?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' — '; } ?> <?php bloginfo('name'); ?> — <?php bloginfo('description'); ?>" name="twitter:image:alt">
    <meta content="<?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' — '; } ?> <?php bloginfo('name'); ?> — <?php bloginfo('description'); ?>" property="og:image:alt">
    <meta content="<?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' — '; } ?> <?php bloginfo('name'); ?> — <?php bloginfo('description'); ?>" property="og:title">
    <meta content="<?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' — '; } ?> <?php bloginfo('name'); ?> — <?php bloginfo('description'); ?>" property="og:site_name">

    Alternatively, you can comment the following line so that Rank Math can manage your site verification data and SEO meta data:
    <?php require_once 'header-meta.php'; ?>

    Looking forward to helping you. Thank you.

    ​​​​​​

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

You must be logged in to reply to this ticket.