|
Hi,
Hope someone can give us a hand!
I've done a good look round the web, but just got more confused, and didnt quite find what I need (I think!)
Basically, I want to make shorter urls.
I have URLS like this:
http://www.domain.com/cgi-bin/list.pl?id=1
http://www.domain.com/cgi-bin/list.pl?id=2
http://www.domain.com/cgi-bin/list.pl?id=3
..etc
What I want to try and do, is this:
http://www.domain.com/list/1
http://www.domain.com/list/2
http://www.domain.com/list/3
...etc and have them redirect to the correct full url
I'm sure this is something to do with the .htaccess file, and the rewrite option, but I can't quite find the correct syntax I need.
I can find similar, usually more complicated examples, but so far no luck!
Any ideas welcome
Cheers
Mikey
|