.htaccess File

by Perk1z on July 2, 2006

Tanya: biasanya klo kita ngetik domain kan ngarahnya ke file index
Tanya: gimana caranya ngerubah agar diarahkan ke file lain
Tanya: agar sewaktu domain saya diketikkan
Tanya: yg muncul bukan www.namadomain.com/index.html
Tanya: tapi ke www.namadomain.com/filelain.xyz
Jawab: default memang ke file index.html, index.htm, index.php dll
Jawab: Untuk merubanya, silahkan Login ke cpanel anda, lalu pilih “File Manager” lalu edit file .htaccess
Jawab: tambahkan baris “DirectoryIndex namafileanda” tanpa tanda kutip
Jawab: contoh : DirectoryIndex filelain.xyz
Jawab: maka setiap mengakses www.namadomain.com, maka akan mengarah ke www.namadomain.com/filelain.xyz

Popularity: 7% [?]

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • LinkedIn
  • Live
  • Print this article!
  • Slashdot
  • StumbleUpon
  • Technorati
  • YahooMyWeb

Related Posts


Web Hosting Pal - www.webhostingpal.com

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-Spam Image