Either you hardcoded SERVER_NAME to "devweb.org" (leave it empty or use "www.devweb.org")
or your webserver returns "devweb.org" as $_SERVER['SERVER_NAME'], which it shouldn't, because the host from the request_uri is "www.devweb.org"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
when i look at my wiki at: http://www.devweb.org/wiki
all the links direct me to http://devweb.org adresses
why is it dropping the www ?
Either you hardcoded SERVER_NAME to "devweb.org" (leave it empty or use "www.devweb.org")
or your webserver returns "devweb.org" as $_SERVER['SERVER_NAME'], which it shouldn't, because the host from the request_uri is "www.devweb.org"
For some reason even though my uri is www.devweb.org my SERVER_NAME is devweb.org
http://www.devweb.org/phpinfo.php
So you have to override it in config.ini
oh i see. there's a SERVER_NAME var in the config.ini.
I hadn't seen that before.
thank you.