私は現時点でかなり奇妙な問題に直面していますが、私は単一ドメイン上にワードプレスとoscommerceをインストールしています。私はrootにwordpressを、/ store/folderにoscommerceを置いた。 1つのこと以外はすべて正常に動作しています。 oscommerceのサーバーヘッダーは、ページが正しく表示されていても404エラーをスローしています。この結果、Googlebotはこれらのページをまったくインデックスに登録しません。 誰でもこの問題の解決に手伝ってもらえますか?私は今どうすればいい?htaccess問題:ページが正しく表示されていますが、ヘッダー404が投げられます
Root httaccess is
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html
RewriteEngine On
RewriteCond %{HTTP_HOST} ^outdoorwatersolutions.com [NC]
RewriteRule ^(.*)$ http://www.outdoorwatersolutions.com/$1 [L,R=301]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
とosCommerceのhttaccessが
Options +SymLinksIfOwnerMatch
<IfModule mod_rewrite.c>
RewriteEngine On
# RewriteBase instructions
# Change RewriteBase dependent on how your shop is accessed as below.
# http://www.mysite.com = RewriteBase/
# http://www.mysite.com/catalog/ = RewriteBase /catalog/
# http://www.mysite.com/catalog/shop/ = RewriteBase /catalog/shop/
# Change RewriteBase using the instructions above
RewriteBase /store/
RewriteRule ^([a-z0-9/-]+)-p-([0-9]+).html$ product_info.php [NC,L,QSA]
RewriteRule ^([a-z0-9/-]+)-c-([0-9_]+).html$ index.php [NC,L,QSA]
RewriteRule ^([a-z0-9/-]+)-m-([0-9]+).html$ index.php [NC,L,QSA]
RewriteRule ^([a-z0-9/-]+)-pi-([0-9]+).html$ popup_image.php [NC,L,QSA]
RewriteRule ^([a-z0-9/-]+)-pr-([0-9]+).html$ product_reviews.php [NC,L,QSA]
RewriteRule ^([a-z0-9/-]+)-pri-([0-9]+).html$ product_reviews_info.php [NC,L,QSA]
# Articles contribution
RewriteRule ^([a-z0-9/-]+)-t-([0-9_]+).html$ articles.php [NC,L,QSA]
RewriteRule ^([a-z0-9/-]+)-au-([0-9]+).html$ articles.php [NC,L,QSA]
RewriteRule ^([a-z0-9/-]+)-a-([0-9]+).html$ article_info.php [NC,L,QSA]
# Information pages
RewriteRule ^([a-z0-9/-]+)-i-([0-9]+).html$ information.php [NC,L,QSA]
# Links contribution
RewriteRule ^([a-z0-9/-]+)-links-([0-9_]+).html$ links.php [NC,L,QSA]
# Newsdesk contribution
RewriteRule ^([a-z0-9/-]+)-n-([0-9]+).html$ newsdesk_info.php [NC,L,QSA]
RewriteRule ^([a-z0-9/-]+)-nc-([0-9]+).html$ newsdesk_index.php [NC,L,QSA]
RewriteRule ^([a-z0-9/-]+)-nri-([0-9]+).html$ newsdesk_reviews_info.php [NC,L,QSA]
RewriteRule ^([a-z0-9/-]+)-nra-([0-9]+).html$ newsdesk_reviews_article.php [NC,L,QSA]
</IfModule>
は、私はあなたの.htaccessを表示しない限り、あなたは多くの助けを得るだろうとは思わない(製品が完売されたときに原因がそれは...それは後で戻ってかもしれないが、それは を行っit's通知します)ファイルまたはhttpd.conf(いずれか問題が発生した場合) 。 – gpojd
Webサーバーの設定に関するヘルプを得るには、serverfault.comを試してみてください。 – Crontab
私はそれが.htaccessの問題ではないと思います。何らかの理由でコードが404ヘッダーを印刷しないことは確かですか? – gpojd