Multi tag title duplicated

#601496
Viewing 15 replies - 1 through 15 (of 18 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    I’ve checked the page, and indeed there’s a duplicate title tag added in the source code.

    Assuming you are using the latest version of all the plugins and the themes (please update if not yet), the title could be added by one of your plugins/theme.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Here is a video you can follow as well: https://www.youtube.com/watch?v=FcIWRhcUP2c

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

    Let us know how this goes.

    Thank you.

    Anonymous
    Rank Math free

    Hello, i follow the instructions.

    I have another plugin that work with events, base for my site, that put the title in page event.

    But when I deactivated Rank Math, I have only one, but when I add Rank Math I have two titles.

    What can I do more?

    Thanks!

    nuno

    Hello,

    Thank you for getting back to us.

    Then it would seem like that plugin is adding the extra title. Please check the plugin settings to see if there is anywhere to turn the title tag off – if you can’t find any, you’d need to reach out to you the plugin developer for help with turning off the extra title tag.

    We hope this makes sense. Keep us updated on the issue. Thank you for choosing Rank Math!

    Anonymous
    Rank Math free

    Hello again.

    I cannot for now, they don’t have that possibility! is there a way to disable only the tag title tag creation in rankmath?

    thanks

    nuno

    Hello,

    You can try adding and customizing this filter to your website to disable Rank Math’s title tag:

    add_filter( 'rank_math/frontend/title','__return_false');

    And here’s a guide to adding the code to the website:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Let us know how this goes.

    Thank you.

    Anonymous
    Rank Math free

    Hello again!

    i tried in theme editor, i put the code in rank-math.php in the directory

    <?php

    add_filter( ‘rank_math/frontend/title’,’__return_false’);

    and the result is the same. Still appearing the title for rankmath.

    <!– Search Engine Optimization by Rank Math – https://rankmath.com/ –>
    <title>Maratona do Porto 2023 – Portugal Running</title>

    More ideas?

    nuno

    Hello,

    Thank you for getting back to us.

    To help you resolve this issue, we might need to take a closer look at your website and settings. Please follow these steps:

    • Edit the first post on this ticket and include your WordPress and FTP logins in the Sensitive Data section. This is a secure section that only our support staff can access.
      Sensitive Data Section
    • Make sure you take a complete backup of your website before sharing the information with us.
    • If you prefer, you can use this 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 also use this plugin to monitor what changes our staff might make on your website (if any): https://wordpress.org/plugins/wp-security-audit-log/

    We appreciate your cooperation and patience. Thank you for choosing Rank Math.

    Anonymous
    Rank Math free

    Hello,

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

    Thank you.

    Hello,

    Unfortunately, we do not have any such option or code to completely disable/remove only the <title> tag from getting added by Rank Math. The code shared by my colleague above is to remove the custom meta title added using Rank Math plugin but it will not completely remove the <title> tag because when you’ll remove the custom meta title, the WordPress default title will be applied here.

    However, if you want, you can remove all the meta tags added by Rank Math from your event pages by using the following filter on your website.

    function rankmath_disable_features() {
        $post_type = get_post_type(get_queried_object());
        if ( $post_type == 'ajde_events' ) {
    	remove_all_actions( 'rank_math/head' );
        }
    }
    add_action( 'wp_head', 'rankmath_disable_features', 1 );
    

    Hope that helps and please don’t hesitate to let us know if you have any other questions.
     
    Thank you.

    Anonymous
    Rank Math free

    Hello, ok thanks!

    And where is the best place to put the code?

    thanks

    Hello,

    You’re welcome. We’re glad to help you with your issue. The best place to put the code that our colleague shared with you is in your child theme’s functions.php file or use a plugin like Code Snippets. This way, you can ensure that the code will not be overwritten by any theme or plugin updates.

    Learn more about how to add codes to your websites here: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    We hope this helps you resolve your issue. Please let us know if you have any other questions or concerns.

    Thank you for choosing Rank Math and for your continued support. Have a great day!

    Anonymous
    Rank Math free

    Hello, I need more help.

    I did what you told me to do, but I still have two titles.
    Can you assist me?

    Thanks

    Hello,

    Thank you for getting back to us and for your cooperation with the troubleshooting process. We’re sorry to hear that you’re still having trouble with the duplicate title tags on your event pages.

    We checked the source code of your website and we noticed that the code we shared with you earlier to disable Rank Math’s meta tags on your event pages is not working properly because Rank Math meta tags are still showing on the source code. It seems like you might have added the code in the wrong place or in the wrong way.

    Can you please tell us how and where you added the code? Did you use a plugin like Code Snippets or did you edit your child theme’s functions.php file? You can find more information on how to add codes to your website here: https://rankmath.com/kb/wordpress-hooks-actions-filters/.

    Also, we noticed that the WordPress login link you provided us before has expired. Can you please create a new one and share it with us again? You can use this plugin to generate a temporary login URL to your website: https://wordpress.org/plugins/temporary-login-without-password/.

    We hope you understand that we need access to your website to help you resolve this issue as soon as possible. Thank you for your patience and understanding.

    Anonymous
    Rank Math free

    Hello, can you test the access again?

    Thanks
    nuno

    Hello,

    Please note that even if you manage to remove Rank Math’s title meta generation, the default title will be generated by WordPress or your theme so the 2 title tags will still be generated. We don’t actually add a title tag when you enable our plugin, we just modify the title tag generated by WordPress.

    This would require you to contact the plugin responsible for generating the 2nd title tag.

    With that said, to see if the code my colleague presented is working on your website, we need to check your admin dashboard but the temporary admin login URL is not working at the moment.

    Please renew or extend the temporary admin login so we can debug this further.

    Looking forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 15 replies - 1 through 15 (of 18 total)

The ticket ‘Multi tag title duplicated’ is closed to new replies.