サブフォルダーに opencart をインストールし、web8.us/shop/
永続的に にリダイレクトしましたshop.web8.us
。
私の .htaccess ファイル:
RewriteEngine On
Options +FollowSymLinks
RewriteBase /
RewriteCond %{http_host} ^web8.us [nc]
RewriteRule ^(.*)$ http://www.web8.us/$1 [L,R=301]
#this is the magic line below here
RedirectMatch 301 ^/shop/(.*)$ http://shop.web8.us/$1
言語がなくてもすべてうまくいきますが、言語を英語からスペイン語に変更しようとすると、まだ英語のままです。何か案は?