WordPress.org

Forums

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

  1. projects7
    Member
    Posted 1 year ago #

    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?

  2. projects7
    Member
    Posted 1 year ago #

    Bump... Wondering if I could get some help with this

Topic Closed

This topic has been closed to new replies.

About this Topic