setting default to / instead of ../../

  • Thread starter Thread starter debbie
  • Start date Start date
D

debbie

Is there a way to set the a default for linking to a
slash "/" from the root instead of ../../ etc. in Front
Page? I'm using Front Page 2003 and it is a better method
for our site. Thanks in advance.
 
No.
The two dots and the slash tell the server how many folder levels up or down
to look for the file.
Without them the links won't work.
Besides, they are invisible to a visitor unless they "view source."

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
Hi Debbie,
why's it better? Are your links working as you have them? The difference is
let's say you're working on http://localhost/yourweb which you intend to
publish to http://you.com . A link like this <a href="/page.htm">text</a>
would point to http://you.com/page.htm on your live web site but to
http://localhost/page.htm (outside your site) on your development PC. Would
be nice if MS could think of a way to solve the ../ vs / issue - for now if
you want to use / links the only answer is to develop against a server OS

Hope that answer didn't confuse the heck out of you :-)

Jon
Microsoft MVP - FP
 
Hi Jon,

It's better because we don't run an exclusively FP site.
Some of the templates that I've created in FP go through
other templating systems and/or are copied to a variety of
other locations. So yes, I guess we are developing against
a server OS, but I'm not exactly sure. It was a request
that's been made to me and it would be great if somehow
this could be set as a default in FP when linking files
etc.

Thanks for asking... I don't know if it's possible.

Debbie
 

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

Back
Top