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

.htaccess redirection all Sub Folder to root

Tech Talk
1#
Tech Talk Published in 2017-12-07 07:04:51Z

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.309743 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO