Ver Mensaje Individual
  #9 (permalink)  
Antiguo 02/08/2013, 09:43
JustinKO
 
Fecha de Ingreso: junio-2012
Ubicación: Madrid
Mensajes: 339
Antigüedad: 11 años, 10 meses
Puntos: 47
Respuesta: Eliminar el punto html y punto php

Cita:
Iniciado por TIFORO Ver Mensaje
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.


que yo sepa es un comentario, en teoría no hace nada. Debe de haber alguna diferencia más.

Última edición por JustinKO; 02/08/2013 a las 09:49