WordPress index.html vs index.php struggle

Usually when we make wordpress websites we don’t really want people to see the website in the making – so we create an index.html splash page with “under construction” or something of that sort and then we go back to tweaking index.php

Well for a while now (since wordpress 2.7) that’s not really possible because if you access www.mydomain.com it’ll in fact show the splash page, but when you go to www.mydomain.com/index.php it’ll also redirect itself to that splash index.html file.
All the other wordpress pages and permalinks work, but without the main page it’s kinda hard to edit now isn’t it?

I was searching for an answer for a LONG time and it turns out there is one.
http://core.trac.wordpress.org/changeset/9203 – here it is. If it’s all black magic to you or you’re just lazy (who isn’t?) I’ll simply tell you what to do :

Go to wp-includes folder on your server, find the canonical.php file and then find a line that goes something like that:

$redirect['path'] = preg_replace('|/index.php/*?$|', '/', $redirect['path']);

and replace it with

$redirect['path'] = preg_replace('|/index.php/$|', '/', $redirect['path']);

It’s just removing two characters but the result is a working splash page and a working index.php

Ain’t it just great?

Facebook is the end of IE6 ?

facebookie6
At a point in time, when facebook is the internet inside the internet, and when many people think of it as THE internet, rarely using anything else, an interesting thing has happened. Many had pleaded, many had wished for it (especially web developers), and even Microsoft urged for it. No success. Nobody was able to kill Internet Explorer 6, mainly because it’s preinstalled with windows XP and this is still what the majority uses. So all of the office computers, and all the home computers of casual users remained the silent majority of web browsing.

ie6compatThis of course led to websites being done ESPECIALLY for IE6 and for the rest of the world. Twice as much work. Or actually more, since IE6 had it’s humors and wasn’t really following standards, so it was all a hit or miss scenario constantly. And as years have gone by, the usage of IE6 was shrinking, but not fast enough so it’d be convincing for a client to skip IE6 version of the site. Even at 25% of the market (and it still has more than that, significantly more) nobody would decide to skip IE6 version while building a site.

Well until now. A while ago youtube stopped supporting IE6, but most of it worked just fine in IE6 anyway.
Now facebook comes into play, and since it has all those apps and all those quizes the casual user really loves, they’ll see a big difference. And that alone – a decision of a website they spend half their awake time on – can lead them to upgrade. Sure firefox, chrome, safari and opera are better than any IE iteration, but for god’s sake! Make them upgrade to at least IE7 and that, as terrible a browser as it is – is still a huge step for the web world.

IE6 Rest in peace.