create subdomain, redirect sub.domain.com -> domain.com/sub.html = duplicate ?

Discussion in 'Apache' started by GeorgR., Aug 8, 2007.

  1. #1
    hello,

    if i do a 302 redirect in my subdomain folder like

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^sub.example.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.sub.example.com$
    RewriteRule ^(.*)$ http://www.example.com/someurl.html [R=301,L]

    and i go to sub.example.com which redirects to example.com/someurl.html

    Is this considered duplicate content ?

    thanks
     
    GeorgR., Aug 8, 2007 IP