Jump to content

 

UBL_Designes

Member Since 07 Oct 2008
Offline Last Active May 18 2009 01:32 PM
-----

Topics I've Started

www problem... Please help

01 December 2008 - 02:29 AM

Hi i have a site which i have the seo mod turned on. all seems to work well apart from 1 thing.

Its not using the www. at the start of the URL. so its using "domain.com/store/" instead of "www.domain.com/store/"

I need it to have www. because of using the xml sitemap for google.

Can someone help me solve this issue



Ive already used the mod rewrite rule of:

RewriteCond %{HTTP_HOST} YourWebsite.com$ [NC]
RewriteRule ^(.*)$ http://www.YourWebsite.com/$1 [R=permanent,L]

But this doesnt work... am i not doing it right?

Thanks

Robert