Skip to main content

Timeline for Permanent Redirect (WWW to non WWW)

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Apr 16, 2016 at 15:01 comment added MrWhite "this will only redirect the homepage" - Actually, the RedirectPermanent directive will redirect everything to the corresponding URL at example.com (it's prefix matching and everything after the match is passed through). No need for mod_rewrite here.
May 6, 2015 at 2:25 comment added closetnoc BTW- A much more detailed answer- one up-vote just for that!!
May 6, 2015 at 2:24 comment added closetnoc BTW- the .htaccess file is cached these days and only checked for a time stamp that does not match the cache. So for the most part, the .htaccess is not touched if it remains static short of checking the file index last modified date/time periodically. Even this can be cached by the file I/O sub-system depending upon request patterns. So "negligible" can actually be "no impact" under normal circumstances.
May 6, 2015 at 2:05 vote accept RoastedCode
May 6, 2015 at 1:44 history answered Tim Fountain CC BY-SA 3.0