自動將 HTTP 重新導向至 HTTPS
在網站上安裝 SSL 憑證完畢後,您需要將訪客重新導向至安全 (HTTPS) 版本的網站。為您的網站選擇主機狀況:
- Web Hosting (cPanel): Redirect my website to HTTPS using Web Hosting (cPanel)
- 使用 Plesk 主機服務,且非 WordPress 網站:使用 web.config 重新導向至 HTTPS
- 使用 Plesk 主機服務,且為 WordPress 網站:使用 WordPress 儀表板和 web.config 重新導向至 HTTPS
Note:
- These instructions don't apply to Managed WordPress accounts with an SSL certificate. The HTTPS redirect is automatically enabled after the SSL certificate install finishes on a Managed WordPress account.
- If we don't have a guide for your server, check your server documentation to learn how to redirect your website traffic.