Actions

Adding www to a url

From Joomla! Documentation

Revision as of 15:53, 24 September 2009 by Mandville (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How do I get www as a prefix in all my joomla sites?

Add the following to your htaccess file

RewriteEngine On RewriteCond %{HTTP_HOST} ^whisperingtree\.net$ [NC] RewriteRule ^(.*)$ http://www.whisperingtree.net/$1 [R=301,L]