how do i direct my links to my website not my documents?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using Front Page and their link bars, but in the link bars they always
direct my links to my documents. How do I change that?
 
make sure you have a web open, otherwise the links will point to the hard
drive rather than a "relative" url which, when published will point to the
correct place on the web server.
 
What do you expect your browser to open, other than a document?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
If you push something hard enough,
it will fall over.
- Fudd's First Law of Opposition
 
Wait a minute. Do you mean "my documents" as in "My Documents" (the folder)?

If so, let me explain just a little about what a web site is. A web site is
not a file. It has many files. It is a lot like a folder on your hard drive,
like, say, the "My Documents" folder on your hard drive. It may contain
other folders, documents, images, and literally any kind of file.

The kind of file that a browser typically downloads and works with is an
HTML document. An HTML (HyperText Markup Language) document is a text
document with text markup telling the browser how to format the contents.
When it contains images, they are actually links to image files somewhere in
the web site.

Now, FrontPage can make a single HTML file that is not "in a web." Although
it is not common, there are uses for such "loner" files. Help files, for
example, are often HTML documents that are stored somewhere on your local
machine. But a web site on the Internet is called a "web" because the files
in it are linked together in various ways, by things like hyperlinks. These
hyperlinks create a "web" of connectors between the various related files,
which are related by being part of the same web, or "in the same folder" on
a web server somewhere.

So, a web is not a file, and it is not a folder exactly. It is a collection
of files and folders that are related and interconnected in various ways.
FrontPage can work with webs, or with individual files. As a file doesn't
have any relationship to other files, you can store it anywhere ("My
Documents," for example, where you store other unrelated files you create).
But a web has what is known as "dependencies." This means that, for example,
if a page has a hyperlink in it to another page in the same web, the link
will break if the other page is moved to a different location, unless the
link is updated with the new location. This means that the files and folders
in it are "interdependent" upon one another.

So, when you work with a web, FrontPage must know that you are working on a
web, and not an independent HTML file, so that it can keep track of the
dependencies, and make external changes when necessary.

Now, link bars are a special kind of tool that FrontPage uses with web
sites. Since the web site files and folders are related, FrontPage can
create "external" objects that are "global" to the web site, such as
navigation and link bars, web parameters, etc. These objects are "global" to
the entire web. You cannot create link bars for separate, unrelated,
individual pages.

So, if you are referring to "My Documents" it sounds like you have created a
web in your "My Documents" folder without knowing it. And that is not a good
thing. It would be better to create a web site in its own folder. Windows
XP, at least if you have FrontPage 2003 installed on it, should have a
folder under "My Documents" called "My Webs" that is for creating webs.
Under that folder you can create any number of sub-folders, one for each
separate web you want to create locally.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
If you push something hard enough,
it will fall over.
- Fudd's First Law of Opposition
 
I guess my question wasn't specific enough. Sorry about that. Okay, in My
Documents, I have the folder My Webs, which is what my web is in. When I add
a link to my link bar of a page I just made it directs it to C://My
Documents/My Webs, etc. so if I upload it onto the server when I click on the
link it won't open because it's directed to the folder on my hard drive. I
know how to fix it if it's just a plain hyperlink, but I can't figure out how
to change it in a link bar. I hope that explains the problem better.
 
You need to open your FP web and File Import any / all images / file you use or link to in the site before you use them

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


|I guess my question wasn't specific enough. Sorry about that. Okay, in My
| Documents, I have the folder My Webs, which is what my web is in. When I add
| a link to my link bar of a page I just made it directs it to C://My
| Documents/My Webs, etc. so if I upload it onto the server when I click on the
| link it won't open because it's directed to the folder on my hard drive. I
| know how to fix it if it's just a plain hyperlink, but I can't figure out how
| to change it in a link bar. I hope that explains the problem better.
|
| "Kevin Spencer" wrote:
|
| > Wait a minute. Do you mean "my documents" as in "My Documents" (the folder)?
| >
| > If so, let me explain just a little about what a web site is. A web site is
| > not a file. It has many files. It is a lot like a folder on your hard drive,
| > like, say, the "My Documents" folder on your hard drive. It may contain
| > other folders, documents, images, and literally any kind of file.
| >
| > The kind of file that a browser typically downloads and works with is an
| > HTML document. An HTML (HyperText Markup Language) document is a text
| > document with text markup telling the browser how to format the contents.
| > When it contains images, they are actually links to image files somewhere in
| > the web site.
| >
| > Now, FrontPage can make a single HTML file that is not "in a web." Although
| > it is not common, there are uses for such "loner" files. Help files, for
| > example, are often HTML documents that are stored somewhere on your local
| > machine. But a web site on the Internet is called a "web" because the files
| > in it are linked together in various ways, by things like hyperlinks. These
| > hyperlinks create a "web" of connectors between the various related files,
| > which are related by being part of the same web, or "in the same folder" on
| > a web server somewhere.
| >
| > So, a web is not a file, and it is not a folder exactly. It is a collection
| > of files and folders that are related and interconnected in various ways.
| > FrontPage can work with webs, or with individual files. As a file doesn't
| > have any relationship to other files, you can store it anywhere ("My
| > Documents," for example, where you store other unrelated files you create).
| > But a web has what is known as "dependencies." This means that, for example,
| > if a page has a hyperlink in it to another page in the same web, the link
| > will break if the other page is moved to a different location, unless the
| > link is updated with the new location. This means that the files and folders
| > in it are "interdependent" upon one another.
| >
| > So, when you work with a web, FrontPage must know that you are working on a
| > web, and not an independent HTML file, so that it can keep track of the
| > dependencies, and make external changes when necessary.
| >
| > Now, link bars are a special kind of tool that FrontPage uses with web
| > sites. Since the web site files and folders are related, FrontPage can
| > create "external" objects that are "global" to the web site, such as
| > navigation and link bars, web parameters, etc. These objects are "global" to
| > the entire web. You cannot create link bars for separate, unrelated,
| > individual pages.
| >
| > So, if you are referring to "My Documents" it sounds like you have created a
| > web in your "My Documents" folder without knowing it. And that is not a good
| > thing. It would be better to create a web site in its own folder. Windows
| > XP, at least if you have FrontPage 2003 installed on it, should have a
| > folder under "My Documents" called "My Webs" that is for creating webs.
| > Under that folder you can create any number of sub-folders, one for each
| > separate web you want to create locally.
| >
| > --
| > HTH,
| >
| > Kevin Spencer
| > Microsoft MVP
| > ..Net Developer
| > If you push something hard enough,
| > it will fall over.
| > - Fudd's First Law of Opposition
| >
| > | > >I am using Front Page and their link bars, but in the link bars they always
| > > direct my links to my documents. How do I change that?
| >
| >
| >
 
How are you uploading? You should be publishing, so that FrontPage knows to
treat it like a web site.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
If you push something hard enough,
it will fall over.
- Fudd's First Law of Opposition
 
Back
Top