hyperlinks and ftp problem

D

Dave Ant

When I publish my website to the host using "publish to the web" ftp option,
the links are incorrectly reference within the page. For example:

a link that should be pointing to:

http://www.blah.org/events.html

actually points to:

ftp://www.blah.org/events.html

This doesn't work. I can correct this by editing all of the links with each
of my pages; however, this is very tedious. I would like to pass the upkeep
of the site to a less experienced user. Is there a way to solve this problem?

Also, the same thing happens when I "publish to the web" to my local drive
first and then ftp (using a different ftp program). The links within each
page point to my the path on my local drive. Again, I can go edit each link
with wordpad, but I'm sure that there is a much easier approach within
Publisher, but I can't find anything under help.

I have a feeling that this is the same problem that msweeks is having.

thanks in advance!

Dave
 
D

David Bartosik

Always post your version of Publisher.

When you create your hyperlink do you type the URL yourself or do you use
the "link to page..." option?

When using the link to page yada yada yada procedure Publisher should (you
didn't state a version) code a relative URL, which to use your example would
mean - events.html - versus a "absolute" URL like your example shows.

It's been my experience to date that Publisher (2002, 2003) will only code a
absolute link to the local drive when the web publication has a Master Page
in use.

Please indicate if you are using a Master Page.

I strongly discourage the use of Master Page in a web publication.

In such a case removing the Master Page and placing the linked text on the
web page will resolve the incorrect coding of hyperlink URL's.

David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com
 
D

Dave Ant

Thanks David,

To answer your questions:

1. I'm using Publisher 2003.

2. Yes, I type the URLs myself.

3. Yes, I'm using a Master page.

The problem is actually only with images (not text links to other existing
pages... these work fine) inserted into the webpage. Essentially, I need a
method in which to reference the future JPG file location at the host within
publisher so that I don't have to go edit each html file that contains JPG on
that page in order to point to the correct file location. Currently,
publisher points to the JPG on my hard disk (C:/blah/yadayada.jpg) or if I
use publisher's FTP option it points to ftp://www.blah.org/yadayada.jpg while
it should point to http://www.blah.org/yadayada.jpg

I'm sure that there is a simple solution, but I still haven't found it.

thanks,

Dave


David Bartosik said:
Always post your version of Publisher.

When you create your hyperlink do you type the URL yourself or do you use
the "link to page..." option?

When using the link to page yada yada yada procedure Publisher should (you
didn't state a version) code a relative URL, which to use your example would
mean - events.html - versus a "absolute" URL like your example shows.

It's been my experience to date that Publisher (2002, 2003) will only code a
absolute link to the local drive when the web publication has a Master Page
in use.

Please indicate if you are using a Master Page.

I strongly discourage the use of Master Page in a web publication.

In such a case removing the Master Page and placing the linked text on the
web page will resolve the incorrect coding of hyperlink URL's.

David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com


Dave Ant said:
When I publish my website to the host using "publish to the web" ftp option,
the links are incorrectly reference within the page. For example:

a link that should be pointing to:

http://www.blah.org/events.html

actually points to:

ftp://www.blah.org/events.html

This doesn't work. I can correct this by editing all of the links with each
of my pages; however, this is very tedious. I would like to pass the upkeep
of the site to a less experienced user. Is there a way to solve this problem?

Also, the same thing happens when I "publish to the web" to my local drive
first and then ftp (using a different ftp program). The links within each
page point to my the path on my local drive. Again, I can go edit each link
with wordpad, but I'm sure that there is a much easier approach within
Publisher, but I can't find anything under help.

I have a feeling that this is the same problem that msweeks is having.

thanks in advance!

Dave
 
D

David Bartosik [MSFT MVP]

It is a simple solution.
Stop using Master Page.
That is not supported in a web publication.
Your very issue was confirmed during product beta tests.

--
David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com

Dave Ant said:
Thanks David,

To answer your questions:

1. I'm using Publisher 2003.

2. Yes, I type the URLs myself.

3. Yes, I'm using a Master page.

The problem is actually only with images (not text links to other existing
pages... these work fine) inserted into the webpage. Essentially, I need
a
method in which to reference the future JPG file location at the host
within
publisher so that I don't have to go edit each html file that contains JPG
on
that page in order to point to the correct file location. Currently,
publisher points to the JPG on my hard disk (C:/blah/yadayada.jpg) or if I
use publisher's FTP option it points to ftp://www.blah.org/yadayada.jpg
while
it should point to http://www.blah.org/yadayada.jpg

I'm sure that there is a simple solution, but I still haven't found it.

thanks,

Dave


David Bartosik said:
Always post your version of Publisher.

When you create your hyperlink do you type the URL yourself or do you use
the "link to page..." option?

When using the link to page yada yada yada procedure Publisher should
(you
didn't state a version) code a relative URL, which to use your example
would
mean - events.html - versus a "absolute" URL like your example shows.

It's been my experience to date that Publisher (2002, 2003) will only
code a
absolute link to the local drive when the web publication has a Master
Page
in use.

Please indicate if you are using a Master Page.

I strongly discourage the use of Master Page in a web publication.

In such a case removing the Master Page and placing the linked text on
the
web page will resolve the incorrect coding of hyperlink URL's.

David Bartosik - [MSFT MVP]
www.publishermvps.com
www.davidbartosik.com


Dave Ant said:
When I publish my website to the host using "publish to the web" ftp
option,
the links are incorrectly reference within the page. For example:

a link that should be pointing to:

http://www.blah.org/events.html

actually points to:

ftp://www.blah.org/events.html

This doesn't work. I can correct this by editing all of the links with
each
of my pages; however, this is very tedious. I would like to pass the
upkeep
of the site to a less experienced user. Is there a way to solve this
problem?

Also, the same thing happens when I "publish to the web" to my local
drive
first and then ftp (using a different ftp program). The links within
each
page point to my the path on my local drive. Again, I can go edit each
link
with wordpad, but I'm sure that there is a much easier approach within
Publisher, but I can't find anything under help.

I have a feeling that this is the same problem that msweeks is having.

thanks in advance!

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top