Title: WordPress and ssl
Last modified: August 31, 2016

---

# WordPress and ssl

 *  Resolved [Trinitech](https://wordpress.org/support/users/trinitech/)
 * (@trinitech)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wordpress-and-ssl-1/)
 * Hello,
 * Is it possible to use relative URLs in wordpress without the use of a plugin?
   
   I am trying to implemet ssl with woocommerce and it is prouving rather challenging
   so far. Another reason for using relative URLs is security related
 * Thank you in advance
    Fred

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

 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wordpress-and-ssl-1/#post-7343455)
 * > Is it possible to use relative URLs in wordpress without the use of a plugin?
 * You could, but you’ll hurt yourself doing it. All of the coding for WordPress
   is designed for absolute URLs and forcing relative URLs will break things such
   as RSS feeds.
 * > I am trying to implemet ssl with woocommerce and it is prouving rather challenging
   > so far.
 * If your site is ready for TLS, why not just implement the Site URL and WordPress
   Address settings as `https:` URLs instead? If you also set HTTP Strict Transport
   Security (HSTS) then your visitors will only hit your site via an encrypted URL.
 * [https://en.wikipedia.org/wiki/Strict_Transport_Security](https://en.wikipedia.org/wiki/Strict_Transport_Security)
 * That is normally set on your web server level though it is just an http header
   so you should be able to set it via a plugin or your theme’s `functions.php` 
   file.
 * >  Another reason for using relative URLs is security related
 * No, it’s not.
 * _*Drinks coffee*_
 * I’m sorry, “security” is a thing for me. 😉
 * There’s no more security in relative URLs than there is in hiding your URL from
   users. Which you do not want to do. The security is in the code and how you setup
   your site. If you are concerned about it (and that’s good) then give this a read.
 * [http://codex.wordpress.org/Hardening_WordPress](http://codex.wordpress.org/Hardening_WordPress)
 *  Thread Starter [Trinitech](https://wordpress.org/support/users/trinitech/)
 * (@trinitech)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wordpress-and-ssl-1/#post-7343736)
 * Thank you for the advise Jan,
    I set the whole site to HTTPS and applied a few
   of the advise fron the link you sent me.
 * Fred

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

The topic ‘WordPress and ssl’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Trinitech](https://wordpress.org/support/users/trinitech/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/wordpress-and-ssl-1/#post-7343736)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
