Home .htaccess URL redirect for sub domain
Reply: 0

.htaccess URL redirect for sub domain

user427
1#
user427 Published in May 23, 2018, 4:19 pm

How can I redirect all queries from sub folder to sub domain with .htaccess?

Including query string (after "/?").

And this should be friendly for SEO (generates 301).

Example:

https://example.com/app/?r=dl/catalog/show&param=1 

redirect to

https://sub.example.com/app/?r=dl/catalog/show&param=1 

Thank you!

You need to login account before you can post.

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

© 2016 Powered by mzan.com design MATCHINFO