Hi Guys, this should be something simple, but I keep getting a 500 Internal Server Error each time I visit my website when I upload my htaccess which consists of...


RewriteEngine On
RewriteRule ^([^/]*)$ /view.php?id=$1 [L]

my website is currently getting the id value for database reference, however I want the desired results below:

website.com/1
not
website.com/view.php?id=1

any help will be great.

Thanks in advance!

Pete