Support » Fixing WordPress » Google bot crawl 404 errors

Viewing 4 replies - 1 through 4 (of 4 total)
  • Kinda looks like you have WP installed in /blog and are doing some sort of rewrite already.

    thanks for the reply webjunk.

    my files are in public_html. there is no blog folder only:
    – cgi-bin
    – wp-admin
    – wp-content
    – wp-includes

    the .htaccess file is:

    RewriteEngine On
    RewriteBase /
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$
    RewriteRule ^(.+)$ $1/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    
    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

    the functions.php file is:

    <?php
    if ( function_exists('register_sidebar') )
        register_sidebar(array(
            'before_widget' => '<li class="widget">',
            'after_widget' => '</li>',
            'before_title' => '<h2>',
            'after_title' => '</h2>',
        ));
    remove_action('wp_head', 'wp_generator');// MY ADDED CODE
    ?>

    any ideas please?

    First try resetting Permalinks (or just swtich off) and see what happens.
    What do you have set for URL’s in General Settings?

    thank you webjunk

    changing permalinks to default has solved problem. all 404 errors in google webmaster reach a page.

    MEGA KARMA TO YOU

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Google bot crawl 404 errors’ is closed to new replies.