WordPress redirect all HTTPS to HTTP

前端 未结 5 1053
天涯浪人
天涯浪人 2020-12-03 16:46

We have a WordPress site, and used to have an SSL certificate. The site used to be all HTTPS, and now we don\'t need the SSL anymore so we let it expire.

We\'ve alre

5条回答
  •  醉梦人生
    2020-12-03 16:56

    The htaccess way is simple especially if you don't have access to admin area in WordPress.

    Just paste this below RewriteCond %{HTTPS} on

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

提交回复
热议问题