Page 1 of 1

Changing GB "return" link target

Posted: Tue Apr 13, 2010 10:26 pm
by evenstephencom
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:

The link on my GB at www.theangry.net that refers visitors back to the Angry site directs the reader to the "opening.htm" page and I would like that link to take the visitor to the "index.html" page. I see the link code in the source view but can't find the code in the gbook.php file. Where do I find that code in order to change the url?

Thanks!

Posted: Wed Apr 14, 2010 5:21 am
by Henrie
The "Back to ..." link is set in the settings.php file

Code: Select all

$settings['website_url']='http://www.domain.com/';
You can set it to whatever you like.

Greetings,
Henrie

Posted: Wed Apr 14, 2010 11:21 pm
by evenstephencom
Henrie:

I entered the code http://index.html and it went to the "can't find....etc. I also tried http://theangry.net./index.html and theangrynet/index.html to no avail. What am I missing? :(

Thanks!

Posted: Thu Apr 15, 2010 5:38 am
by Henrie
The following value should work:

Code: Select all

$settings['website_url']='http://www.theangry.net/index.html';
evenstephen.com wrote:I entered the code http://index.html and it went to the "can't find....etc. I also tried http://theangry.net./index.html and theangrynet/index.html to no avail. What am I missing?
http://index.html is not a valid link to your site, so it will not work. $settings['website_url']='../index.html'; should work though.
http://theangry.net./index.html will return a page not found error because you entered a . (dot) after .net which ofcourse returns an error because it does not exist. $settings['website_url']='http://theangry.net/index.html'; should work though.
theangrynet/index.html does not work because of missing . (dot) between angry and net and a missing http://

Hope you get it to work now.

Greetings,
Henrie

Posted: Fri Apr 16, 2010 2:12 am
by evenstephencom
You are good-----with a "keen" eye! Thanks again.

Ken

Posted: Fri Apr 16, 2010 5:37 am
by Henrie
Over the years I have made to many typing errors myself. So I know what to look for :wink:

I am just glad it was easy to correct it.

Greetings,
Henrie

Posted: Fri Apr 16, 2010 7:55 pm
by evenstephencom
....thanks you!

Ken