0
我們在我們的網站中啓用了https並在管理部分啓用了301。 但問題是與該類別或產品的URL類別和網址沒有https重定向到magento主頁
例子:我有https://www.boxdoccia.it/box-doccia/box-doccia-angolari/,當改變http://www.boxdoccia.it/box-doccia/box-doccia-angolari/返回首頁
Magento的1.7.0.2 - 多專賣店(SSL僅適用於boxdoccia.it)
- 自動重定向到基本URL - >是301
和-secure不安全網址 - >https://www.boxdoccia.it
這是HT訪問:
<IfModule mod_ssl.c>
############################################
## make HTTPS env vars available for CGI mode
SSLOptions StdEnvVars
</IfModule>
<IfModule mod_rewrite.c>
############################################
## enable rewrites
Options +FollowSymLinks \t
RewriteEngine on
############################################
## workaround for HTTP authorization
## in CGI environment
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
############################################
## TRACE and TRACK HTTP methods disabled to prevent XSS attacks
RewriteCond %{REQUEST_METHOD} ^TRAC[EK]
RewriteRule .* - [L,R=302]
############################################
## always send 404 on missing files in these folders
RewriteCond %{REQUEST_URI} !^/(media|skin|js)/
############################################
## never rewrite for existing files, directories and links
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
############################################
## rewrite everything else to index.php
RewriteRule .* index.php [L]
</IfModule>
############################################
## Prevent character encoding issues from server overrides
## If you still have problems, use the second line instead
AddDefaultCharset Off
#AddDefaultCharset UTF-8
FileETag none
#####
RewriteCond %{HTTP_HOST} ^(.*)boxdoccia.it
RewriteRule^- [E=MAGE_RUN_CODE:boxdoccia_it]
RewriteCond %{HTTP_HOST} ^(.*)boxdoccia.it
RewriteRule^- [E=MAGE_RUN_TYPE:website]
RewriteCond %{HTTP_HOST} ^(.*)allandmore.com
RewriteRule^- [E=MAGE_RUN_CODE:allandmore_com]
RewriteCond %{HTTP_HOST} ^(.*)allandmore.com
RewriteRule^- [E=MAGE_RUN_TYPE:website]
RewriteCond %{HTTP_HOST} ^(.*)piattodoccia.it
RewriteRule^- [E=MAGE_RUN_CODE:piattodoccia_it]
RewriteCond %{HTTP_HOST} ^(.*)piattodoccia.it
RewriteRule^- [E=MAGE_RUN_TYPE:website]
並在谷歌網站管理員,我們添加http試試這個://和https://網站有2個不同的網站地圖?谷歌網站管理員 – maurizio
我建議請檢查這個網址。 [鏈接](https://productforums.google.com/forum/#!topic/webmasters/_TUXY8emefI) –