JamesGMills
Programmer
Hi Guys, need some help please! Been trying all day with no success!
# RewriteRule ^([^/]*)$ [L]
RewriteRule ^([^/]*)/$ index.php?section=$1 [L]
# #RewriteRule ^([^/]*)\/([^/]*)\/?$ index.php?section=$1&page=$2 [L]
I hope you can see what I am trying to do. If you need me to explain more please post.
I am guessing that this is the best way of doing what I want to do. Then I can use server side programming (using php) to get at the url-friendly name the section or article has to load that from the database...
Thanks in advance...
------------------------
# RewriteRule ^([^/]*)$ [L]
RewriteRule ^([^/]*)/$ index.php?section=$1 [L]
# #RewriteRule ^([^/]*)\/([^/]*)\/?$ index.php?section=$1&page=$2 [L]
I hope you can see what I am trying to do. If you need me to explain more please post.
I am guessing that this is the best way of doing what I want to do. Then I can use server side programming (using php) to get at the url-friendly name the section or article has to load that from the database...
Thanks in advance...
------------------------