I have a domain in namecheap which i use it for url frame forwarding.
here's what i want to achieve.
DOMAIN-A.COM (original domain)
DOMAIN-B.COM (url framed domain from DOMAIN-A.COM)
so naturally when i go to domain-b.com, address bar in the browser should show domain-b.com because domain-a.com is framed to domain-b.com
here's the thing, when domain-b.com is accessed from mobile device(android,iphone,ipad) domain-a recognizes this and redirects to domain-a/mobile (shown in address bar) instead of showing domain-b.com in the address bar(framed)
what i want is when my domain is accessed from pc it shows framed. but when mobile, it redirects to original address.
i think it has something to do with some htaccess or some redirection script but i need your idea and advice. thank you.
BTW, URL framing is bad idea, especially for search engine optimization. A proper 301 redirect would be better option.