Redirect to www if not entered - Joomla! Forum - community, help and support


i want if goes domain.com redirects them http://www.domain.com cookie reasons bridge.

my host told me use code im not sure place it.

code: select all

if ($_server['http_host'] == 'domain.com') {
header("location: http://www.domain.com/");
exit;
}

just guess, wrap in , put @ top of template.

cheers





Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums