Duplicate content even with 301 redirects

My site is http://www.stadriemblems.com and I have a 301 redirect in my .htaccess file to redirect all non-www to www and it works great. But it doesn't seem to apply to my blog, which is located at http://www.stadriemblems.com/blog

It doesn't seem to make sense that I'd need to place code in every .htaccess file of every sub-folder. If I do, what code can I use?
LVL 1
MarisaWeb DesignAsked:
Who is Participating?
 
Aaron TomoskyConnect With a Mentor SD-WAN SimplifiedCommented:
It currently works for me...


I type
http://stadriemblems.com/blog/ 
And i get redirected to
http://www.stadriemblems.com/blog/

So what's the problem?
0
 
COBOLdinosaurCommented:
Post your code please.


Cd&
0
 
MarisaWeb DesignAuthor Commented:
This is the code I have that redirects http://stadriemblems.com to http://www.stadriemblems.com

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

Open in new window


What I am looking to do is to also redirect http://stadriemblems.com/blog/ to http://www.stadriemblems.com/blog/
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

 
MarisaWeb DesignAuthor Commented:
Hmm, I guess the error is just in SEOmoz's crawler. It's giving me a bunch of duplicate content errors. It understands my redirects in the main directory but not the blog. Sorry to have wasted your time.
0
 
Aaron TomoskySD-WAN SimplifiedCommented:
I feel dirty getting points for that ;)
0
 
MarisaWeb DesignAuthor Commented:
Well, you still tried. It was my fault for posting a stupid question!
0
 
COBOLdinosaurCommented:
There are no stupid question; just problems to be solved.  Aaron it is guaranteed that if you participate in enough questions you will get shafted sometimes, so it just evens out. :^)


Cd&
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.