Visiting this page I see this advertisement in the right-side sidebar:

"404 invalid referrer"

I'm not sure if this is because I'm visiting from a page with an https URL or if it's something caused by the https-everywhere extension I recently installed.

I am using Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0.

I understand that SE is still working on support for HTTPS and that the support is so far incomplete. This is a bug report, not a request for help.

ADDED 2014-02-24: The URL of the broken image is, as predicted below by user, is http://stack-exchange-dynamic-ads.herokuapp.com/bounty.png

  • $\begingroup$ It's not a bug, it's a feature! :-P $\endgroup$
    – Asaf Karagila Mod
    Feb 25, 2014 at 7:57

2 Answers 2


Sorry about this. By design, browsers will not send the referer when coming from an HTTPS site to a non-HTTPS site, which breaks the ad.

To counteract this, I've added a route where you can specify the site manually. This should work for all users:


I've edited your Community Promotion Ads post with the new URL, hopefully you shouldn't have any more issues.

  • $\begingroup$ It still won't work for HTTPS users who've disabled mixed content on secure pages, though. You might be able to simply use a protocol-relative URL; they work in most places, assuming that the server responds to both HTTP and HTTPS requests (and yours seems to). I've never tried them in community ads before, but I suspect they'd work. $\endgroup$ Apr 18, 2014 at 2:29
  • 1
    $\begingroup$ ...yep, it's working. Just saw the ad in rotation, loaded over HTTPS. $\endgroup$ Apr 18, 2014 at 4:45
  • $\begingroup$ @IlmariKaronen Good to know, thanks for testing that $\endgroup$ Apr 18, 2014 at 4:59

Https is not supported yet, SE is working on it but currently a lot of stuff is still broken. You should disable HTTPS Everywhere for SE as you'll run into a few other problems as well, e.g. Mathjax not working.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .