Building Europe's Online Philanthropic Community
Funders Online
Help
Update Your Record

InfoCentres

Web Toolkit

Grant Seekers

News Room

About Us

Links

Home

Brought to you by:
European Foundation Centre
Tips on Relative URLs

  • What is a url?
    Basically, this is the address of your web page.
    E.g. http://www.fundersonline.org/tips.html is this page.
  • What do you mean by 'relative'?
    Simply the portion of the url excluding the web server name
    E.g. /tips.html is this page's relative url
  • What's the easy way to fill in the relative url field?
    In a new browser window, just go to the web page on your site that you wish to put into this field, then copy what you see in the location box of your browser. Some browsers let you right click on the page, then select copy location. You can then go back to the Webmanager's Editing Tool and paste in the url. (Note: this is now a full url, but that's fine)
  • My site uses frames. How do I fill in a rel url which will load the frameset?

    Great question! I am sure there is a clever way documented somewhere (let me know), but for now try creating a special frameset as the relative url which loads the page properly when called or, if you do Javascript, then put in a frames loader function in the onLoad() event. (Request: If you have working examples, I would like to hear from you so I can quote them here)
  • Part of my site is accessed via cgi script. Can I enter that?
    Yes, apart from extra path information. See the last example in the table below.
  • My webserver uses a non-standard port (E.g. 8080). What do I do?
    Let me know. I haven't got around to checking for additional port info yet. Parsing relative urls is hard enough!!
  • I have lots of these relative urls to do and I understand them. Which combinations work?
    Well, most obvious combinations. Here are a few examples which will give the right result:
Home Page is: www.yoursite.org/funding/foundation.html
relative url is:actual url is:
about.htmlhttp://www.yoursite.org/funding/about.html
/about.htmlhttp://www.yoursite.org/about.html
../general/about.htmlhttp://www.yoursite.org/general/about.html
about.html#reporthttp://www.yoursite.org/funding/about.html#report
/generalhttp://www.yoursite.org/general
www.efc.behttp://www.efc.be
http://www.efc.be/orpheushttp://www.efc.be/orpheus
/cgi-bin/script.cgihttp://www.yoursite.org/cgi-bin/script.cgi

Notes:

  • Characters such as @$^ and any accented letters are removed as they may interfere with some Javascript routines
  • Tilde (~) is valid to show a home directory (/~mydirectory/index.html)
  • If you have a url that doesn't work please let me know. Maybe I have excluded something I shouldn't have:-)

Questions or comments? Get in touch!


 
 

Advanced Search Feedback Help Site Map