• Resolved Marcomail

    (@marcomail)


    RewriteRule . /index.php [L]

    I think this is the problem because google return 200 ok for non-existing pages (404)

    i try to delete this line but all the pages return error 404

Viewing 5 replies - 1 through 5 (of 5 total)
  • If you’re asking what that line is for, the intent behind it is to redirect all requests to the index.php in your blog’s root, which allows WordPress to manage any custom permalinking internally.

    Thread Starter Marcomail

    (@marcomail)

    ahhh ok ) thanks

    I don’t understand why google index all my non-existing pages, it retrieve 200 ok but my head return 404 correctly…if i delete the htaccess i don’t have problem

    Thread Starter Marcomail

    (@marcomail)

    up

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    I don’t understand what your question is. The 404 is handled by WordPress internally, and yes, it will return a 404 for bad links and such.

    What is returning 200? How are you seeing this? A little more description of the problem might help people to help you out. ??

    Thread Starter Marcomail

    (@marcomail)

    yes, but my problem is google return 200 OK for non-existing pages…if i delete the htaccess it verify correctly, i tried all the solution on this and outside the forum, but they don’t work. I don’t understand why i have all this problem, if i tried an head request it return 404 error correctly…but in the log server i haven’t any 404 error.

    anyone can help me ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘which is the function of this line on htaccess’ is closed to new replies.