After editing my .htaccess for Friendly URLs to properly work, my forum.mydomain.com url persists to redirect to mydomain.com/forum. This causes the forum properly not to work due to cookie issues (users can not log in)
How can I fix this?
Here is my ht access file:
# Friendly URLs Part
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} .
# Force all pages to go to www.domain.com for SEO
RewriteCond %{HTTP_HOST} !^www\.mydomain\.com [NC]
RewriteRule (.*)
http://www.mydomain.com/$1 [R=301,L]
# Friendly URLs
RewriteCond %{HTTP_HOST} ^www\.mydomain\.com
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
Thanks