I get very annoyed with the lack of trust clients have with web designers. I’m sure this comes from horrible experiences with unqualified, unexperienced or new designers who tend to be cheap, quick and perform plenty of mistakes. Many potential clients tend to say, “I have a few quick and easy changes for my website” or “this won’t take long” and then provide a list of not-so-easy tasks. No one goes to their doctor and says “hey doc, I don’t feel too well, but this would be quick and easy to fix,” while having flu like symptoms.
WordPress, index.html’s, and 404’s
I came across a WordPress quirk I did not know how to solve for some time. Google Webmaster Tools indicated there was a missing index.html on one of my WordPress driven websites. This website is ran on the root domain and was operating as it should be. When visiting a domain (such as mywebsitename.com) what ever is displayed on the page is what appears in the index.html file. When I entered the address of my website with the index.html file, WordPress gave me a 404 error, and this further confused me.
I did some investigation, and found I was not alone in my frustration, but a solution did not exist. While heading to my root domain worked (mywebsitename.com), mywebsitename.com/index.html did not, even weirder mywebsitename.com/index.php performed the job that index.html should have. To solve this problem, my first instinct was to try a simple redirect index.html to index.php by adding code into my .htaccess file. When I added the following code something interesting happened.
RewriteEngine on
RewriteRule index.html index.php [R=301,L]
This solution produced an infinite loop causing the server to terminate the request. This further perplexed me, I needed a solution without creating another webpage that was also SEO friendly. It wasn’t until I came cross this post, detailing how to redirect index.html and index.php to the home page that I found my answer. While the initial instinct was correct, the way to go about it was all wrong, to properly redirect a request for the index.html to the proper page (and make everyone happy), I had to use the following code:
RewriteCond %{THE_REQUEST} ^.*/index.html
RewriteRule ^(.*)index.html$ http://nexeusfatale.com/$1 [R=301,L]
By setting this condition, I prevented the server loop, redirected the request to the index.html to the root domain, informed search engines to properly update the missing webpage, and made everyone happy!
the next LVL theme updated to version 0.9.2
I have been very busy in tweaking my current web designs, including my newly released WordPress theme. I’ve made some changes (mainly those to be complient with the WordPress theme repository), and cleaned up a lot of CSS code. You can download the next LVL here. Here is the full list of the recent changes made:
version .9.2 (4/8/09)
- Fixed a font size issue with <select> tags inside of posts
- Cleaned up CSS Code
- Removed Plugin Dependend Code
- Removed Images from Sidebar and replaced with text
Enjoy!

