0

サイトをmagentoの新しいドメイン名に移動しました。ホームページはうまく機能しますが、すべてのリンクで404が表示されます。

httpd.confで「*LoadModulerewrite_modulemodules/mod_rewrite.so*」が有効になっていることを確認しました

.htaccessには次のエントリがあります。

## rewrite everything else to index.php
RewriteRule .* index.php [L]

古いサイト

http://old_site.com/                    << this works
http://old_site.com/en/contentpage.html         << this works

新しいサイト

http://newsite.com/shop1/en
http://newsite.com/shop1/en/contentpage.html     << this is a typical link from the home page                                    
                                                 << link from new site takes me here, but this gives 404 error

http://newsite.com/shop1/index.php/en/contentpage.html  < this link, however, does works
http://newsite.com/shop1/en/contentpage.html            << link from new site takes me here, but this gives 404 error

4

1 に答える 1

0

あなたが提供した説明に基づいて、インストール中にUse apache rewritesオプションが設定されていなかったか、どこかで失われたようです。

テーブルweb/seo/use_rewrites内のパスを確認します。値が1である必要があります。そうでない場合は、1 に設定します。core_config_data

于 2012-09-28T06:57:20.953 に答える