Links refer to

F

firsttimer

I am trying to build a website by importing a website which matchs what I
want to design. The import of this other website works great. However, when
I open the index.html all the links are referencing a file link instead of
the actual web I just imported it from. Just doing some troubleshooting I
took the exact web I just imported from the other website and published it to
my comcast account. The site published ok, however whenever I click on one
of these links, its still pointing to my C: drive.

I did a search and replace, just to test again, the c:/ reference to the
actual website I was publishing to, and then the links work. The problem is
I have about 20 of these files with about 50plus reference this way and I
dont want to have to do the search and replace. Is there another way i
should be doing this? Did I miss a step?

I attached the HTML code just for reference.

TIA


<script type="text/javascript" src="file:///C:/Documents and
Settings/Administrator/My Documents/My Webs/myweb11/js/scripts.js"></script>

<li id="forum_btn"><a href="file:///C:/Documents and
Settings/Administrator/My Documents/My Webs/myweb11/forum/"
onclick="window.open(this.href); return false;">forum</a></li>
 
S

Stefan B Rusynko

If you imported into a new site and opened that new site in FP as a Site (not just the page) the links should all be relative
- if they are not, you need to use S&R to correct them

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|I am trying to build a website by importing a website which matchs what I
| want to design. The import of this other website works great. However, when
| I open the index.html all the links are referencing a file link instead of
| the actual web I just imported it from. Just doing some troubleshooting I
| took the exact web I just imported from the other website and published it to
| my comcast account. The site published ok, however whenever I click on one
| of these links, its still pointing to my C: drive.
|
| I did a search and replace, just to test again, the c:/ reference to the
| actual website I was publishing to, and then the links work. The problem is
| I have about 20 of these files with about 50plus reference this way and I
| dont want to have to do the search and replace. Is there another way i
| should be doing this? Did I miss a step?
|
| I attached the HTML code just for reference.
|
| TIA
|
|
| <script type="text/javascript" src="file:///C:/Documents and
| Settings/Administrator/My Documents/My Webs/myweb11/js/scripts.js"></script>
|
| <li id="forum_btn"><a href="file:///C:/Documents and
| Settings/Administrator/My Documents/My Webs/myweb11/forum/"
| onclick="window.open(this.href); return false;">forum</a></li>
|
 
F

firsttimer

