I would like example.se to redirect to example.com?lang=swe
It really works fine with this particular apache config:
<VirtualHost *:80> ServerName example.se ServerAlias *.example.se Redirect permanent / http://example.com/?lang=swe </VirtualHost>
However , this breaks if there's another thing following the domain, ex: example.se/page1 should redirect to example.com/page1?lang=1 however with the setup above it redirects to example.com?lang=swepage1.
It is possible to method of doing this right?