404 errors on /a folders in Webmaster Tools

前端 未结 3 1956
轮回少年
轮回少年 2020-12-17 04:20

In Google Webmaster Tools, under crawling errors, my number one 404 error is something called

www.domain.com/a 

There is no such thing in m

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-17 04:38

    Check your Apache error logs. Or install a small PHP file which saves the $_SERVER["HTTP_REFERER"] like:

    Then create a .htaccess file to redirect calls to /a to this PHP:

    Options FollowSymLinks
    RewriteEngine On
    RewriteRule ^a$ somthing.php
    

    Alternatively you can save your PHP on the name /a/index.php, that way you do not need redirect.

提交回复
热议问题