PC Review


Reply
Thread Tools Rate Thread

Changing the default file path from absolute to relative

 
 
=?Utf-8?B?VER1bms=?=
Guest
Posts: n/a
 
      7th Dec 2005
When I drag a file from the folder list into my website, it write an absolute
path. If I am online, this is not a problem, but when I am off line, then
ftp my project to the server, my paths links do not work. I know there must
be a setting in FrontPage to change the way the paths are caluculated.
Thanks for your help.
 
Reply With Quote
 
 
 
 
Thomas A. Rowe
Guest
Posts: n/a
 
      7th Dec 2005
Import the file into your current open FP Web / Site, then create you link to it, and when you save
the page, FP will convert the link to relative.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

"TDunk" <(E-Mail Removed)> wrote in message
news:F11AA316-592D-4C9B-84EC-(E-Mail Removed)...
> When I drag a file from the folder list into my website, it write an absolute
> path. If I am online, this is not a problem, but when I am off line, then
> ftp my project to the server, my paths links do not work. I know there must
> be a setting in FrontPage to change the way the paths are caluculated.
> Thanks for your help.



 
Reply With Quote
 
=?Utf-8?B?SmltIEJ1eWVucw==?=
Guest
Posts: n/a
 
      7th Dec 2005
Always use Open Site to open the folder that contains the start of your site.
Conversely, don't use File Open to open individual files from your disk.

Then, always drag files from Windows Explorer and drop them into the
FrontPage folder list, and then drag them from the FrontPage folder list and
drop them onto your Web page.

Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
o--> Microsoft Visual Web Developer 2005 Express Edition: Build a Web Site
Now!
o--> Microsoft Office FrontPage 2003 Inside Out
o--> Microsoft Windows SharePoint Services Inside Out
o--> Faster Smarter Beginning Programming


"TDunk" wrote:

> When I drag a file from the folder list into my website, it write an absolute
> path. If I am online, this is not a problem, but when I am off line, then
> ftp my project to the server, my paths links do not work. I know there must
> be a setting in FrontPage to change the way the paths are caluculated.
> Thanks for your help.

 
Reply With Quote
 
=?Utf-8?B?TWljaGFlbCBHZXJuZXM=?=
Guest
Posts: n/a
 
      16th Dec 2005
Hi, can I join in the discussion?

I'm working on a site for a local small business client, and we're
experiencing some major headaches late in the process. We used relative
links throughout, as the literature advises.

Recently, we had to revert to a copy of the Web, and due to the copying, our
relative paths became absolute paths to our local drive (C://My
Documents/etc.). We tried to correct this problem using the 'Reports' view
and editing these absolute links.

After fixing and testing, we discovered that our links had indeed changed,
and were looking in the correct local folder, but were still absolute when
published to the remote site.

Did we do something wrong in the editing/fixing process? Do we need to fix
all of our links manually? We have discovered that when we correct a link
manually to be relative, it works. Obviously, this requires more time, but
it can be done. But of course, we're lazy! We'd like to be able to correct
multiple links across pages and make them relative. Is there a way?

Response appreciated.

Michael Gernes

"Thomas A. Rowe" wrote:

> Import the file into your current open FP Web / Site, then create you link to it, and when you save
> the page, FP will convert the link to relative.
>
> --
> ==============================================
> Thomas A. Rowe (Microsoft MVP - FrontPage)
> ==============================================
> If you feel your current issue is a results of installing
> a Service Pack or security update, please contact
> Microsoft Product Support Services:
> http://support.microsoft.com
> If the problem can be shown to have been caused by a
> security update, then there is usually no charge for the call.
> ==============================================
>
> "TDunk" <(E-Mail Removed)> wrote in message
> news:F11AA316-592D-4C9B-84EC-(E-Mail Removed)...
> > When I drag a file from the folder list into my website, it write an absolute
> > path. If I am online, this is not a problem, but when I am off line, then
> > ftp my project to the server, my paths links do not work. I know there must
> > be a setting in FrontPage to change the way the paths are caluculated.
> > Thanks for your help.

>
>
>

 
Reply With Quote
 
Thomas A. Rowe
Guest
Posts: n/a
 
      16th Dec 2005
1. Make sure you have a web / site open in FP

2. You would need to search and replace by location of the link within the web structure and by
first manual correcting a link so you what to search and replace in HTML / Code View.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

"Michael Gernes" <Michael (E-Mail Removed)> wrote in message
news:4BA059BE-7440-48F8-A462-(E-Mail Removed)...
> Hi, can I join in the discussion?
>
> I'm working on a site for a local small business client, and we're
> experiencing some major headaches late in the process. We used relative
> links throughout, as the literature advises.
>
> Recently, we had to revert to a copy of the Web, and due to the copying, our
> relative paths became absolute paths to our local drive (C://My
> Documents/etc.). We tried to correct this problem using the 'Reports' view
> and editing these absolute links.
>
> After fixing and testing, we discovered that our links had indeed changed,
> and were looking in the correct local folder, but were still absolute when
> published to the remote site.
>
> Did we do something wrong in the editing/fixing process? Do we need to fix
> all of our links manually? We have discovered that when we correct a link
> manually to be relative, it works. Obviously, this requires more time, but
> it can be done. But of course, we're lazy! We'd like to be able to correct
> multiple links across pages and make them relative. Is there a way?
>
> Response appreciated.
>
> Michael Gernes
>
> "Thomas A. Rowe" wrote:
>
>> Import the file into your current open FP Web / Site, then create you link to it, and when you
>> save
>> the page, FP will convert the link to relative.
>>
>> --
>> ==============================================
>> Thomas A. Rowe (Microsoft MVP - FrontPage)
>> ==============================================
>> If you feel your current issue is a results of installing
>> a Service Pack or security update, please contact
>> Microsoft Product Support Services:
>> http://support.microsoft.com
>> If the problem can be shown to have been caused by a
>> security update, then there is usually no charge for the call.
>> ==============================================
>>
>> "TDunk" <(E-Mail Removed)> wrote in message
>> news:F11AA316-592D-4C9B-84EC-(E-Mail Removed)...
>> > When I drag a file from the folder list into my website, it write an absolute
>> > path. If I am online, this is not a problem, but when I am off line, then
>> > ftp my project to the server, my paths links do not work. I know there must
>> > be a setting in FrontPage to change the way the paths are caluculated.
>> > Thanks for your help.

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Script w/relative path that sends absolute path to a folder to theclipboard? StargateFanNotAtHome@mailinator.com Microsoft Outlook VBA Programming 3 24th Mar 2009 01:32 PM
Absolute verses Relative file path in SQL =?Utf-8?B?Uml2ZXJHdWxseQ==?= Microsoft Excel Programming 4 21st Oct 2007 07:59 PM
Relative path vs. absolute path possible in storing pictures? StargateFanFromWork Microsoft Access Getting Started 5 2nd Dec 2005 09:29 AM
Anyway to replace absolute file path in formula with relative or use Info(directory)? RocketDude Microsoft Excel Discussion 1 18th Aug 2005 06:00 PM
There are any Path or Directory function to convert an absolute pathto a relative path? Ffelagund Microsoft VC .NET 2 8th Mar 2004 07:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:25 PM.