Ver Mensaje Individual
  #10 (permalink)  
Antiguo 06/01/2011, 15:00
Avatar de Masterphp
Masterphp
 
Fecha de Ingreso: septiembre-2009
Ubicación: /home/php/
Mensajes: 94
Antigüedad: 14 años, 7 meses
Puntos: 3
Respuesta: Como Puedo Quitar el id de la url y dejar solo el titulo.html ??

al menos denle una muestra al muxacho
es esto .htaccess

Código PHP:
Ver original
  1. <Files ~ "^.(htaccess|htpasswd)$">
  2. deny from all
  3. </Files>
  4. <Limit GET PUT POST>
  5.   Order Allow,Deny
  6.   Allow from all
  7. </Limit>
  8.  
  9. Options +Indexes
  10. Options +FollowSymlinks
  11. RewriteEngine on
  12. RewriteBase /
  13. ErrorDocument 403 /error.php
  14. ErrorDocument 404 /error.php
  15. ErrorDocument 500 /error.php
  16. RewriteCond &#37;{REQUEST_FILENAME} !-d
  17. RewriteCond %{REQUEST_FILENAME}\.php -f
  18. RewriteCond %{HTTP_HOST} ^www\.sitio\.com$ [NC]
  19. RewriteRule ^(.*)$ http://sitio.com/$1 [R=301,L]
  20. RewriteRule ^user user.php
  21. RewriteRule ^index index.php
  22. Rewriterule ^perfil/([^/]*)$ perfil.php?p=$1 [L]
  23. RewriteRule ^(.*)-([0-9]+).html$ ver.php?v=$2 [L]

pues eso yo hago mis url ejemplo index.php?get=32&id=21&user=32 etc
a index/user/32