I have managed to create a mod rewrite rule below to so that tutorials on my site can be accessed by entering
http://{websitename}/gnulinuxV2/{id}
http://{websitename}/gnulinuxV2/33
This works fine.
RewriteEngine On
Options +FollowSymlinks
RewriteRule ([0-9]+)$ /gnulinuxV2/tutorial_show.php?id=$1
I have since introduced another variable on the end of the url that highlights the category in the menu at the top. I am unsure how I include this in the rewrite rule below.
http://{websitename}/gnulinuxV2/{id}/{page_id}
http://{websitename}/gnulinuxV2/33/PHP
RewriteEngine On
Options +FollowSymlinks
RewriteRule ([0-9]+)$ /gnulinuxV2/tutorial_show.php?id=$1&page_id=$2