+ Reply to Thread
Results 1 to 4 of 4

Thread: Links not working

  1. #1
    zipster1967 is offline x10Hosting Member zipster1967 is an unknown quantity at this point
    Join Date
    Apr 2009
    Posts
    1

    Question Links not working

    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?

  2. #2
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: Links not working

    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/beginn.../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 by garrettroyce; 04-07-2009 at 06:43 AM.
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

  3. #3
    Mitch's Avatar
    Mitch is offline x10 Elder Mitch is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Netherlands
    Posts
    906

    Re: Links not working

    Quote Originally Posted by garrettroyce View Post
    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/beginn.../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 bbcodes. ;)

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

    And yes, it needs to be in public_html.
    Last edited by Mitch; 04-07-2009 at 07:13 AM.
    My Website: mitch.exofire.net (currenly not really working on it ;))



  4. #4
    ejweb is offline x10Hosting Member ejweb is an unknown quantity at this point
    Join Date
    Dec 2008
    Location
    Washington State
    Posts
    64

    Re: Links not working

    PS: keep in mind that on certain webservers (like UNIX) that "Guestbook" & "guestbook" are two different folders...

+ Reply to Thread

Similar Threads

  1. Selling permanent links for 35 credits
    By TPI007 in forum The Marketplace
    Replies: 10
    Last Post: 08-09-2008, 11:44 PM
  2. image links not working
    By wizkid in forum Programming Help
    Replies: 3
    Last Post: 07-23-2008, 05:18 AM
  3. Selling Permanent Links - 10 Credits Each
    By bass5098 in forum The Marketplace
    Replies: 8
    Last Post: 07-12-2008, 08:25 AM
  4. Urgent help please!
    By retro-bliss in forum Free Hosting
    Replies: 2
    Last Post: 10-25-2007, 03:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers