PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 07-09-2006, 01:10 PM   #1
brainz
Green Mole
 
brainz's Avatar
 
Join Date: Jul 2006
Posts: 2
Wink index.php

Hello All,

What i want to know is can phpdig using just a index.php in the root directory.

In other words instead of a link like....

http://www.domain.com/search.php

But have a link like....

http://www.domain.com/

or this...

http://www.domain.com/index.php

I do understand that you can change the phpdig directory where ever you want with the reletive path statment.

But what if i just want to just the domain name of the site.... Like in the attachment ???

and then edit the template.html to suit my needs.....

Any help would be apreciated...

regards
brainz
Attached Images
File Type: png search.png (15.3 KB, 5 views)
brainz is offline   Reply With Quote
Old 07-10-2006, 08:53 AM   #2
brainz
Green Mole
 
brainz's Avatar
 
Join Date: Jul 2006
Posts: 2
Talking

Hello all,


I think i found a temp solution but you can tell me if this would be a issue or not......

What i have done to get around this is basically duplicated and renamed the search.php to index.php and placed it into the root directory and it seem to have worked......

the only thing that i can see happening would be if the template needs changing the new clone index.php might have to be edited as well as the search.php or from what i understand the look is done by the template.html anyway....

But maybe you can tell me if this would be a issue or not....


regards
brainz
__________________
http://www.baktim.com

Last edited by brainz; 07-10-2006 at 08:57 AM.
brainz is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to index orphan php pages, how? hotmonkey How-to Forum 3 07-31-2004 10:41 AM
viewing admin/index.php... ronyotz Troubleshooting 3 03-24-2004 04:33 AM
missing index.php after install webUser Script Installation 8 02-27-2004 10:28 AM
Alternate script for index.php vinyl-junkie Mod Submissions 2 02-23-2004 06:52 PM
Templates - cannot get index.php to display different one jirving How-to Forum 9 09-29-2003 05:57 AM


All times are GMT -8. The time now is 04:12 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.