次の問題があります:
Google ウェブマスター ツールで数千の 404 エラーが発生しましたが、これを取り除きたいと考えています。エラーのあるリンクの形式は次のとおりです。
detail1_1573950017_.html
detail1_0471241687_.html
detail1_3150182638_.html
detail1_319004077X_.html
detail1_3464901092_.html
detail1_347332437X_.html
detail1_3577104848_.html
これは、それを取り除くための私の動作していない .htaccess エントリです。
RewriteRule ^detail1_([^/]+)_\.html shops.php?go=detail1&ItemId=$1 [L]
また
RewriteRule ^detail1_([^/]+)\_\.html shops.php?go=detail1&ItemId=$1 [L]
どちらのバージョンも動作しません!! 他の RewriteRules は完全に機能しています。
2 つの _ の間の文字は、ItemId の $1 になります。
どんなヒントでも大歓迎です
システム情報: PHP erstellt for Linux 2.6.32-379.19.1.lve1.2.7.el6.x86_64 #1 SMP Wed Jan 23 14:53:41 EST 2013 x86_64 Datenbankversion 5.1.68-cll Datenbankzeichensatz utf8_general_ci PHP-Version 5.3.22 Webserver Apache PHP-Interface für den Webserver cgi-fcgi