Afficher un message
Vieux 25/02/2005, 18h08   #1
LJM
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut htaccess q: preventing www at beginning of address

My WPP has somehow configured the (Unix) webserver to prefix the URL
with a www. if there is no trailing slash (/) at the end of the URL.

eg. http://myurl.com/test/ is left untouched but
http://myurl.com/test is changed to
http://www.myurl.com/test/ ...which causes all further links to be
prefixed with www.

I want to stop this. Is there anything I could put in .htaccess to just
put a trailing slash on the end, but prevent the www being prefixed?
--
Lee J. Moore
"Life is short, art is long."
  Réponse avec citation
 
Page generated in 0,04881 seconds with 9 queries