Thursday, May 04, 2006

mod_rewrite and the jaws of insanity

WOW! what a mission. Who would have thought it would take me almost 12 hours to right a simple rewrite rule! In all fairness I did trash the server config my host so generously set up to run off PHP5 at my request (great bunch of people).

The biggest problem is that I was unable to log the rewrite rule, so eventually I started from scratch and slowly added and subtracted things until I had the rule running. In my rampant search on google I came across some very interesting material. I will post the links tomorrow. It is amazing what is available out there.

The rewrite rule was to convert dynamic urls to appear to be static urls. As soon as I did this I noticed an increase in google activity on the site and the sitemap revealed more pages. So it worked :)

Added two more tutorials to rabiddog.co.za. Both PHP. One dealing with classes and the other dealing with output buffering. The tutorials section is still look a bit bleak but time will fill the holes. This weekend I am hoping to get onto the next section of the site.

Oh and in my travels I came across an article that pretty much sums up the challenge facing good developers and the plague destroying the programming art. http://www.sadeveloper.net/Articles_View.aspx?articleID=235

No comments:

Post a Comment