Internal server error when using .htaccess

Hi everyone,

I want to use friendly URLs in my website but I am having problems to use the .htaccess file. I am trying with the following code:

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^/private/noticias/([0-9]+)\.html /private/noticias.php?ID=$1 [L]

Where $i is a variable taken from the database. But when I upload the file to the FTP server (Filezilla) and rename the file as .htaccess I get this error:

It looks as though you’re missing a $ after the .html (I think). But why have the .html at all if you’re rewriting the urls?

I have taken an example and just change to my case, and don’t really understand this code.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.