Hey, I can't remember what this is called (301 redirect?). www.mydomain.com has PR2 http://mydomain.com is PR3 I want to redirect everything going from http://mydomain.com to www.mydomain.com..for PR reasons. Whats the code to enter into my htaccess? It is a forum. Also, would it be best to redirect www.mydomain.com to http://mydomain.com or from mydomain.com to www.mydomain.com? Most people would link to the site using www.mydomain.com, so I would think its better for PR reasons. But then when you do a 301 redirect, isn't the PR forwarded anyway? Thanks in advance.
Redirect mydomain.com to www.mydomain.com : RewriteEngine On rewritecond %{http_host} ^mydomain.com rewriteRule ^(.*) http://www.mydomain.com/$1 [R=301,L]
Would this also work if I wanted to move example.com/forum to example.com? Would my file look like the following?