One thing i have just thought of is the possibility of using an array. This would make the .htaccess very simple and the array can be infinitely complex.
Code:
RewriteEngine On
RewriteBase /
RewriteRule ^([^/]+)/?$ html/index.php?location=$1
PHP Code:
$data[0] = $module
$data[1] = $id
$data[2] = $date
$data[3] = $page
This would hopefully mean i could have
http://mysite.com/blog/13/11/2009/this_is_a_post/page_1 (with the id hidden perhaps)
or a second example with a simpler array say just module and id
http://mysite.com/news/artical_12
Which i would assume would mean that i could have a "complex" navigation structure with very little code compared to a manual method.
Any thoughts on this method?