want to make my pages end with HTML

Posted by user41997 on Server Fault See other posts from Server Fault or by user41997
Published on 2010-05-02T06:40:32Z Indexed on 2010/05/02 6:49 UTC
Read the original article Hit count: 148

Filed under:
|

here is my current .htaccess

For security reasons, Option followsymlinks cannot be overridden.

Options +FollowSymlinks

Options +SymLinksIfOwnerMatch ErrorDocument 404 /404.php RewriteEngine on rewritecond %{http_host} ^jugep.com [nc] rewriterule ^(.*)$ http://www.jugep.com/$1 [r=301,nc]

RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^peliculas/([^/]+)$ pelicula.php?pelicula=$1 [L]
RewriteRule ^descargar/([^/]+)$ descargar.php?descargar=$1 [L]
RewriteRule ^peliculas$ peliculas.php [L]




RewriteRule ^peliculas/$ peliculas.php [L]

RewriteRule ^buscar$ buscar.php [L]
RewriteRule ^buscar/$ buscars.php [L]

RewriteRule ^contactar$ contactar.php [L]
RewriteRule ^contactar/$ contactars.php [L]

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Can someone help me out here, I would like my links to end with a HTML for every link currently a link on my site looks like this (http://www.jugep.com/peliculas/Casino_Royale) I would like it to look like this(http://www.jugep.com/peliculas/Casino_Royale.html)

any help is greatly apreciated

© Server Fault or respective owner

Related posts about mod-rewrite

Related posts about .htaccess