I want to do those classical 301 redirects:
- Prepend "www" if there is not.
- Add "/shop/" directory if there is not.
- In both cases, I want to mantain the file requested and possible parameters.
And also (this is the point) I want to avoid multiple redirects when http://myhost.com is requested:
- 301 -> http://www.myhost.com
- 301 -> http://www.myhost.com/shop/
I want only 1 redirect. How can I do it in the simplest way?