SEO PROBLEM

Good morning,

We would kindly like to receive assistance from you on a problem indicated by the SEO Tester that we are unable to resolve on your topic.

Below we send you the screen of the detected problem:

THANKS

Comments

  • Hello,

    Are you using any SEO plugin or do you use the SEO option built into our theme?


    Best regards

  • we need to change viewport tag.

    link "https://it.seotesteronline.com/"

    perhaps we need to create child theme. we need to edit functions php. correct?

    we need to add code at the end of functions.php. but don't work. can you help us?


    function remove_my_action() {

      remove_action('wp_head', 'et_add_viewport_meta');

    }


    function dt_et_add_viewport_meta(){


      echo '<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=1" />';

    }


    /*Remove the default Divi's meta*/

    add_action( 'init', 'remove_my_action');

    /*Add back the meta with custom attributes*/

    add_action( 'wp_head', 'dt_et_add_viewport_meta' );

  • Sorry, but we do not provide help with file customization.

    If you need to edit it, you will have to contact your web developer.


    Are you using any SEO plugin or do you use the SEO option built into our theme?


    Best regards

Sign In or Register to comment.