搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

htaccess redirect to non-www URL does not work

  • 4 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 Headcake

more options

I have a website with an SSL for the non-www domain name. I added a forced redirect in the htaccess file to send anyone entering the www to the non-www as well as a redirect at the server level. This typically works on all of my other websites and works with all browsers. However this one website it does not seem to work for. When I and a colleague go to the site on FIrefox, it forces the www version! Even when we enter it without the www, it sends us to the www site. We are in two different geographic locations on two different computers (both mac).

I have a website with an SSL for the non-www domain name. I added a forced redirect in the htaccess file to send anyone entering the www to the non-www as well as a redirect at the server level. This typically works on all of my other websites and works with all browsers. However this one website it does not seem to work for. When I and a colleague go to the site on FIrefox, it forces the www version! Even when we enter it without the www, it sends us to the www site. We are in two different geographic locations on two different computers (both mac).

所有回覆 (4)

more options

FYI, almost everyone else with Firefox can get to the website without a problem. Why can't a few?

more options

What site is the URL and what is the actual URL? If you don't say what they are no one is going to figure what is happening.

more options

the actual URL is silberfinechiro.com but even though I've edited the htaccess to force non-www, on Firefox it forces the www.

What it should be: silberfinechiro.com

what shows up: www.silberfinechiro.com