Question on 301 Redirects with .HTACESS - Redirecting Sub-Domain + Files to Root


Dec 29, 2009
Reaction score
What's up everybody? I've been reading this forum for years and finally decided to take the plunge into IM full-time. I am looking forward to becoming an active member of the community.

I am doing some SEO work on a domain that I have been holding, and found that there is a decent profile of high value links already attributed to the domain.

I am attempting to redirect all of these links to the root directory of the domain where the new site resides, but have had no luck. I have been able to 301 redirect the www sub domain but when I check the header status for individual files or folders it is still reporting a 302. Does anyone know the correct way to implement this with .htaccess?

I tried to post the code that I am using, but the forum is blocking it. Please help!!
Last edited:
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features and essential functions on BlackHatWorld and other forums. These functions are unrelated to ads, such as internal links and images. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock