最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

redirect - 301 redirection editing .htaccess doesn't work

programmeradmin1浏览0评论

I set up SSL certificate and submitted to the hosting service. It says it is connected to Port. I wanted to redirect http url to https, so I edited .htaccess file with a code as below in the root folder through FTP. But it doesn't work. Can you give me an advice what to check to fix the problem? (my website address it ) Thanks!

RewriteEngine On

RewriteCond %{HTTPS} off

RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

发布评论

评论列表(0)

  1. 暂无评论