Links not working

zipster1967

New Member
Messages
1
Reaction score
0
Points
0
I have a line in my web page that I think should work but it keeps giving me a 404 error. the line is an href as follows
<a href="Guestbook/index.php" title="See tributes to Deanie" onMouseOver="window.status='View tributes'; return true" onMouseOut="window.status=' '">View tributes</a>
I am not sure the folden Guestbook is in the right place. Shouldn't it be in the public_html folder?
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
The folder is in the correct location. I would try to use the full path to the link. This article is pretty good: http://webdesign.about.com/od/beginningtutorials/a/aa040502a.htm

It leaves out one thing, you can move up in a directory by using the ".." folder.

ie:

current page yoursite.com/pages/index.php
image on page yoursite.com/images/image1.php
code for image <img src="/. ./free-hosting/images/image1.php" ... (don't use the space, X10 replaces the right code with something else)
 
Last edited:

Mitch

New Member
Messages
908
Reaction score
0
Points
0
The folder is in the correct location. I would try to use the full path to the link. This article is pretty good: http://webdesign.about.com/od/beginningtutorials/a/aa040502a.htm

It leaves out one thing, you can move up in a directory by using the ".." folder.

ie:

current page yoursite.com/pages/index.php
image on page yoursite.com/images/image1.php
code for image <img src="/. ./free-hosting/images/image1.php" ... (don't use the space, X10 replaces the right code with something else)
then use
Code:
[code]
[/code] bbcodes. ;)

maybe it needs to be 'guestbook', not 'Guestbook'.

And yes, it needs to be in public_html.
 
Last edited:

ejweb

New Member
Messages
64
Reaction score
0
Points
0
PS: keep in mind that on certain webservers (like UNIX) that "Guestbook" & "guestbook" are two different folders...
 
Top