CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Apache configuration (http://www.codingforums.com/forumdisplay.php?f=69)
-   -   URGENT .htaccess help!! (http://www.codingforums.com/showthread.php?t=226405)

michaeldean 05-09-2011 06:15 PM

URGENT .htaccess help!!
 
I am having the BIGGEST dilema. For some reason every time i get my site to redirect from the naked domain: mysite.com to its actual www.mysite.com all my subdomain links: mysite.com/audio are broken! Is there some obvious easy fix for this? What am i doing wrong? Please help!

Here is the code i've been using:

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

WHAT DO I NEED TO ADD/CHANGE TO MAKE MY SUBDOMAIN LINKS WORK??


All times are GMT +1. The time now is 10:38 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.