logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Web Hosting and FTP
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 11-30-2010, 07:31 PM   #1
GaryKC
 
Join Date: Nov 2010
Posts: 13
Default Adding links

My site is hosted through my fathers site, making and uploading a new page isn't a problem, however, the links are displayed as www.myfatherssite.com/mysite/anything.html instead of www.mysite.com/anything.html in all browsers. What am I doing wrong?

Last edited by GaryKC; 11-30-2010 at 07:40 PM..
GaryKC is offline   Reply With Quote
Old 11-30-2010, 08:29 PM   #2
gentleone
gentleone's Avatar
 
Join Date: Nov 2009
Location: Rhodes, Greece
Posts: 2,837
Default

Quote:
Originally Posted by GaryKC View Post
What am I doing wrong?
Nothing! That's how it works.
You have just created a sub directory (mysite) on your fathers web server, so the domain name of your father will always be in front of it.
If you don't want that, then you must get/buy your own domain name with its own web server.
__________________
www.gentlemedia.nl
gentleone is offline   Reply With Quote
Old 11-30-2010, 08:49 PM   #3
GaryKC
 
Join Date: Nov 2010
Posts: 13
Default

I own the domain name and have added pages in the past that are linked without his domain name showing. It's something I'm doing now when I link a new page that I'm having a problem with. I thought that perhaps someone else has had the same occur and can help, thanks anyway.
GaryKC is offline   Reply With Quote
Old 11-30-2010, 10:36 PM   #4
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

Sounds like you haven't correctly defined your local site. Your local root folder should be the folder with the mysite pages. Your father's site should be defined totally separately.

It might also help to have a link so that we could look at the actually links in your code.
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Old 11-30-2010, 10:57 PM   #5
GaryKC
 
Join Date: Nov 2010
Posts: 13
Default

Assuming a visitor starts on this page http://www.usstusk.com/crewphotos.htm
and then clicks on Don Fudge's name it works fine, if however your click on Jack Fradette's name (added today) it links to my fathers site. Is this the link you requested DW? I think my problem may be here, host directory
Attached Images
File Type: jpg sitedef.jpg (35.5 KB, 3 views)

Last edited by GaryKC; 11-30-2010 at 11:11 PM..
GaryKC is offline   Reply With Quote
Old 11-30-2010, 11:30 PM   #6
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

Well, you're actually framing this page: http://www.donparker.us/usstusk/crewphotos.htm (which makes no sense). So unless you link using the full url including "http://www.usstusk.com/" the links will naturally point to the donparker.us site.
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Old 11-30-2010, 11:57 PM   #7
GaryKC
 
Join Date: Nov 2010
Posts: 13
Default

Quote:
Originally Posted by DWcourse View Post
Well, you're actually framing this page: http://www.donparker.us/usstusk/crewphotos.htm (which makes no sense). So unless you link using the full url including "http://www.usstusk.com/" the links will naturally point to the donparker.us site.
I know you're trying to help, I'm framing, OK, have no idea what framing is or how I did it. I'll keep plodding along, thanks.
GaryKC is offline   Reply With Quote
Old 12-01-2010, 03:22 AM   #8
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

look at the html source for the page at http://www.usstusk.com/crewphotos.htm

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
<html>

<head>
  <title>uss tusk </title>
  <META name="description" content="submarine"><META name="keywords" content="submarine">
</head>
<frameset rows="100%,*" border="0">
  <frame src="http://www.donparker.us/usstusk/crewphotos.htm" frameborder="0" />
  <frame frameborder="0" noresize />
</frameset>

<!-- pageok -->
<!-- 06 -->
<!-- -->
</html>
That means it's actually displaying the page at http://www.donparker.us/usstusk/crewphotos.htm
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Old 12-01-2010, 04:08 AM   #9
GaryKC
 
Join Date: Nov 2010
Posts: 13
Default

OK, I was able to link (as you suggested) using the full url to some pages. I can't however fix the links made by buttons on the index page, they appear to be linking to just my site, but they're not. Thanks again DWcourse or is LT COL?
GaryKC is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:23 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com