I used the import a website wizard for FP2002. When the import was done, I
went to the folders view, clicked on it, and then opened the index.html file.
When I opened it, all the references I referred to in the thread were
pointing to my harddrive (C:/Documents and
| Settings/Administrator/My Documents/My Webs/myweb11/js/scripts.js.

Was there something in the import wizard or a properties setting within
FP2002 that needs to be set so that this doesnt happen?

TIA

Stefan B Rusynko said:
If you imported into a new site and opened that new site in FP as a Site (not just the page) the links should all be relative
- if they are not, you need to use S&R to correct them

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|I am trying to build a website by importing a website which matchs what I
| want to design. The import of this other website works great. However, when
| I open the index.html all the links are referencing a file link instead of
| the actual web I just imported it from. Just doing some troubleshooting I
| took the exact web I just imported from the other website and published it to
| my comcast account. The site published ok, however whenever I click on one
| of these links, its still pointing to my C: drive.
|
| I did a search and replace, just to test again, the c:/ reference to the
| actual website I was publishing to, and then the links work. The problem is
| I have about 20 of these files with about 50plus reference this way and I
| dont want to have to do the search and replace. Is there another way i
| should be doing this? Did I miss a step?
|
| I attached the HTML code just for reference.
|
| TIA
|
|
| <script type="text/javascript" src="file:///C:/Documents and
| Settings/Administrator/My Documents/My Webs/myweb11/js/scripts.js"></script>
|
| <li id="forum_btn"><a href="file:///C:/Documents and
| Settings/Administrator/My Documents/My Webs/myweb11/forum/"
| onclick="window.open(this.href); return false;">forum</a></li>
|
 
S

Stefan B Rusynko

As I said do not File open Index.htm
- instead use File Open Site and open the web folder containing the site before opening the page

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|I used the import a website wizard for FP2002. When the import was done, I
| went to the folders view, clicked on it, and then opened the index.html file.
| When I opened it, all the references I referred to in the thread were
| pointing to my harddrive (C:/Documents and
| > | Settings/Administrator/My Documents/My Webs/myweb11/js/scripts.js.
|
| Was there something in the import wizard or a properties setting within
| FP2002 that needs to be set so that this doesnt happen?
|
| TIA
|
| "Stefan B Rusynko" wrote:
|
| > If you imported into a new site and opened that new site in FP as a Site (not just the page) the links should all be relative
| > - if they are not, you need to use S&R to correct them
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > _____________________________________________
| >
| >
| > |I am trying to build a website by importing a website which matchs what I
| > | want to design. The import of this other website works great. However, when
| > | I open the index.html all the links are referencing a file link instead of
| > | the actual web I just imported it from. Just doing some troubleshooting I
| > | took the exact web I just imported from the other website and published it to
| > | my comcast account. The site published ok, however whenever I click on one
| > | of these links, its still pointing to my C: drive.
| > |
| > | I did a search and replace, just to test again, the c:/ reference to the
| > | actual website I was publishing to, and then the links work. The problem is
| > | I have about 20 of these files with about 50plus reference this way and I
| > | dont want to have to do the search and replace. Is there another way i
| > | should be doing this? Did I miss a step?
| > |
| > | I attached the HTML code just for reference.
| > |
| > | TIA
| > |
| > |
| > | <script type="text/javascript" src="file:///C:/Documents and
| > | Settings/Administrator/My Documents/My Webs/myweb11/js/scripts.js"></script>
| > |
| > | <li id="forum_btn"><a href="file:///C:/Documents and
| > | Settings/Administrator/My Documents/My Webs/myweb11/forum/"
| > | onclick="window.open(this.href); return false;">forum</a></li>
| > |
| >
| >
| >
 
F

firsttimer

Stepfan, thanks for the reply. I understand what your saying and I am not
opening the file except only after I have opened a web. Then I click on the
Folder view(within the left frame of FP) and I see all the files listed in
the website and then double click on the file name from the file list. I am
not opening it independent of first opening a website.

Actually, I tested what you said and after I have opened web, then select
the web, I then go back and tried to do Open Web again from the file
menu(after I already opened the first web), then I went back to file menu,
select open web again, you cannot open any files...only a web.

Any thoughts.....

TIA

Stefan B Rusynko said:
As I said do not File open Index.htm
- instead use File Open Site and open the web folder containing the site before opening the page

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|I used the import a website wizard for FP2002. When the import was done, I
| went to the folders view, clicked on it, and then opened the index.html file.
| When I opened it, all the references I referred to in the thread were
| pointing to my harddrive (C:/Documents and
| > | Settings/Administrator/My Documents/My Webs/myweb11/js/scripts.js.
|
| Was there something in the import wizard or a properties setting within
| FP2002 that needs to be set so that this doesnt happen?
|
| TIA
|
| "Stefan B Rusynko" wrote:
|
| > If you imported into a new site and opened that new site in FP as a Site (not just the page) the links should all be relative
| > - if they are not, you need to use S&R to correct them
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > _____________________________________________
| >
| >
| > |I am trying to build a website by importing a website which matchs what I
| > | want to design. The import of this other website works great. However, when
| > | I open the index.html all the links are referencing a file link instead of
| > | the actual web I just imported it from. Just doing some troubleshooting I
| > | took the exact web I just imported from the other website and published it to
| > | my comcast account. The site published ok, however whenever I click on one
| > | of these links, its still pointing to my C: drive.
| > |
| > | I did a search and replace, just to test again, the c:/ reference to the
| > | actual website I was publishing to, and then the links work. The problem is
| > | I have about 20 of these files with about 50plus reference this way and I
| > | dont want to have to do the search and replace. Is there another way i
| > | should be doing this? Did I miss a step?
| > |
| > | I attached the HTML code just for reference.
| > |
| > | TIA
| > |
| > |
| > | <script type="text/javascript" src="file:///C:/Documents and
| > | Settings/Administrator/My Documents/My Webs/myweb11/js/scripts.js"></script>
| > |
| > | <li id="forum_btn"><a href="file:///C:/Documents and
| > | Settings/Administrator/My Documents/My Webs/myweb11/forum/"
| > | onclick="window.open(this.href); return false;">forum</a></li>
| > |
| >
| >
| >
 

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