redirect all https to http (1 post)

  1. crz
    Posted 4 years ago #


    I've built a website with wordpress for a client that used to be running on https (the old site was non-wordpress).

    I'd like to redirect all https links to http.

    I've tried this below (found on stackoverflow) but didn't work
    Options +FollowSymlinks

    <IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteCond %{SERVER_PORT} ^443$
    RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1 [R=301,L]

    # BEGIN WordPress
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    Thank you in advance for any tips you might have.

Topic Closed

This topic has been closed to new replies.

About this Topic