PDA

View Full Version : how to apply multiple redirect conditions?



JayKay
23 Aug 2010, 01:17 PM
1) I have a redirect from mypage.com to www.mypage.com/main/about-us/ in htaccess with
Quote


RewriteCond %{HTTP_HOST} ^mypage.com [NC]
RewriteRule ^(.*)$ http://www.mypage.com/main/about-us/$1 [L,R=301]



but how can I redirect BOTH from www.mypage.com and mypage.com =to=> www.mypage.com/main/about-us/

If the www.mypage.com is the same with www.mypage.com/main/about-us because it redirected, will that affect SEO somehow?