I have created a small website to help me with linux and php and use it as a reference if I need to get help. Everything I learn I stick it in here. Hopefully other people will also use it later on.
I would like to use an .htaccess file to clean up the urls.
I am trying to enable mod rewrite so that when users enter
http://www.gnulinux.co.uk/{id_number}
It redirect users to the article
http://www.gnulinux.co.uk/articles.php?article={id_number}
I have got so far but nothing I try seems to work. I would like to master using mod rewrite, I just need a helping hand then once I see it working I can then move on from here. This is what I have so far
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteRule /([0-9]+) http://www.gnulinux.co.uk/articles.php?article=$1