Many index.html to make a PHP-Like thing?

Discussion in 'Mobile Web Development' started by BlazeEdwin, Jan 9, 2008.

  1. BlazeEdwin

    BlazeEdwin New Member

    Joined:
    Oct 9, 2007
    Messages:
    485
    Likes Received:
    1
    Device:
    iPhone 3GS (Black)
    It looks like a lot of websites make this..

    http:// LINK / LINK / - without the .html thing..

    But did they do what I did?

    like creating a index.html inside a folder..

    coz that needs people to download multiple times of images..

    so.. is that a easier way to create

    http://xxxxxx/xxx/ ?
  2. blizma

    blizma New Member

    Joined:
    Dec 20, 2007
    Messages:
    125
    Likes Received:
    0
    Um....
    well inside the folder create a index.html file which either shows content you want people to see, or make the index.html redirect to whereever you want it. if you type in http://xxxx/xxx/ this auto opens the index file anyway...
  3. shadowscreen

    shadowscreen New Member

    Joined:
    Jan 16, 2008
    Messages:
    1
    Likes Received:
    0
    A lot of servers use mod_redirect plugin with apache.
    If you are developing on an apache server read this website: http://www.workingwith.me.uk/articles/scripting/mod_rewrite

    It deals with using the mod_rewrite function of .htaccess files.

Share This Page