View Single Post
Old 10-29-2012, 09:18 PM   PM User | #6
patryk
Regular Coder

 
patryk's Avatar
 
Join Date: Oct 2012
Location: /dev/couch
Posts: 395
Thanks: 2
Thanked 64 Times in 64 Posts
patryk is on a distinguished road
oh sorry man. that's my mistake
try this instead:
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mydomain\.com [nc]
RewriteRule ^(.*)$ http://www.mydomain.com/$1 [R=301,L]
(just remove that '$' from condition)
patryk is offline   Reply With Quote
Users who have thanked patryk for this post:
ajhauser (10-29-2012)