WordPress.org

Ready to get started?Download WordPress

Forums

Rewriting all HTTPS to HTTP (1 post)

  1. Man of Blog
    Member
    Posted 2 years ago #

    Trying to do this.. and failing. I can get the main https://mysite.com or https://www.mysite.com to rewrite to http://mysite.com but nothing else will.
    Options +FollowSymlinks
    RewriteEngine on
    RewriteCond %{SERVER_PORT} ^443$
    RewriteCond %{REQUEST_URI} !^/wp-login\.php
    RewriteCond %{REQUEST_URI} !^/wp-admin/
    RewriteRule ^(.*)$ http://mysite.com/$1 [R=301,L]

    I'm needing SSL access to the login, and admin as well. Though I need every single post and page to redirect to the http://mysite.com/post version etc.

    Thanks for any and all guidance.

Topic Closed

This topic has been closed to new replies.

About this Topic