E
EdwardDekker
Guest
Can some one reproduce/check this issue at the forum.
When I creating a mobile site to m.domain.tld.
The DNS of that domain conflicts to show the mobile site and do not show up, instead the default domain will be displayed.
Also have I added some code to .htaccess for redirecting:
When I creating a mobile site to m.domain.tld.
The DNS of that domain conflicts to show the mobile site and do not show up, instead the default domain will be displayed.
Also have I added some code to .htaccess for redirecting:
Code:
RewriteEngine on
RewriteCond %{HTTP:X-WAP-PROFILE} !^$ [OR]
RewriteCond %{HTTP:PROFILE} !^$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*(Alcatel|Asus|Android|BlackBerry|Ericsson|Fly|Huawei|i-mate|iPAQ|iPhone|iPod|LG-|LGE-|MDS_|MOT-|Nokia|Opera\s+Mini|Opera\s+Mobi|Palm|Panasonic|Pantech|Philips|Sagem|Samsung|Sharp|SIE-|Symbian|Vodafone|Voxtel|WebOS|Windows\s+CE|Windows\s+Phone|ZTE-).*$ [NC,OR]
RewriteCond %{HTTP_ACCEPT} application/vnd.wap.xhtml\+xml [NC,OR]
RewriteCond %{HTTP_ACCEPT} text/vnd.wap.wml [NC]
# redirecting to the mobile page
RewriteRule ^/(.*) http://m.edwarddekkerhosting.nl// [L,R]
[code]
I have posted also some pictures around of this problem.
Attachments
Last edited by a moderator: