chnaging form gbook.php to index.php

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
AdRock
Posts: 19
Joined: Sun Aug 20, 2006 11:50 pm

chnaging form gbook.php to index.php

Post by AdRock »

Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

I have changed the name of gbook.php to index.php but when i add a link such as a href="guestbook/">Guestbook</a> it tries to to guestbook/gbook.php

WHy is it doing that and how do i change it?

I am using mod-rewrite that is why i wanty to to change it.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Open gbook.php in a text editor (Notepad) and make sure you replace any occurrence of "gbook.php" inside to "index.php". You can use the "Replace" function of Notepad to do it.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply