Search code examples
phpxmlapachewapwml

Make a site automatically choose between the WAP or normal version?


I have a website with the following files in the root folder: index.wml index.php

How do I get it to open index.php if you are accessing via non-wap browsers, but open index.wml automatically when it is a wap browser. I suspect something must go in the .htaccess file?


Solution

  • take a look at this script:

    http://tom.anu007.googlepages.com/wapredirect

    lets you specify different redirects depending on browser.

    Josh