Title: Problem with https
Last modified: August 21, 2016

---

# Problem with https

 *  [gh0zt](https://wordpress.org/support/users/gh0zt/)
 * (@gh0zt)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/problem-with-https-1/)
 * I bought a theme that uses this plugin, it works fine on http but on https it
   gets messed up.
 * In the custom css file generated I see static links to http images instead of
   https images
 * I know the theme developer has customized this so I have two questions:
 * 1. Under what circumstances is a new custom css file generated?
    2. Can you point
   me to the place in the code where the URL is built so I can change it from building
   static http image links to relative image links instead?
 * Thanks.
 * [http://wordpress.org/plugins/wp-less/](http://wordpress.org/plugins/wp-less/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [thom4](https://wordpress.org/support/users/oncletom/)
 * (@oncletom)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/problem-with-https-1/#post-4056443)
 * Https can be troublesome if it’s behind a reverse proxy.
 * I would suggest you to hint WordPress to think it’s really an HTTPS blog because
   other internals can rely on that (such as HTTPS-specific URIs etc.).
 * [This is a working example](https://github.com/oncletom/blog-theme/blob/master/functions.php#L200-208)
   of an HTTPS detection within a reverse proxy use case.

Viewing 1 replies (of 1 total)

The topic ‘Problem with https’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-less.svg)
 * [WP-LESS](https://wordpress.org/plugins/wp-less/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-less/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-less/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-less/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-less/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-less/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [thom4](https://wordpress.org/support/users/oncletom/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/problem-with-https-1/#post-4056443)
 * Status: not resolved