(.htaccess) Mapping Multiple Domains to a different folders

Imagine if your have multiple domains with multiple sub folders and you’re using the root directory (public_html) as your main domain. Isn’t messy? Try this tricks using your .htaccess. In root (public_html) directory, create a folders folder1 and folder2. Create .htaccess  in your public_html  directory. Paste the following rules and modify accordingly. <IfModule mod_rewrite.c> RewriteEngine On # pointing[…]