No index.php

On a mailing list I’m on someone just pointed to It’s been awhile since I’ve run across that site (or, before it existed, Slashdot commenters condemning use of TCWWW — The Cursed WWW), but I strongly agree — www. in a domain name is pointless.

Even worse is index.php in the path. You’ve taken the time to publish a website, now take a few minutes to make its URLs less ugly. I’m not going to bother setting up, but someone should. However, in the spirit of, here are a couple resources for removing index.php from popular software installations:

Please remove index.php from your URLs, or signal that you have no taste, no technical abilities, or both.


7 Responses

  1. Gordon Mohr says:

    I was long in the no-www camp.

    But then via the Yahoo ‘Best Practices for Speeding Up Your Web Site’, I was reminded that if your site’s cookies are set on, they will be sent to every, too. That presents problems for caching, even if you segment all static resources off to a ‘’ subdomain.

    Solution: either set up a different owned domain like for cacheable resources, or embrace the ‘www.’ and set your application cookies only on ‘’.

    So the www is not all bad.


    (Point taken about index.php, of course. Clean URLs are one of the dozens of little things that send a signal of craftsmanship to a savvy audience. Others that spring to mind: ALT/TITLEs for images; making radio/checkbox labels active; intuitive tab orders; layouts that work at different font sizes; form submits that redirect to non-POST reloadable pages.)

  2. Gordon Mohr says:

    Also: for a site that has (or may have) different language versions, the wikipedia per-language subdomain approach is nice. It offers a subdomain on which to hang the login cookie — such as — that’s more meaningful than ‘www.’.

  3. Good point re caching. It seems that Yahoo takes the approach — — though redirects to

    I do like meaningful subdomains where appropriate.

  4. ‘www’ could have been selected to cue the speaker to greater precision in their speech and the listener to greater concentration in correctly interpreting the following identifier. A sort of line conditioner like the ten pulses of the zero that starts all telephone numbers (well, it worked like that once).

    It also serves as a good audio marker for any speech analysis software.

    Ok, so TBL just thought it looked cute – and then made up some lame excuse about it being memorable and standing for ‘world wide web’.

  5. Lucas says:

    In spoken language the ‘www’ is a better cue than ‘h-t-t-p’.

    Yahoo misses all those little signs of craftsmanship pretty often. I spent months attempting to get GUIDs out the URLs.

    The yimg URLs go to akamai or y’s internal caching network.

  6. Label me a troll, but I think the no-www movement in downright idiotic., anyone? How about Or The Internet is much more than just the Web, you know.

    As for the index.php issue, how about not wanting to code a server-specific solution into a server-independent application? Not everyone uses Apache, strange as it may sound. Yeah, index.php looks ugly and lenghtens the URL unnecessarily, but getting rid of it is always a hack.

  7. Felix, that’s not remotely a troll.

    Only web browsers really present an interface where is expected to work. However, if you want to use for the web, please make redirect to rather than serving the same content from both.

    The worst kind of index.php visibility is that which is just an incomplete server-specific solution. There is something nice about zero need for htaccess or equivalent, which for wordpress means you see something like and I can respect that. However, the amount of htaccess or equivalent routing to get nice looking and informative to humans urls is trivial and as far as I know supported by all modern web servers that support non-static content at all.

Leave a Reply