Ver Mensaje Individual
  #1 (permalink)  
Antiguo 13/05/2012, 12:48
quico5
 
Fecha de Ingreso: enero-2008
Mensajes: 580
Antigüedad: 16 años, 4 meses
Puntos: 9
¿demasiadas redireciones? .htaccess

Quería hacer una redireción en dispositivos móviles, pero me dice que hay demasiadas redireciones

gracias

AddDefaultCharset UTF-8
Options -Indexes

# blocks direct access to the XML files - they hold all the data!
<Files ~ "\.xml$">
Order allow,deny
Deny from all
Satisfy All
</Files>
<Files sitemap.xml>
Order allow,deny
Allow from all
Satisfy All
</Files>

RewriteEngine on

# Usually it RewriteBase is just '/', but
# replace it with your subdirectory path
RewriteBase /

#RewriteCond %{HTTP_USER_AGENT} "iPhone|iPad|Android" [NC]
#RewriteRule .* http://www.movil.anhida.es/ [R=301]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]