0
Answered

Redirect Website to Mobile Version Script

salim12146bmakine 3 years ago 0
Hi,
You online documentation confused me a bit because of the several answers with different scripts. Would you please clarify if your script:
RewriteEngine On
# Check for mime types commonly accepted by mobile devices
RewriteCond %{HTTP_ACCEPT} "text\/vnd\.wap\.wml|application\/vnd\.wap\.xhtml\+xml" [NC]
RewriteCond %{REQUEST_URI} ^/$
RewriteRule ^ http://m.domain.com%{REQUEST_URI} [R,L]
SHOULD CHANGE THE LAST LINE TO:
RewriteRule ^ https://phoenicia.org%{REQUEST_URI} [R,L]

Thanks.