Tema: Php ó html
Ver Mensaje Individual
  #13 (permalink)  
Antiguo 15/04/2009, 10:42
alexluz
 
Fecha de Ingreso: agosto-2007
Mensajes: 10
Antigüedad: 16 años, 8 meses
Puntos: 0
Respuesta: Php ó html

un archivo .htaccess
pegado en el archivo de tu aplicacion esto cambia la ruta en apache

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^productos-(.*)-p(.*)\.html$ index.php?Pg=ftech&id=$2
RewriteRule ^mapa.html$ index.php?Pg=mapa
RewriteRule ^contacto.html$ index.php?Pg=contacto
RewriteRule ^conocenos.html$ index.php?Pg=conocenos
RewriteRule ^distribuidores.html$ index.php?Pg=distribuidores
RewriteRule ^productos.html$ index.php?Pg=productos&c=1
RewriteRule ^productos-c(.*).html$ index.php?Pg=productos&c=$1
RewriteRule ^index.html$ index.php
RewriteRule ^inicio.html$ index.php?Pg=inicio
RewriteRule ^registro.html$ index.php?Pg=registro
RewriteRule ^noticias.html$ index.php?Pg=noticias
RewriteRule ^noticias-n(.*).html$ index.php?Pg=view_new&id=$1
RewriteRule ^fadist.html$ index.php?Pg=formadddist
</Ifmodule>