Ver Mensaje Individual
  #8 (permalink)  
Antiguo 30/07/2013, 08:08
TIFORO
 
Fecha de Ingreso: junio-2008
Ubicación: Madrid
Mensajes: 374
Antigüedad: 15 años, 10 meses
Puntos: 1
Respuesta: Eliminar el punto html y punto php

Si funciona el codigo el fallo es este. ####

Este es mi codigo es el que no funciona.

Código:
####
    RewriteEngine on
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.html\ HTTP/
    RewriteRule ^index\.html$ http://www.ect.com/ [R=301,L]
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.htm\ HTTP/
    RewriteRule ^index\.htm$ http://www.ect.com/ [R=301,L]
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
    RewriteRule ^index\.php$ http://www.ect.com/ [R=301,L]
Este es mi codigo es el que si funciona.

Código:
    RewriteEngine on
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.html\ HTTP/
    RewriteRule ^index\.html$ http://www.ect.com/ [R=301,L]
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.htm\ HTTP/
    RewriteRule ^index\.htm$ http://www.ect.com/ [R=301,L]
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
    RewriteRule ^index\.php$ http://www.ect.com/ [R=301,L]
¿Que significa estos simbolos ####?

Echarme una mano porfavor.
__________________
Cada día se aprende algo nuevo

Última edición por TIFORO; 30/07/2013 a las 09:13 Razón: Solucionado