WordPress.org

Support

Support » How-To and Troubleshooting » .htaccess or plugin: Enable https only on certain pages and force http on rest?

.htaccess or plugin: Enable https only on certain pages and force http on rest?

  • projects7
    Member

    @projects7

    Hello,

    I’m trying to accomplish a task where http is forced through out the site and on certain pages for example /cars/honda and /cars/subaru https is forced.

    Right now I’m using .htaccess to force https to http all around.

    RewriteCond %{HTTPS} on
    RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI}

    What’s the best way to accomplish this? How would I do it if I wanted to go the .htaccess route? Is there a plugin that would be a better option?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘.htaccess or plugin: Enable https only on certain pages and force http on rest?’ is closed to new replies.