WordPress.org

Ready to get started?Download WordPress

Forums

not able to upload google verification code (23 posts)

  1. bhishma
    Member
    Posted 2 years ago #

    Hi,
    I am new to wordpress and have just started my blog.
    I wanted to verify my blog http://sanki.in/ with google but unfortunately am not able to do so. I checked this link http://en.support.wordpress.com/webmaster-tools/ but when I go to the available tools,something about 'press this' shows up and nothing else. Not even a clue of webmaster tool verification.
    Has this got something to do with my theme Pagelines platform(free version).
    Also, it has an option to enter a code for google analytics in the footer.php but the verification failed there too.

  2. Krishna
    Volunteer Moderator
    Posted 2 years ago #

    The Google verification code has to be inserted in the header section (between <head> and </head>. You may check if you have an option to do so in the theme's framework. If not you can go to the editor and open the file and insert the code. Another method is to upload a small html file from Google to your root directory (through FTP or cPanel).

  3. bhishma
    Member
    Posted 2 years ago #

    Thanks Krishna for your reply. The pagelines theme does not have an option to insert code in the theme's framework. When I open it in the editor, they have mentioned this about customization.
    DO NOT CUSTOMIZE THIS FILE USE BASE CHILD THEME OR SETTINGS
    - Customization CSS in PageLines Themes
    - Customize PageLines themes by adding CSS in the theme settings or in the Base child theme (w Pro)
    - Don't add it here; as it will either get overwritten by updates, or prevent you from updating at all
    - (Trust us on this one!)

    So, I think I am left with the third option. Can you please explain in detail how to execute it with cpanel ( i am using hostgator )

  4. Krishna
    Volunteer Moderator
    Posted 2 years ago #

    Yes, editing any theme files will make the changes lost when the theme is updated. But you can insert the code in header. The only problem is when you update, you have to insert it again.

    The other option is better. You can login to your cPanel at Hosthator and upload the small html file copied from Google Webmaster tools at the root. Also you can upload the file using FTP programs like FileZilla.

  5. bhishma
    Member
    Posted 2 years ago #

    thanks for bearing with me Krishna. Could you tell more about how to upload the file at the root in cpanel.
    What I am planning to do is this. In cPanel, go to File Manager, then click on web root ( out of four options of home directory, web root, public ftp root and document root ) then upload the HTML file given by google.
    Am i doing it right?

  6. Krishna
    Volunteer Moderator
    Posted 2 years ago #

    Yes, where your WordPress files are uploaded.

  7. bhishma
    Member
    Posted 2 years ago #

    Hi Krishna, I wasn't able to do anything even when I have talked to Hostgator people several times.
    As i said in my first post here that something regarding 'press this' appears when i go to available tools. Apparently it is what exactly should come us(as the tutorial http://codex.wordpress.org/Tools_Screen says)
    But when we refer to http://en.support.wordpress.com/webmaster-tools/ the story is completely different.
    I am completely confused now, I have even forgotten whether my blog is on wordpress.com or .org
    Why is this ambiguity arising? What am i missing here?

  8. Krishna
    Volunteer Moderator
    Posted 2 years ago #

    I am completely confused now, I have even forgotten whether my blog is on wordpress.com or .org
    Why is this ambiguity arising? What am i missing here?

    Here is a bit of info about your site:
    Your hosting company is: Hostgator
    The domain SANKI.IN is registered with GoDaddy.com Inc. Please NOTE it, I will be deleting some info soon.

  9. bhishma
    Member
    Posted 2 years ago #

    Thanx for the info.
    But my main concern was about the ambiguity in the two links because every where on this forum I have seen people referring to http://en.support.wordpress.com/webmaster-tools/ where as my blog is on wordpress.org. So how do i reach the google verification tool in my dashboard?

  10. Krishna
    Volunteer Moderator
    Posted 2 years ago #

    Do you have a Google account?

  11. bhishma
    Member
    Posted 2 years ago #

    yes ...i have a google account which says verification home. Do i need some other account?

  12. Krishna
    Volunteer Moderator
    Posted 2 years ago #

    Try to go here, login, add your site and get your ownership verification code. Look around the links there.

  13. bhishma
    Member
    Posted 2 years ago #

    I am there. In fact I have been there since the last 2 days. I will tell you in detail.
    When I first logged in and requested google for verification, they generated a verification code in a HTML file and said that the preferred method will be to upload that code in the header are or google verification tool, both of which I was not able to do/find.
    But somehow i found a place in my theme template that said post google analytics number here ( in the footer area ), so I did the same and now, but it still doesnt work.(it just sort of appeared in the lower most left corner of the site, check it out )
    The other method is of inserting the meta tag which my theme does not allow.
    The other alternate methods suggested are through google analytics account (which again I dont know about) and the last is through domain.
    Now i tried the domain method but I got stuck in the middle becaUSE at one stage they asked me launch the DNS server but since my site is not hosted on godaddy, it was again a dead end.
    So the last option for me is to now handle the google analytics account probably.

  14. Krishna
    Volunteer Moderator
    Posted 2 years ago #

    You are trying something that is not possible. As you said and I verified, you are hosted with Hostgator. Either login there and upload the small html file where your WordPress installation is. Or just click on CHAT at Hostgator and tell the support staff what you want to do. Keep the code/ html file ready. Also your credit card info to verify that you are the owner of the site.

  15. bhishma
    Member
    Posted 2 years ago #

    i already did that too, twice.
    in the first instance their representative simply asked me to tell him the google verification code and said that he will verify the site.Then he said that he has verified the site and asked me to check with google a couple of hours later. But still, no result.
    I, then, again talked to another representative and asked him to help to get to correct wordpress file folder and upload the google file. He instead asked me to send my google verification login/password details to their support email and said that they will take care of the issue. Though he was confident of the privacy i still am a little apprehensive of sending my login details as that is linked with my primary email. But now that seems to be the only way out.

  16. Krishna
    Volunteer Moderator
    Posted 2 years ago #

    If you do not know how to do a certain thing, you have to believe someone who will be ready to help you. That is the only way. I do not think the Hostgator staff will misuse your Google ID. Again, after the job is done, just change your password. That's all.

  17. bhishma
    Member
    Posted 2 years ago #

    yes, you are right. I will mail them for the support.
    Thanks for keeping your patience with me. Thanks a lot.

  18. Gordon
    Member
    Posted 1 year ago #

    Hello Bhishma,

    Had same problem.

    Google instructions are typical Google garbage.

    If you upload HTML file to www. it works. So use FTP to get to your website server and click on www to open folder and upload file. Do not upload to http://www.yourdomainname.com/ as Google say.
    I have spent last two days on this and finally decided to ignore what Google say and tried www. folder and it worked immediately.
    Putting it in home page does not work either. It apparently has to be put in a Header.php file.

    Cheers,

    Gordon.

    [sig moderated as per the Forum Rules]

  19. Santosh
    Member
    Posted 1 year ago #

    there are two ways to verify your website one is to upload html file to your root directory of website other is to add html tag.
    for adding html : if you are using WordPress SEO by joost than it will solve your problem just go to dashboard of plugin and there at the end of the page you find Webmaster Tools options just add html tag in front of google.

  20. Debbie_Davidson
    Member
    Posted 1 year ago #

    How do you "add html tag"?

  21. Santosh
    Member
    Posted 1 year ago #

    you need to put html tag in your website header tags<head> </head>. you can do it by editing your theme files or if you are using any seo plugin it may have option of adding google meta tag.
    I am using wordpress seo which has this option

  22. bhishma
    Member
    Posted 1 year ago #

    Hi, thanks for the support.
    I had completely given up on this one, but later I saw the same fields in the Yoast SEO plugin. It was quite smooth with it actually.

  23. Santosh
    Member
    Posted 1 year ago #

    yes it is if you access to you server than uploading file is best option for the verification

Topic Closed

This topic has been closed to new replies.

About this Topic