IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
3 Pages V   1 2 3 >  
Reply to this topicStart new topic

How To: Change Your Website's Index File

, a simple trick using .htaccess


electriic ink
no avatar
Incest is a game the whole family can play.
***********
Group: [MODERATOR]
Posts: 1,239
Joined: 11-February 05
From: Heaven
Member No.: 3,709
myCENT:59.86



Post #1 post Aug 2 2005, 04:57 PM
How To: Change Your Website's Index File
a simple trick using the .htaccess file

A simple tutorial which only involves editing one little file. Useful for those of us who have mime-typed extensions or who are creating lots of test design files and want an easy way to make the design they like best their default file.
  1. Create a file called .htaccess in the /public_html/ folder if you don't have it. I think one should be there already when you get your site so if it isn't you should create it anyway!
  2. In the file write the following:

    CODE
    DirectoryIndex best_design.weirdext

  3. Replace best_design.weirdext with the file you want your index page to be.
  4. Open your website and if all has worked well, you should have your customized index page.

All agreed it's a lot simpler than the mouseover tutorial a did tongue.gif. Any questions/comments regarding this tutorial smile.gif
Go to the top of the page
+Quote Post
s2city
no avatar
Premium Member
********
Group: Members
Posts: 155
Joined: 9-October 04
Member No.: 1,586



Post #2 post Aug 2 2005, 09:48 PM
Cool. I didn't know you could do that... I thought it was just the way it was... index.html forever and for always. lol! Thanks for the tutorial, I think I'll use it since index.html lacks a sort of beauty. tongue.gif
Go to the top of the page
+Quote Post
JimiHex
no avatar
Newbie [Level 1]
*
Group: Members
Posts: 21
Joined: 2-August 05
Member No.: 10,190



Post #3 post Aug 2 2005, 10:05 PM
where did you find this? smile.gif
do you have some more tutorials like this one?

thank you biggrin.gif
Go to the top of the page
+Quote Post
Adamrosso
no avatar
Advanced Member
*******
Group: Members
Posts: 128
Joined: 6-August 05
Member No.: 10,402



Post #4 post Aug 8 2005, 09:23 AM
Lol index.adamrules =D. Thanks for this tutorial. Me too never knew you could do this. anywho thanks for posting it =D
Go to the top of the page
+Quote Post
delivi
no avatar
Trap Grand Marshal Member
***********
Group: [HOSTED]
Posts: 1,320
Joined: 11-January 06
Member No.: 16,932
myCENT:NEGATIVE[-455.29]



Post #5 post Aug 14 2006, 08:11 PM
Hey dude that was really great of you by sharing this wonderful Tip. This will be really very useful to all of us.
Go to the top of the page
+Quote Post
electron
no avatar
Premium Member
********
Group: Members
Posts: 162
Joined: 10-May 06
Member No.: 23,375
myCENT:35.86



Post #6 post Aug 18 2006, 03:25 AM
Hey thats a good one.

If you could help me out on one thing in .htaccess .
Do you know what does IgnoreIndex means.
I read it somewhere and I think so it could be used for this as well.

If you do let me know.
Thanks and have a good day
Go to the top of the page
+Quote Post
tuddy
no avatar
Privileged Member
*********
Group: Members
Posts: 570
Joined: 5-July 05
From: Ballarat
Member No.: 9,042



Post #7 post Aug 18 2006, 05:14 AM
Although if you go playing around more you can seriously impair visitors access to your site. I suggest you create a backup of the one you already have (if any), then create a new one, then slowly intergate the old one back into the new one after research of each part.
Go to the top of the page
+Quote Post
Dooga
no avatar
Moderator
***********
Group: Members
Posts: 1,346
Joined: 26-December 04
From: Canada
Member No.: 2,940
myCENT:66.95



Post #8 post Aug 18 2006, 12:22 PM
Hey thanks! I didnt know you could actually do that...
Go to the top of the page
+Quote Post
HMN
no avatar
Newbie [Level 3]
***
Group: Members
Posts: 44
Joined: 5-October 06
Member No.: 31,124



Post #9 post Oct 23 2006, 03:58 PM
lol even the mods didnt know about this lol
Go to the top of the page
+Quote Post
jlhaslip
no avatar
Insert Custom Title Here
*******************
Group: [MODERATOR]
Posts: 4,903
Joined: 24-July 05
From: Linux, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol
myCENT:81.50



Post #10 post Oct 23 2006, 04:42 PM
Oh yes we did. Just had to find it.
Hope it does what you want it to.
Go to the top of the page
+Quote Post

3 Pages V   1 2 3 >
Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts 12 noxit 11,428 26th February 2009 - 12:59 AM
Last post by: novic_1223
No new   58 -iancovenant- 6,311 1st October 2009 - 10:32 AM
Last post by: fermin25
No new   27 Dagoth Nereviar 4,168 22nd August 2009 - 09:38 PM
Last post by: Nameless_
No new   14 rpgsearcherz 1,817 3rd September 2009 - 05:01 PM
Last post by: webishqiptar
No New Posts   5 Thunder 8,172 16th April 2009 - 08:21 AM
Last post by: amrik09
No New Posts   6 Echo_of_thunder 1,286 26th March 2009 - 09:04 PM
Last post by: TheDisturbedOne
No new   17 EricDrinkard 16,859 11th August 2009 - 01:13 PM
Last post by: fadillzzz
No new   17 harad 23,043 3rd August 2004 - 11:40 PM
Last post by: MSTR
No New Posts   4 andyy15 6,323 27th May 2009 - 09:36 PM
Last post by: Dook-E
No New Posts   1 Jarek_Gd 926 24th February 2008 - 12:49 PM
Last post by: rvalkass
No new   23 PnOyKiO 21,461 20th October 2009 - 12:22 PM
Last post by: -Sky-
No New Posts   3 frazmi 2,215 6th August 2006 - 02:20 AM
Last post by: FallenSage
No new   44 Dehornos 6,824 24th October 2009 - 10:55 AM
Last post by: TheDarkHacker
No new   16 sonesay 2,544 31st July 2009 - 06:27 AM
Last post by: iworld200
No new 18 Vacant 16,196 26th September 2004 - 10:13 AM
Last post by: gotcha41


 



RSS Open Discussion Time is now: 6th November 2009 - 07:53 PM

Web Hosting Powered by ComputingHost.com.