Guest Posted January 31, 2009 Posted January 31, 2009 I am trying to get my site verified with google. I am using the add a meta tag option. It says to put it in the index.php file after the header, but before the body. Well, I don't have anything like that in my index.php. Where does this darn thing go? Thanks bunches,
germ Posted January 31, 2009 Posted January 31, 2009 <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> *** PUT IT HERE *** <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Jack_mcs Posted January 31, 2009 Posted January 31, 2009 I am trying to get my site verified with google. I am using the add a meta tag option. It says to put it in the index.php file after the header, but before the body. Well, I don't have anything like that in my index.php. Where does this darn thing go? Thanks bunches, For what's it's worth, I suggest not using the meta tag. It is non-standard so it's not used by other search engines, though they have to read it. Plus, it's less efficient. The google bots that visit your site may not always go through the index page but they have to load it in, if using the meta tag, since they have to verify the site every-so-often. If you have a 50 KB index file, for example, over the course of the year, that could amount to hundred's of mega bytes of wasted bandwidth when compared to the 1 KB verification file. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Guest Posted January 31, 2009 Posted January 31, 2009 For what's it's worth, I suggest not using the meta tag. It is non-standard so it's not used by other search engines, though they have to read it. Plus, it's less efficient. The google bots that visit your site may not always go through the index page but they have to load it in, if using the meta tag, since they have to verify the site every-so-often. If you have a 50 KB index file, for example, over the course of the year, that could amount to hundred's of mega bytes of wasted bandwidth when compared to the 1 KB verification file. Jack I tried the verification file. What I did was, went to Kompozer, opened a blank page, titled it the verification name it gave me, saved it, then published it. I opened it in firefox. After that, I went back to google to have it verify it and it said there was a 404 and a 202 error. I think I didn't do it right. Any help? Thanks
Jack_mcs Posted February 1, 2009 Posted February 1, 2009 The name of the file has to end in .html and be reachable via http://yourdomain.com/google_filename.html. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Guest Posted February 1, 2009 Posted February 1, 2009 Ive deleted the original file, redid it and I am still getting the same error: Verification status: NOT VERIFIED We've detected that your 404 (file not found) error page returns a status of 200 (Success) in the header. Is it because I published the page instead of just ftp? Grrr, this is maddening...LOL Thanks for trying to help. Chelle
Guest Posted February 1, 2009 Posted February 1, 2009 Ive deleted the original file, redid it and I am still getting the same error: Verification status: NOT VERIFIED We've detected that your 404 (file not found) error page returns a status of 200 (Success) in the header. Is it because I published the page instead of just ftp? Grrr, this is maddening...LOL Thanks for trying to help. Chelle Ok, just deleted and ftp'd and didnt publish. Same error. Chelle
Jack_mcs Posted February 1, 2009 Posted February 1, 2009 What's your url? Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Guest Posted February 1, 2009 Posted February 1, 2009 What's your url? Jack http://www.clearcreekscraps.com/googlea58663b7d46218df.html I appreciate your help with this, Jack. :D
Jack_mcs Posted February 1, 2009 Posted February 1, 2009 Oh, I remember your site. Nice improvements. :) That looks fine. The error is saying that it is failing because of an inccorect status code. A 404 is a page not found error and it should return 404. Yours is returning 200, which is the return code for a normal page. This is due to how your host has the server setup. They need to change that, although not all will. It is a minor problem in this situation. If they won't, you can switch to the meta tag for verification and that should be OK. However, if they are always returning the wrong code, I would be concerned that they do the same for other pages, like 301's. If they do, that could cause a lot of problems for your site. By the way, you need to fix the configure warning displayed at the top of the page. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Guest Posted February 2, 2009 Posted February 2, 2009 Oh, I remember your site. Nice improvements. :) That looks fine. The error is saying that it is failing because of an inccorect status code. A 404 is a page not found error and it should return 404. Yours is returning 200, which is the return code for a normal page. This is due to how your host has the server setup. They need to change that, although not all will. It is a minor problem in this situation. If they won't, you can switch to the meta tag for verification and that should be OK. However, if they are always returning the wrong code, I would be concerned that they do the same for other pages, like 301's. If they do, that could cause a lot of problems for your site. By the way, you need to fix the configure warning displayed at the top of the page. Jack Thanks!! I've worked hard on it this past year. I appreciate the compliment. I'll try to give them a call later this morning and if they won't, oh well, Ill do the meta tag. I had NO idea I was getting that config warning. I wasn't getting it in firefox! You and another gentleman alerted me to it. I appreciate ya! Thanks again, Jack, Chelle
Guest Posted February 2, 2009 Posted February 2, 2009 <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> *** PUT IT HERE *** <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> Thanks Jim and Jack. Saved me butt again! Chelle
Recommended Posts
Archived
This topic is now archived and is closed to further replies.