1
vote
Clean 301 redirects using an .htaccess that also removes index.php
This is what we use to redirect a directory to a subdomain
RewriteRule ^trade* http://trade.domain.com/ [R=301,L]
- 135
1
vote
Clean 301 redirects using an .htaccess that also removes index.php
Try a RedirectMatch rule and see what you get:
RedirectMatch 301 ^/store/?$ http://store.example.com
- 5,900
Only top scored, non community-wiki answers of a minimum length are eligible