Newsflash

With a library of hundreds of free Extensions, you can add what you need as your site grows. Don't wait, look through the Joomla! Extensions library today.

Home Section Blog Domain names How can I automatically redirect a query entered in a browser without the "www." to my domain with the "www." in front?
How can I automatically redirect a query entered in a browser without the "www." to my domain with the "www." in front? PDF Print E-mail
Written by Administrator   
Thursday, 09 October 2008 14:09
You just need to add this at the end of the .htaccess file under the /web on your FTP:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^[^.]*.[^.]*$
RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [R,L]
 

Language

English (United Kingdom)Deutsch (Deutschland)French (Fr)Italian (Italy)Español(Spanish Formal International)
Test your Internet connection speed at Speedtest.net
CO.CC:Free Domain
JoomlaWatch Stats 1.2.8_04-dev by Matej Koval

Countries

46.3% UNITED STATES  UNITED STATES
7.7% SPAIN  SPAIN
2.6% UNITED KINGDOM  UNITED KINGDOM
2.4% ROMANIA  ROMANIA
2.4% SWITZERLAND  SWITZERLAND

Visitors

Today: 1
Yesterday: 2
Last Week: 7
This Month: 25
Last Month: 54
Total: 495


home search