#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2006
    Posts
    20
    Rep Power
    0

    How to get index.wml to be served if client is a cell phone


    I setup the MIME type so the user can view the page on the cellphone if they go to: www.mydomain.com/index.wml

    But if they go to www.mydomain.com it won't load for them.

    How do I get index.wml to be a default when .php/.html won't load? Or how do I get it to be a default when the client is a cell phone?


    I've scoured the entire net. I've read every tutorial. But nothing has adequately addressed my problem.

    This was even mentioned in the sticky FAQ on this forum, but the relevant section is dated and the links are broken.

    edit: even if i delete index.php and index.wml is the only index file in the directory, the cell phone still won't load it. i still have to explicitly direct the phone to the url: mydomain.com/index.wml
  2. #2
  3. Did you steal it?
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,002
    Rep Power
    9398
    Mobile sites tend to be quite different from the regular sites. A lot of people use a separate subdomain for mobile phones instead of using the same domain for everything.

    Have you considered that?
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2006
    Posts
    20
    Rep Power
    0

    yes but i don't want to


    yes i have but i'd really like my domain to resolve.. the way the big domains do..

    i'd like them to get the .wml when they go to www.mydomain.com

IMN logo majestic logo threadwatch logo seochat tools logo