htaccess for multiple domains
        Posted  
        
            by 
                toomanyairmiles
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by toomanyairmiles
        
        
        
        Published on 2011-03-12T16:47:14Z
        Indexed on 
            2011/03/13
            0:12 UTC
        
        
        Read the original article
        Hit count: 541
        
.htaccess
I have three domains which share a common root directory, wordpress is installed on domain 1 which results in domains 2 and 3 generating 404/500 error pages from domain 1. Is there a way to correct the error?
Current htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
© Server Fault or respective owner