http://www.mysite.com vs. http://mysite.com -> login messup - Joomla! Forum - community, help and support
okay,
i go
http://mysite.com/administrator
and login, getting redirected to
http://www.mysite.com/adminstrator,
where still have log in!
this no great hardship me same thing happens customer login on frontend...
is there anyway logging in can log in both http://www.mysite.com , http://mysite.com
i realise might server config rather joomla config, if can grateful.
matt
i go
http://mysite.com/administrator
and login, getting redirected to
http://www.mysite.com/adminstrator,
where still have log in!
this no great hardship me same thing happens customer login on frontend...
is there anyway logging in can log in both http://www.mysite.com , http://mysite.com
i realise might server config rather joomla config, if can grateful.
matt
add following
to top of .htaccess of website , traffic example.com directed http://www.example.com.
http://mysite.com/administrator directed http://www.mysite.com/administrator before login.
code: select all
rewritecond %{http_host} !^www\.
rewriterule ^(.*)$ http://www.%{http_host}/$1 [r=301,l]
http://mysite.com/administrator directed http://www.mysite.com/administrator before login.
Comments
Post a Comment