[wp-hackers] Important Forum Post

Mathias Bynens mathibus at gmail.com
Fri Dec 3 21:50:01 UTC 2004

You could of course use no-www code, like this [
http://mathibus.com/archives/2004/06/08/redirects/ ]:

RewriteEngine On
RewriteCond %{HTTP_HOST} !^mathibus.com$ [NC]
RewriteRule ^(.*)$ http://mathibus.com/$1 [R=301,L]

(For those non-Apache: there's a PHP function that pretty much does
the same, on the page linked above.)

Without www. in URIs, the world would be a better place. Not only
because of this bug. [ http://no-www.org/ ]

On Fri, 03 Dec 2004 16:43:45 -0500, Tor Bjornrud <bjornrud at msu.edu> wrote:
> Ryan Boren wrote:
> > We're arguing about it right now.  I have removed the offending code
> > from the 1.2.x branch for now.  Alternatives are being discussed.
> >
> > This code was introduced so that sites wouldn't break when people
> > changed location.  This is one of the most frequent support questions we
> > encounter.  We'd still like to provide a means of relocating one's
> > weblog without having to dip into phpMyAdmin.  Ideas welcome.
> >
> I'd prefer if there was a check for $_SERVER['SERVER_NAME'] at every
> header, and if there was a problem, it simply died with an error message
> and login prompt to change the site URI.
> Anyone who's just moved the url of the site will then *know* what's up,
> and there's not a chance of anyone's slip showing, just a default login
> screen.
> Best,
> ~Tor
> _______________________________________________
> hackers mailing list
> hackers at wordpress.org
> http://wordpress.org/mailman/listinfo/hackers_wordpress.org

Mathias Bynens aka MaThIbUs

More information about the hackers mailing list