Closed Thread
Results 1 to 5 of 5

Thread: Con los indices

  1. #1
    iberclan's Avatar
    iberclan is offline x10 Lieutenant iberclan is an unknown quantity at this point
    Join Date
    Oct 2007
    Location
    España
    Posts
    409

    Con los indices

    buenas e creado un subdominio,y quiero que me cargue el index.html y no me lo carga me carga por defecto el index.php ,como puedo hacer que me cargue el index.html?
    No bebes para olvidar,bebes para disfrutar!!! Coca Cola! :P!


  2. #2
    Kansy's Avatar
    Kansy is offline Community Advocate Kansy is an unknown quantity at this point
    Join Date
    Oct 2006
    Location
    Cork Cirty, Ireland
    Posts
    2,621

    Re: Con los indices

    Normalmente, los servidores cargan primero el index.html que el index.php :S
    Si consideras que esto ha sido de ayuda, por favor no dudes en darme reputación usando el que encontrarás abajo a la izquierda del tema.

  3. #3
    Tobogan's Avatar
    Tobogan is offline x10Hosting Member Tobogan is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    12

    Re: Con los indices

    cambia el nombre de tu index.php a otro. como por ejemplo index2.php o pagina1.php

  4. #4
    Fedlerner's Avatar
    Fedlerner is offline Retired Fedlerner is an unknown quantity at this point
    Join Date
    Aug 2006
    Location
    Buenos Aires, Argentina
    Posts
    12,923

    Re: Con los indices

    Por defecto se carga el index.html, a menos que hallas creado una redirección que haga que cargue primero el index.php

    Saludos!
    Federico Lerner
    Former x10Hosting Administrator - Staff Manager

  5. #5
    gothcrow's Avatar
    gothcrow is offline x10 Lieutenant gothcrow is an unknown quantity at this point
    Join Date
    Oct 2007
    Location
    Bogotá - Colombia
    Posts
    309

    Re: Con los indices

    Eso se puede con .htaccess cambiar el orden de prioridad, asi lo puede hacer; pones esto en el archivo
    DirectoryIndex hola.php index.php3 messagebrd.pl index.html index.htm

    Asi el orden va a ser el ke esta hay, si no existe hola.php va a buscar index.php3 y asi continua. ;-)

    Psd: En tu caso pon index.html de primero en vez de hola.php
    Last edited by gothcrow; 12-05-2007 at 11:34 AM.
    Gana Dinero | Earn Money
    - BUX3

    ¿Has encontrado mi post útil? Si es asi, has click en el botón . O has click aqui

    Did you find my post helpful, amusing, useful, or otherwise enjoyable?
    Click the button. Or click here

Closed Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers