I want to use my htaaccess file to redirect http to www, but with the forum under the /forum folder. I have an htaacess file that redirects html_root/ to www. But how do I add the /forum/ folder? This is what I have right now Options +FollowSymlinks rewritecond %{http_host} ^elgms.com [nc] rewriterule ^(.*)$ http://www.elgms.com/$1 [r=301,nc]
We use this for ours but we dont have the forum in another dir. Code: RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.ratepicsnow\.com RewriteRule (.*) http://www.ratepicsnow.com/$1 [R=301,L] RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] For you I would think this: Code: RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.elgms\.com RewriteRule (.*) http://www.elgms.com/forum/$1 [R=301,L] It may work