我安裝SSL
爲wordpress
但https
只顯示了admin panel
,我想表明它在所有前端頁面我有加.htaccess
文件的根目錄,但沒有這樣做。HTTP重定向到https(僅管理員面板沒有前端)
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
顯示你'.htaccess'請。 – vaso123
考慮在問題描述中添加'.htaccess'的內容。 –
''' RewriteEngine敘述On' RewriteBase/ 重寫規則^索引\ .PHP $! - [L] 的RewriteCond%{REQUEST_FILENAME} -f 的RewriteCond%{REQUEST_FILENAME} -D- 重寫規則。 /index.php [L] –