My name is Gordo (not really)<p>Can someone please explain to me why an Apache mod_rewrite rule would apply in Chrome, but not in Firefox? Basically, I'm taking the requested subdomain, e.g. [something].mywebsite.com, and using that string to 301 redirect to mywebsite.com/[something]. Works perfectly in Chrome, but hasn't worked in Firefox in a while (first version worked in both, but I had to reimplement it after a WordPress update overwrote it) and I have no idea why that should be a thing. We basically have zero Firefox users attempting to use the subdomain aside from myself, so it doesn't *really* matter, but I just want to understand (and avoid an unnecessary customer service email in the event that a Firefox user scans the QR code and erroneously ends up at the homepage; yes, the subdomain was a mistake. But the QR codes are out there by the thousands, so it's too late for me now lol).</p><p>I should say that the majority of my mod_rewrite experience was probably a decade or so ago, so I'm definitely pretty rusty.</p><p>The rule:</p><p>RewriteCond %{HTTP_HOST} ^(?!www\.)([^.]+)\.(mywebsite\.com)$ [NC]<br>RewriteRule ^ http://%2/%1%{REQUEST_URI} [L,R=301,NE]</p><p><a href="https://hachyderm.io/tags/apache" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>apache</span></a> <a href="https://hachyderm.io/tags/mod_rewrite" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mod_rewrite</span></a> <a href="https://hachyderm.io/tags/server" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>server</span></a></p>