Jump to content

Pagina Ta De Start Alta Decat Index.html/index.php


gaby

Recommended Posts

Cum puteti face ca pagina voastra de start a site-ului sa nu mai fie index.html, index.php, etc. ?

Destul de simplut, tot ce trebuie sa faceti este sa introduceti linia de mai jos in fisierul .htaccess

DirectoryIndex start.html

Asta pentru ca pagina de start a site-ului sa fie start.html, adica www.site.ro/start.html in loc de www.site.ro/index.html.
Pentru ca pagina de start sa fie alta de exemplu news.php in loc de start.html inlocuiti in linia de mai sus cu news.php

 

P.S: Ordinea default a prioritatii fisierelor de index arata asa:

DirectoryIndex index.html index.shtml index.php index.htm default.html Default.htm default.html Default.html default.shtml Default.shtml page1.html index.pl index.cgi index.php3 index.phtml home.htm home.html home.shtml index.wml

Te-ai inregistrat? Ne-ar placea sa te prezinti.

Cum pot sustine forumul?
Cumpara de la eMag folosind acest link.
--------------------
oG2BN9d.gifse1WdXd.gifQG6MtmI.gifRHYjDzD.gifG5p1wui.gif

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.