Código PHP:
he probado con estos codigos ninguno me resulta util Ver original
<Files ~ "^.(htaccess|htpasswd)$"> deny from all </Files> <Limit GET PUT POST> Order Allow,Deny Allow from all </Limit> Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^sitio\.com$ [NC] RewriteRule ^(.*)$ http://www.sitio.com/$1 [R=301,QSA,L] Rewriterule ^perfil/(.+) perfil.php?p=$1 RewriteRule ^(.*)-([0-9]+).html$ ver.php?v=$2
RewriteEngine on
RewriteRule ^(.+)$ /$1.php [L]
# Todos los ficheros sin extensión son PHP
<Files ~ "^[^\.]+$">
ForceType application/x-httpd-php
</Files>
# Solo considera a 'index' como codigo PHP
<Files index>
ForceType application/x-httpd-php
</Files>