Forums

mistakes in code ruins SEO (5 posts)

  1. LNmumu
    Member
    Posted 1 year ago #

    Hello,

    My SEO is not working. My daughter found these mistakes. She knows how to read code, I don't. But she can follow your instructions. I have the 3 in one SEO plug in and maybe I should get rid of it. I can't afford to get help from them anyway.

    Here is what my web savvy daughter wrote:

    There are the following errors in my website, tokyohomeopathy.jp:

    in the <head>, the meta tag for google is not closed:
    <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://tokyohomeopathy.jp/xmlrpc.php?rsd" />

    <meta name="google-site-verification" content="FkkEBeXIeeRBuQbZx0VgMCqowdBtE4qdu893FpvjCWo"

    also, there is a missing </script> tag at the end of my document:

    <script type="text/javascript">

    var gaJsHost = (("https:" == _gaq.push(['_setAccount', 'UA-XXXXX-X']);
    _gaq.push(['_setClientInfo', false]);
    _gaq.push(['_setAllowHash', false]);
    _gaq.push(['_setDetectFlash', false]);

    _gaq.push(['_setDetectTitle', false]);
    _gaq.push(['_trackPageview']);

    _gaq.push(['_setAccount', 'UA-XXXXX-X']);
    _gaq.push(['_trackPageview']);
    </body>
    </html>

    can you tell me how to edit my template files to amend these errors? The first one, in particular, is negatively impacting SEO for my site.

    thank you,
    ellen madono

  2. zoonini
    help me help you
    Posted 1 year ago #

    As your daughter says, you are missing the closing part of this tag:

    <meta name="google-site-verification" content="FkkEBeXIeeRBuQbZx0VgMCqowdBtE4qdu893FpvjCWo" /> <--- add the last three characters including the space here

    and the closing script tag here:

    <script type="text/javascript">
    
    var gaJsHost = (("https:" == _gaq.push(['_setAccount', 'UA-XXXXX-X']);
    _gaq.push(['_setClientInfo', false]);
    _gaq.push(['_setAllowHash', false]);
    _gaq.push(['_setDetectFlash', false]);
    
    _gaq.push(['_setDetectTitle', false]);
    _gaq.push(['_trackPageview']);
    
    _gaq.push(['_setAccount', 'UA-XXXXX-X']);
    _gaq.push(['_trackPageview']);
    </script>
    <---- add the last line here

  3. LNmumu
    Member
    Posted 1 year ago #

    Thank you Zoonini,

    I will send her your post.

    The problem is we do not know how to get into wordpress and make the codex changes. I personally do not know enough to figure out where to look for instructions.

    My daughter does not know anything about the wordpress interface. She was getting so frustrated with the thought of having to understand wordpress that I told her to explain the problem and I would ask the forum.

    If you could just tell me what the codex keyword for making changes to the code, maybe I can make the changes myself.

    Thanks,
    LNmumu

  4. zoonini
    help me help you
    Posted 1 year ago #

    The first change is likely in your theme's header.php file and the second is likely in the footer.php file, but if you're not comfortable with this, you may want to consider getting a professional web person to make the updates to make sure nothing goes wrong. Good luck!

  5. LNmumu
    Member
    Posted 1 year ago #

    You mean if I updated the site, these problems would go away. I know how to do that.
    Thanks,
    Ellen

Topic Closed

This topic has been closed to new replies.

About this Topic