Multiple title tags

#776631
Viewing 15 replies - 1 through 15 (of 21 total)
  • Hello,

    I’m sorry to hear that you are facing issues with multiple title tags on your website. Having multiple title tags can impact your SEO and confuse search engines about which title to display in the search results.

    There are a few reasons why you might have multiple title tags on your site:

    1. Theme or Plugin Conflict: Sometimes, themes or plugins can add their own title tags, conflicting with the ones added by Rank Math. You can check for this by activating your theme from Appearance → Themes and enabling your plugins one by one to identify the conflicting one.

    2. Duplicate Meta Tags: Duplicate meta tags can also lead to multiple title tags. To fix this, you can use the Health Check & Troubleshooting plugin to identify the plugin or theme causing the issue. Here is a step-by-step guide on how to do this:

      • Install the Health Check & Troubleshooting plugin from WordPress Dashboard → Plugins → Add New.
      • Enable Troubleshooting Mode under Tools → Site Health → Troubleshooting.
      • Enable Rank Math SEO plugin while troubleshooting in Plugins → Installed Plugins.

    If you are unable to identify the conflicting theme or plugin, you may need to reach out to the developer for support or use specific filters to remove the duplicate meta tags.

    For more detailed instructions, you can refer to this guide on fixing duplicate meta tags.

    If you need further assistance or have any other questions, please feel free to reply here, and our support team will be happy to help you.

    Thank you for reaching out with your concern.

    Sources:
    Google Shows A Different Meta Title/Description For My Site » Rank Math
    How to Fix Duplicate Meta Tags » Rank Math
    Google Shows A Different Meta Title/Description For My Site » Rank Math
    How to Fix Duplicate Meta Tags » Rank Math

    This is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.

    Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    Could you please share the affected URL with us so that we can check the issue further for you?

    Meanwhile, please follow this guideline to check if the duplicate title tag has been added by any other plugins/themes you’re using on your website: https://rankmath.com/kb/fix-duplicate-meta-tags/

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    Muhammad Asad
    Rank Math free

    https://seo-bulletin.com/ This is the URL and I have tried troubleshooting plugin. Title still showing multiple instances.

    Hello,

    The most likely reason for this is that the theme you are using is using an additional title tag inside the header file which causes the duplication.

    Our plugin attaches the tag to the function wp_head() but if the theme adds a title tag inside the header file below the call to that function this issue would arise.

    Don’t hesitate to get in touch if you have any other questions.

    Muhammad Asad
    Rank Math free

    Now, that you know the cause. Can you help me turn off rank math title addition feature?

    Hello,

    Thank you for your patience.

    In this case, you can use and customize this filter to disable the meta title from Rank Math:

    /**
     * Code to move title inside the Rank Math's meta
     * 
     * @param string $title
     */
    add_action( 'init', function() {
            remove_action( 'rank_math/head', '_wp_render_title_tag', 1 );
            //uncomment to add default title tag
    	//add_action( 'wp_head', '_wp_render_title_tag', 1 );
    	
    });
    add_filter( 'rank_math/frontend/title','__return_false');

    And here’s how you can add a filter/hook to your WordPress site:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Hope that helps.

    Muhammad Asad
    Rank Math free

    Please provide more information on how to add this code on website or should I add this anywhere?

    Hello,

    You can add the code snippet to your site using the Code Snippet plugin as shown here: https://rankmath.com/kb/wordpress-hooks-actions-filters/#code-snippets-plugin

    Let us know how it goes.

    Thank you.

    Muhammad Asad
    Rank Math free

    Can I use WP Headers and Footers plugin that I have?

    Hello,

    No, that won’t help because it doesn’t allow PHP code to be added to it.

    You need to use one of the options mentioned in the tutorial we shared above.

    Another option would be to edit the theme files to remove the duplicate from the header file or talk about it with your theme provider.

    Don’t hesitate to get in touch if you have any other questions.

    Muhammad Asad
    Rank Math free

    I have added the code but it is not working. I have also cleared the cache. Please help.

    Hello,

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

    Please do take a complete backup of your website before sharing the information with us.

    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/

    Looking forward to helping you.

    Thank you.

    Hello,

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

    Thank you.

    Sharing access and you suggesting the plugin openly in public, does not look safe to me.

    Please check the image. I have added the code snippet in it.

    Hello,

    We see the snippet added correctly but it’s possible that the permissions are incorrect or that your theme is simply creating a duplicate entry which could cause the issue and cannot be fixed with a custom filter.

    If you share the login credentials in the sensitive data section only the support team will have access to them and it’s perfectly safe.

    This is a tried and tested system used by all users with great success.

    Looking forward to hearing back from you.

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

You must be logged in to reply to this ticket.