• I recently Found Multiple Meta descriptions issues through the AHrefs site audit. the theme is generating one meta description and my SEO plugin(RankMath) is generating one meta description. Can you please help me with how to remove the theme meta description code from the website? I am not good at the technical stuff. It will be great if you help me. Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • You’re using a commercial theme, so we’re unable to give you specific directions. Only general advice follows:

    1) Check the theme’s settings to see if there’s an option to disable the description or SEO features.

    2) If there’s no such option, then you’re down to editing the theme’s PHP files to remove the code that’s responsible for this. The code would typically be in the theme’s header.php file.

    The challenge with editing a theme’s file directly like this is that whenever you update the theme, you’ll lose whatever change you did. The solution to that is to create a child theme, which complicates matters somewhat.

    If you need further help to remove the theme’s meta description, kindly get in touch with your commercial theme’s vendor. They built and sold the theme, and they should be in a better position to help you with this.

    Good luck!

    Hi. To remove the theme’s meta desription you can log in to your WordPress dashboard. Go to “Appearance” and select “Theme Editor.” In the Theme Editor, locate the file named “header.php”.
    Click on the file to open it for editing. Please make sure it’s the child theme that you are making changes into.
    Look for the code that generates the meta description. It may appear as or something similar to <meta name=”description” content=”your meta description”> Remove or comment out this line of code.
    Remove or comment out this line of code. Save the changes.

    By removing or commenting out the code that generates the theme’s meta description in the header file, you are effectively disabling it, allowing RankMath to handle the meta description for your website.

    However, please note that modifying theme files directly can have unintended consequences if not done correctly. It is recommended to create a backup of your website or consult with a developer if you are not comfortable making these changes yourself.

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

The topic ‘Site generating multiple meta descriptions’ is closed to new replies.