Home .htaccess redirection all Sub Folder to root
Reply: 0

.htaccess redirection all Sub Folder to root

user814 Published in April 25, 2018, 10:51 am

I have a Cpanel where we used a Root domain : Abc.com

I have hosted lots of other domains also on it. Now problem is this whenever i tried to open abc.com/bbb.com its also working beside bbb.com

I am looking for the solution with using of .htacess file. Just want to redirect all another domain folder to root. Domain hosted on root are too many that reason we can't put it one by one, it will make our .htacess too long.

We have more redirection from http to https , www to non www and index.html to root

I have tried but end with too many redirection. I need to combine all queries in one.

Please help me out.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.318981 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO