I posted here an issue I was having with a redirect from desktop to mobile. I actually solved my own issue and posted my solution. [
webmasterworld.com ]
Now I have another issue. The area we have the user go is a virtual directory on our parent domain.
The website the application is coming from is https:// www.mydomain .com/ that a mobile user is redirected to https:// m.mydomain.com by the redirect rule.
The virtual directory is set up on https:// www.parentcompany.com/
The Virtual directory name is mydomain under parentcompany.com
So the link on the application on https:// www.mydomain.com and https: // m.mydomain.com are the same. I have both websites connected to the same database.
The desktop is fine what is causing the issue is the mobile redirect.
The link on the application is https:// www.parentcompany/mydomain/applicationidnumber
Since this is a virtual directory the application on the https:// m.mydomain.com is now being redirected from
https:// www.parentcompany/mydomain/applicationidnumber
to
https:// m.mydomain/mydomain/applicationidnumber
How can I stop the mobile redirect rule from redirecting the application url?