# Html/php vs wml index files

**URL:** <https://forum.kirupa.com/t/html-php-vs-wml-index-files/176376>\
**Category:** Uncategorized\
**Created:** [January 23, 2006, 4:01pm UTC](https://forum.kirupa.com/t/html-php-vs-wml-index-files/176376 "2006-01-23T16:01:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![real\_illusions](https://avatars.discourse-cdn.com/v4/letter/r/f07891/32.png) [@real\_illusions](https://forum.kirupa.com/u/real_illusions)\
**Post date:** [January 23, 2006, 4:01pm UTC](https://forum.kirupa.com/t/html-php-vs-wml-index-files/176376/1 "2006-01-23T16:01:44Z")

</div>

hi

i’m currently trying to develop a mobile phone/device version of our website.

however, theres a bit of a problem.

the main index page is index.php

for the mobile phone, its index.wml

trying to access the page ([www.examplesite.com](http://www.examplesite.com)) from a phone, it doesn’t read or find the wml file, it tries to read the php index page, which obviously doesn’t work. i know this from the site logs. i then changed the index.wml to home.wml, but that didn’t work. however, if you put the index.wml in the web address, like [www.examplesite.com/index.wml](http://www.examplesite.com/index.wml) it works.

why does it do this? and how do you get the mobile phones to read the wml file without having to put that file onto the end of the web address??

🙂
