File naming issues

O

Omer Iqbal

Hello,

In 2003 edition, I modified the settings on my website to
not publish the files of the website under a folder. Since
my main file was index.htm, all the files of my webpage
are now index_contact.htm, index_links.htm etc. I want
them as contact.htm and links.htm for compatability with
my website which is not developed using Publisher.

Secondly, I deleted my index.htm and created a new blank
page to make it my home page. Now my new index file is
called index_index.htm! Is there anyway to fix that?

Thanks,
Omer
 
D

David Bartosik - MS MVP

In 2003 edition, I modified the settings on my website to
not publish the files of the website under a folder. Since
my main file was index.htm, all the files of my webpage
are now index_contact.htm, index_links.htm etc. I want
them as contact.htm and links.htm for compatability with
my website which is not developed using Publisher.

That is the current functionality when not using the folder.
If you use the folder than you will not have the file name prefixed.
So you'll have to compromise, folder or file name prefixes.

Secondly, I deleted my index.htm and created a new blank
page to make it my home page. Now my new index file is
called index_index.htm! Is there anyway to fix that?

You deleted the physical file 'index.htm' or you deleted the first page in
the pub doc?

The web site is contained in the pub file and is recreated with each
publish, hence deleting an htm file after the fact does not remove the page
from the pub file.

Page 1 in the pub doc is always the 'index.htm' file. In fact if you go into
web page options and name the 1st page with a custom file name that name
will be over-ridded during the publish to be index.htm

A web site can only have one index.htm file.

I really have no idea what you did in your second paragraph or why, but
hopefully the above 4 sentences will help you figure out what you are doing
wrong.


--
David Bartosik - MS MVP
for Publisher help:
www.davidbartosik.com
enter to win Pub 2003:
www.davidbartosik.com/giveaway.aspx
 
O

Omer Iqbal

You deleted the physical file 'index.htm' or you deleted
the first page in
the pub doc?

Thanks for your reply.

I deleted the first page in the pub doc and that was done
deliberately because the formatting of the page had a
little defect that I was unable to remove. A quick fix was
to remove the page and recreate it and that fixed that
problem, very easily. However, now there is no 'real'
first page in the doc and I have run into this problem.

Thanks,
Omer
 
O

Omer Iqbal

That is the current functionality when not using the
folder.
If you use the folder than you will not have the file name prefixed.
So you'll have to compromise, folder or file name
prefixes.

And as you pointed, the first file is always index.htm, so
my folder also happens to be index_files or something like
that, which is kind of ugly. Even if I name my first page
as article.htm, publisher always publishes with index.htm!

I think the best way is to write a small tool that would
instead rename the pages and update the links, so I can
publish, run the tool and ftp to my website. Better yet, I
think I can find such a tool out there on the web
somewhere.

However, the Publisher development team should also
consider the fact that such nuisances can be really
painful for some website owners, may be you guys can fix
this sometimes in the future.

Thanks,
Omer
 
C

Chris Schatte

If you deleted your index.htm page after publishing, instead of re-designing, the only possible way to resolve your index page problems either in Publisher or at your host is to create a new site file in Publisher and have your host wipe your old site clean from the server, then re-publish
You should be able to save many hours of trying to solve a problem that may not be overcome easily.
 

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