Title: SSL Proxy &#8211; Header breaks it!
Last modified: August 20, 2016

---

# SSL Proxy – Header breaks it!

 *  Resolved [BeautyPirate](https://wordpress.org/support/users/beautypirate/)
 * (@beautypirate)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/ssl-proxy-header-breaks-it/)
 * Hey guys,
 * I have another problem with that SSL connection. The Header in the TwentyTen 
   theme always serves that image via http://
 * I googled this half the last night and I couldn´t find any help out there.
 * There MUST be a db Table or a core file that I can edit to send the header via
   SSL proxy. At least I hope it is?

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

 *  Thread Starter [BeautyPirate](https://wordpress.org/support/users/beautypirate/)
 * (@beautypirate)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/ssl-proxy-header-breaks-it/#post-2645916)
 * Found it by trial and error. If anyone´s looking for this, it’s directly in the
   header.php (Simply edit via Dashboard.)
 * Look for:
 *     ```
       // Houston, we have a new header image!
       						echo get_the_post_thumbnail( $post->ID );
       					elseif ( get_header_image() ) : ?>
       						<img src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" />
       					<?php endif; ?>
       ```
   
 * Replace:
    `<img src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH;?
   >" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" />`
 * With:
    `<img src="https://ssl.proxy.xx/images.yourdomain.com/bla/bla/header.jpg"
   width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT;?
   >" alt="" />`
 * If you´re not using a subdomain then just skip ‘images.’
 *  [photocurio](https://wordpress.org/support/users/photocurio/)
 * (@photocurio)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/ssl-proxy-header-breaks-it/#post-2646328)
 * this is not a good solution.. this just hard-codes the header image. the whole
   point of a CMS is not having stuff hard-coded.
 * if `<?php header_image(); ?>` could print out a relative url instead of an absolute
   url, we’d have a solution..

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

The topic ‘SSL Proxy – Header breaks it!’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [photocurio](https://wordpress.org/support/users/photocurio/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/ssl-proxy-header-breaks-it/#post-2646328)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
