#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Posts
    12
    Rep Power
    0

    Domain name not consistent


    Hello my website www.scotiaforecourt.com is hosted on a free server. To redirect the domain name wo it I need to use a redirecting service, www.zoneedit.com. This seems to work fine but the problem is that when I click a link on my webpage it will change the address in the address bar to bmcnicoll.free-host.com instead of staying as scotiaforecourt.com. Is there a way of making sure that the address will always be scotiaforecourt.com or scotiaforecourt.com\appropriate page link.html and not change to show the address of the free host, any help much appreciated thanks
  2. #2
  3. Second highest poster :p
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jul 2001
    Posts
    7,322
    Rep Power
    32
    The problem is with your frame linking to that domain
    Code:
    <frameset border=0 rows="100%,*" frameborder="no" marginleft=0 margintop=0 marginright=0 marginbottom=0>
    <frame src="http://bmcnicoll.free-host.com/" scrolling=auto frameborder="no" border=0 noresize>
    <frame topmargin="0" marginwidth=0 scrolling=no marginheight=0 frameborder="no" border=0 noresize>
    </frameset>
    Due to the framed page being called using that domain name all links on the page will have that domain name before them. You can over-ride this by putting the full domain before all the links, eg change
    Code:
    <a href="VaccumMain.htm">vacuum</a>
    to
    Code:
    <a href="http://www.scotiaforecourt.com/VaccumMain.htm">vacuum</a>
    Also while viewing the HTML I saw this

    Code:
    <link rel="stylesheet" href="file:///C|/css/cascade.css" type="text/css">
    That will work for you, but not for anyone else
  4. #3
  5. No Profile Picture
    =) wannabe?
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 2002
    Location
    florida
    Posts
    2,153
    Rep Power
    14
    =D i did that once for images, and my friend's parents thought it was porn =D cause of all the red crosses.
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Posts
    12
    Rep Power
    0
    Thanks for your help, think that is it all fixed now,

    I was wondering why all of the formatting looked rubbish on any other computer.

    Cheers
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Posts
    12
    Rep Power
    0
    One small problem: Now when I am going to any of the links within the JetwashMain.htm or VacuumMain.htm pages , i.e. the ones with the white links in the left-hand menu bar, whishever ever one of the two is clicked first then remains in the address bar for the remainder of the session.
    Any ideas on why this might be?

    Thanks again

IMN logo majestic logo threadwatch logo seochat tools logo