Publisher 2007 publishing to FTP location -HREF=FTP in source

K

kghareus

Hopefully someone has run into this.

My sister used publisher 2003 to publish her business web site. She upgraded
to 2007 and now, when she publishes the web site the HREF Urls all refer to
ftp:// rather than HTTP://

I notice the base url is set correctly but cannot see where she needs to set
publsher to point all href to http: when she publishes to her web site
through ftp.

This has to be simple but I'm not a publisher user so any suggestions,
pointers most welcome.

Thanks in advance.
 
D

DavidF

When she upgraded, did she also switch to IE7 from IE6, or to Vista from XP?
Is she using a third party FTP client? What is the URL of the site?

It would be better if you reposted with the requested information in the web
group and we will try to help you there:
microsoft.public.publisher.webdesign Please always include the version of
Publisher you are using, the URL of
your site and as much detail as possible.

DavidF
 
K

kghareus

Hi David, thanks for the resonse. I'm still finding my way around the
communities so I'll try to repost in the web design group as soon as I work
out how to move around here!

It is publisher 2007 and the FTP is straight from the publish to web section
where it asks for the FTP information. I would have thought it would always
assume that web publishing would be http not ftp but every link in the page
gets converted to 'ftp://xxxxx.htm' when she uploads.

She did not move to vista and she has only recently upgraded to ie7.

Temporarily I pulled down the html files and globally replaced all ftp
instances with http so at least her site is working but since she used
publisher to keep the page up to date I know when she next pulls the page
down and republishes she's going to run into this again.

I told here to enable frontpage support on the website and try to publish
through HTTP but it's still bugging me that I can't find where to specify
that the urls in an html document get saved as http and not ftp. I would have
thought the base url would have been used.
 
D

DavidF

Things changed with IE7. Prior to that you could upload via IE6 and FTP. Now
you cannot and that might be why she is having this problem. Furthermore,
you do not edit the html files as you would in FrontPage or other code
editors. Though you *could* do it in Pub 2003 if you produced the bloated
"rich" html code with the Office tags, the "filtered" code was recommended,
and is all that is available now in Pub 2007. Changes in a Publisher web are
made in the original local Publisher file, then you produce new html files
and upload them.

Reference: Prepare, publish, and maintain your Publisher Web site:
http://office.microsoft.com/en-us/publisher/HA100947601033.aspx
It is written for Pub 2007, but if you are using IE7 instead of IE6, then
the directions for using Vista would apply for Pub 2003 too. Pay particular
attention to the instructions for FTP uploading in Vista.

If she is not using a form, forget about using HTTP uploading. That also has
problems as of IE7 and requires mapping a network drive, and her host may
not support FPSE.

I would suggest that you have her download and use FileZilla to upload her
files. It is a free FTP client and is likely to be easier for her in the
long run. She would "Publish to the Web" from her Pub doc to somewhere on
her hard drive where she can find the web files. Unless she changed the
defaults, she will get an index.htm file (her home page) and an index_files
folder that contains all the supporting graphics and images plus the other
..htm files..the other pages in her site. Then use FileZilla to upload the
index.htm file and the index_files folder INTACT to the root directory of
her host server.

FileZilla: http://filezilla-project.org/ Also peruse this page:
http://filezilla.sourceforge.net/documentation/ It might take her a bit to
learn how to use FileZilla, but in the long run she will be happier.

Try this approach, and see if that doesn't fix things. If not repost in the
web group and this time include the URL of the site along with the other
details.

DavidF
 
K

kghareus

Thanks for the info David.

I know she used Filezilla or some such to move the files over via FTP but
that just placed webfiles where the href was her home c drive.

I was hoping there was a quick parameter to force the href within the html
to whatever base url was set for the site.

While I am a strong supporter of all things MS I have in the interim
downloaded and tested seamonkey and it seems to do everything she wants. She
is, after all, just the owner of a holiday home who wants to keep her site
updated, she is not a web developer. So fighting to either map a drive, or
use frontpage extensions is not her strength.

I'll read throught the references you passed on and maybe I'll find out why
publisher would even begin to use the FTP site in 'publish to the web ' as
the base url in all the href.

Thanks again.
 
D

DavidF

Make sure that she is not using a Master Page. View > Master Page in the Pub
file. This will result in references to the C drive. Move any design
elements to the main page, and don't use the Master Page feature for web
publications.

At this point it appears that she/you are making some fundamental mistake in
how you are producing your web files if you are not using a Master Page.

Open the Publisher file.
File > Publish to the Web
In the left column of that dialog choose Desktop, or browse to the desktop.
Under File name, choose index.htm as the file name.
Now go to your desktop where you directed the web files, and double click
the index.htm file. Assuming that IE is your default browser, mouseover the
links and look at the status bar and you should see relative links such as
"index_files/Page123.htm". And if you click one of the links to another page
and mouseover the Home page link, you should see "../index.htm".

If you have FireFox installed go to the index.htm file on the desktop, right
click, open with FireFox. Now when you mouseover the links you will see
absolute links...but they will reference back to the C drive, because that
is where the files are. Never the less, if you upload the index.htm file and
the index_files folder to the root directory of the host via FileZilla, they
will reference the host...the HTTP address.

I cannot do more without seeing the site, so I am done until you move this
question to the web group and include the URL.

If you are using NNTP then use:
news://msnews.microsoft.com/microsoft.public.publisher.webdesign
If you prefer the forum:
http://www.microsoft.com/communitie...c00-731a-414b-85bf-8299f4db0fa9&lang=en&cr=us

Please include the specific steps taken to produce your web files and
publish them to your hard drive. If you do this correctly Publisher does
write the links correctly.

DavidF
 

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