URL redirecting, please help!

Discussion in 'Apache' started by Tranix, Dec 2, 2005.

  1. #1
    Here's the code in .htaccess file that should be redirect from subdomain to a certain page.
    
    RewriteEngine On 
    RewriteCond %{HTTP_HOST} ^subdomain.domain.com
    RewriteRule ^(.*)$ http://subdomain.domain.com/index.php?name=lists [R=301,L]
    
    Code (markup):
    Thanks guys
     
    Tranix, Dec 2, 2005 IP