Home .htaccess rewrite subdomain without jpg or gif
Reply: 0

.htaccess rewrite subdomain without jpg or gif

boaz Published in 2017-11-14 13:10:37Z

I want to use htaccess to rewrite subdomains but keep jpg or gif files on subdomain

Desired result:

http://www.example.com/ -> index.php http://mobile.example.com/ -> http://www.example.com/ http://whatever.example.com/ -> http://www.example.com/ http://mobile.example.com/folder/folder/img.jpg -> http://mobile.example.com/folder/folder/img.jpg

You need to login account before you can post.

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

© 2016 Powered by mzan.com design MATCHINFO