I want to redirect all requests for http://www.mydomain.com/subdomains/forum/httpdocs/* to http://forum.mydomain.com/* how would I accomplish this with an htaccess? I've been trying stuff all day and nothings working for me
RewriteEngine On RewriteRule ^subdomains/forum/httpdocs/(.*) http://forum.mydomain.com/$1 Code (markup): This makes use of the mod_rewrite module in apache. I have not tested this code; it might not work. If it does not, it should at least get you going. Try google for mod_rewrite and apache, there's loads of information out there.