I have a main domain (me.com) and I am hosting files for my mom's website (mom.com) in a subdirectory in my public_html folder so that mom.com uses files from me.com/mom.All I want to do is make it so that anyone trying to access her site through me.com/mom gets an error, without disturbing the visitors to mom.com.
How to create .htaccess to block access to a subdirectory that hosts a separate domain
htaccess;mod rewrite;subdomain;url rewriting