Results 1 to 13 of 13

google cant verify with html...htaccess issue?

This is a discussion on google cant verify with html...htaccess issue? within the General Discussion forums, part of the vBSEO Google/Yahoo Sitemap category; Verification status: NOT VERIFIED Last attempt Oct 11, 2006: We've detected that your 404 (file not found) error page returns ...

  1. #1
    Member
    Real Name
    Justin
    Join Date
    Oct 2006
    Posts
    37
    Liked
    0 times

    Unhappy google cant verify with html...htaccess issue?

    Verification status: NOT VERIFIED
    Last attempt Oct 11, 2006: We've detected that your 404 (file not found) error page returns a status of 200 in the header

    I've uploaded the file to Rule One Investment Community and can view http://www.ruleoneforum.com/googlec16bea9add38d48a.html in my browser but google doesn't see it.

    This issue is also happening on my blog subdirectory, with the exact same circumstances/results. The files are there, google gets a 404. I'm wondering if there is a redirect problem with my htaccess. Here it is for reference:

    PHP Code:
    RewriteEngine On

    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vBulletin folder (i.e. RewriteBase /forums)
    RewriteBase /

    RewriteCond %{HTTP_HOST} !www\.ruleoneforum\.com [NC]
    RewriteRule ^(.*) http://www.ruleoneforum.com/$1 [L,R=301]

    RewriteRule ^((urllist|sitemap).*.(xml|txt)(.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$[L]

    RewriteCond %{REQUEST_FILENAME} -f
    RewriteCond 
    %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.*)$ $[L]

    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_FILENAME} !chat
    RewriteRule 
    ^(.*.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]

    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond 
    %{REQUEST_FILENAME} !-d
    RewriteRule 
    ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L
    What gives?

  2. #2
    Member iain meddicks's Avatar
    Real Name
    Iain Meddicks
    Join Date
    Sep 2005
    Location
    Glasgow, Scotland
    Posts
    78
    Liked
    0 times
    That happens if you have the "File Not Found" requests handling? setting in the vbseocp.php file, set at Redirect to homepage.

    I have included a custom script (called 404.php) which still redirects to the homepage, the contents of 404.php is:

    Code:
    <?php
               header ("HTTP/1.1 404 Not Found");
    ?>
    <html>
    <head>
    <title>404 Error Redirecting To Homepage</title>
    <meta http-equiv="refresh" content="1;url=http://www.yourdomain.com/" />
    </head>
    <body>
    You have reached a page which doesn't exist and are being redirected to the homepage, if nothing happens <a href="http://www.yourdomain.com/">click here</a>.
    </body>
    </html>
    (remember to change yourdomain.com to your url)

    I have it uploaded to my root, and the setting in vbseocp.php is Include custom script: and the path is ../404.php

    Google should verify with no problems, with that .


    Iain

  3. #3
    Member
    Real Name
    Justin
    Join Date
    Oct 2006
    Posts
    37
    Liked
    0 times
    Ok so heres what happened: The file 404.php contains what you said to enter, (with the two domains replaced to reflect my domain), and it is located in my root dir.

    The path in vbseo is /404.php

    I still can not verify with google.

    What would cause this?

  4. #4
    vBSEO Staff Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    Auckland, New Zealand, New Zealand
    Posts
    3,998
    Liked
    11 times
    Hi Justin,

    If your vbseocp.php file is in a directory under root, the setting in vbseocp.php must be ../404.php (as written by iain above ).

  5. #5
    Senior Member
    Real Name
    Dhillon
    Join Date
    Apr 2006
    Posts
    341
    Liked
    1 times
    just rename .htaccess for 2 sec,verify the site,rename back .htaccess

  6. #6
    Member iain meddicks's Avatar
    Real Name
    Iain Meddicks
    Join Date
    Sep 2005
    Location
    Glasgow, Scotland
    Posts
    78
    Liked
    0 times
    Quote Originally Posted by Ace Shattock View Post
    Hi Justin,

    If your vbseocp.php file is in a directory under root, the setting in vbseocp.php must be ../404.php (as written by iain above ).
    Yup, when I first had it set include custom script I had only put ./404.php as the path, and was wondering the same thing as Justin, then I remembered about needing to have two dots.

  7. #7
    Senior Member Brandon Sheley's Avatar
    Real Name
    Brandon Sheley
    Join Date
    Oct 2005
    Location
    Kansas
    Posts
    2,347
    Liked
    19 times
    Blog Entries
    1
    It's a hit or miss for me to get my site away from this message NOT VERIFIED

    I've gone as far as disabling vbseo completly :(

    I've had it verified b4, but it's always a big ordeal :(

    any one know what I'm doing wrong ?

    thanks
    My forums: General Forums | Admin Talk (running xenforo)

  8. #8
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    Quote Originally Posted by Notorious View Post
    just rename .htaccess for 2 sec,verify the site,rename back .htaccess
    this doesn't work.

    it does at first, but google will re-check for this and un-verify your site.

  9. #9
    Member
    Real Name
    JamieLee2k
    Join Date
    Nov 2006
    Location
    Nuneaton
    Posts
    44
    Liked
    0 times
    So what can be done to fix this issue, I am having the same problem, Another way to do it is to put a Meta Tag in but it's PHP and not HTML

  10. #10
    vBSEO Staff Ace Shattock's Avatar
    Real Name
    Ace Shattock
    Join Date
    Jul 2005
    Location
    Auckland, New Zealand, New Zealand
    Posts
    3,998
    Liked
    11 times
    Your template system is pure HTML.

    That's where I put mine. If I recall correctly, in the headinclude template.

  11. #11
    Member
    Real Name
    JamieLee2k
    Join Date
    Nov 2006
    Location
    Nuneaton
    Posts
    44
    Liked
    0 times
    So how do I do it, I tried renaming the .htaccess to get it working and it's not, What info do you need, I really want to get this done, uploading the file doesn't work, and I only have PHP as part of my forum and homepage.

    Someone must know why it's not working?

  12. #12
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Try to set ""File Not Found" requests handling?" option to "Send 404 HTTP code" in vbseocp.
    Did you create googlec16bea9add38d48a.html file in your domain root?
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  13. #13
    Member
    Real Name
    JamieLee2k
    Join Date
    Nov 2006
    Location
    Nuneaton
    Posts
    44
    Liked
    0 times
    I uploaded a page that had content in it and it's verified fine now, having a blank page didn't work

Similar Threads

  1. Google won't verify?
    By serphog in forum General Discussion
    Replies: 11
    Last Post: 08-31-2006, 09:53 PM
  2. vBSEO 2.4.0 Released - Includes Google AdSense Targeting Feature!
    By Juan Muriente in forum vBSEO Announcements
    Replies: 74
    Last Post: 05-20-2006, 10:29 PM
  3. Google is All About Search: 4 New Products
    By Joe Ward in forum General Discussion
    Replies: 0
    Last Post: 05-16-2006, 02:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •