Originally Posted by Newb1982
I get an error message.
What does the error message say? Error 404 or error 500? Error 500 means that you’re probably trying to do the right thing but made a mistake somewhere. Error 404 means that you probably don’t know what you’re doing or have to do to achieve what you want.
What you are looking for is called a “search engine friendly URL”, a. k. a. “pretty URL” which can be achieved by changing the server configuration or, if that’s not an option, by adding an .htaccess file to your server’s/web space’s root directory with some respective rules in it.
You’ve got the keywords now (“pretty URL”, “htaccess”), now do your homework.