Title: https redirect not working in htaccess
Last modified: August 22, 2016

---

# https redirect not working in htaccess

 *  [ltparis](https://wordpress.org/support/users/ltparis/)
 * (@ltparis)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/https-redirect-not-working-in-htaccess/)
 * I currently redirect to a folder in my htaccess file to load up my wordpress 
   site. I just got a SLL cert that I would like to force a redirect, but it seems
   my code is in error. Any thoughts on to force to https?
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       Header set Connection keep-alive
       RewriteEngine On
   
       RewriteCond %{HTTP_HOST} ^(www.)?pariscreative.com$
       RewriteRule ^(/)?$ _PCv3 [L]
   
       RewriteCond %{SERVER_PORT} 80
       RewriteRule ^(.*)$ https://pariscreative.com/$1 [R=301,L]
   
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       RewriteCond %{QUERY_STRING} .*\btag=([^&]*).*
       RewriteRule ^search\.cgi /?tag=%1 [R=302]
       </IfModule>
       AddType x-mapp-php5 .php
       # END WordPress
       ```
   

The topic ‘https redirect not working in htaccess’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [ltparis](https://wordpress.org/support/users/ltparis/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/https-redirect-not-working-in-htaccess/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
