August 26th, 2003, 04:26 AM
-
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
August 26th, 2003, 06:27 AM
-
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
August 26th, 2003, 06:59 AM
-
=D i did that once for images, and my friend's parents thought it was porn =D cause of all the red crosses.
August 26th, 2003, 08:08 AM
-
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
August 26th, 2003, 09:24 AM
-
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