Title: HTTPS
Last modified: August 31, 2016

---

# HTTPS

 *  Resolved [thiswaystewie](https://wordpress.org/support/users/stupidnamegenerator/)
 * (@stupidnamegenerator)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/https-42/)
 * Okay, hey guys!
 * My problem is simple as hell.
    I can access my website from… `www.healthyforever.
   dk` …and `http://healthyforever.dk` Which i dont like. I want to redirect both
   to: `https://healthyforever.dk/`
 * How is this done? thank you! 😀
    btw.. tried using the wordpress setting: web
   address URL setting – did nothing.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Gary Pendergast](https://wordpress.org/support/users/pento/)
 * (@pento)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/https-42/#post-7363766)
 * Hi there!
 * The easiest way would be to redirect all HTTP connections to your HTTPS URL, 
   in your `.htaccess` file. The `.htaccess` file can be found in your website’s
   base folder.
 * Simply add these lines:
 *     ```
       RewriteEngine On
       RewriteCond %{SERVER_PORT} 80
       RewriteRule ^(.*)$ https://healthyforever.dk/$1 [R,L]
       ```
   
 * If you’re not 100% confident in editing files over SFTP, I’d recommend contacting
   your host to help you out, as it is possible to stop your site from working, 
   when editing your `.htaccess` file. Your host can also confirm that you web server
   is configured correctly to accept this configuration.
 *  Thread Starter [thiswaystewie](https://wordpress.org/support/users/stupidnamegenerator/)
 * (@stupidnamegenerator)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/https-42/#post-7363781)
 * _[ profanity redacted ]_ thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘HTTPS’ is closed to new replies.

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [thiswaystewie](https://wordpress.org/support/users/stupidnamegenerator/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/https-42/#post-7363781)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
