Hello pple, DirectoryIndex index.php RewriteEngine on RewriteRule ^domain-name/ domain-name.php [L] RewriteRule ^domain-name/registration.html domain-name-registration.php [L] Options -Indexes Code (markup): Any idea how do I get my "domain-name/registration.html" working? It doesn't show up, it is being redirected to domain-name.php .. How should I write my .HTACCESS to have a virtual directory called "domain-name" with its index being "domain-name.php" and one of the virtual subpages "registration.html" pointed to domain-name-registration.php ? Please help! Thanks!
I think the first rule is overwriting the second one as it's first. Try changing them around. DirectoryIndex index.php RewriteEngine on RewriteRule ^domain-name/registration.html domain-name-registration.php [L] RewriteRule ^domain-name/ domain-name.php [L] Options -Indexes Code (markup):