Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8007937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T17:59:12+00:00 2026-06-04T17:59:12+00:00

For example utexas.edu prepend the path with a / <link rel=shortcut icon href=/sites/default/files/webcentral_favicon_0.ico type=image/x-icon

  • 0

For example utexas.edu prepend the path with a /

<link rel="shortcut icon" href="/sites/default/files/webcentral_favicon_0.ico" type="image/x-icon" />

columbia.edu does not, it just starts with the folder name or path

<link rel="shortcut icon" href="sites/all/themes/base/columbia2/images/favicon-crown.png" type="image/x-icon" />

Both of these are relative, but I need a way to differentiate from absolute pahts.

How can I progrmatically tell when I’m working with a relative path or an absolute path?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T17:59:13+00:00Added an answer on June 4, 2026 at 5:59 pm

    URLS can be formatted like the following

    • Absolute:

      http://google.com, https://google.com

    • Scheme relative:

      //google.com links use the same scheme that the page was loaded

      //en.wikipedia.org/apple-touch-icon.png

    • Site absolute:

      /index.html

    • Page relative:

      index.html, ../index.html, ./index.html

    I don’t really understand the question, but you seem confused about what a relative/absolute URL is.

    If you need to convert a relative URL into an absolute, you can use http://code.google.com/p/js-uri/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Example RSS feed link: http://twitter.com/statuses/user_timeline/twitter.rss Does anyone know if Twitter limits calls to a
Example of WordPress default CSS class output: <li id=menu-item-55 class=menu-item menu-item-type-post_type menu-item-object-page menu-item-55> <li
Example: You have a shortcut s to SomeProgram in the current directory. In cmd.exe
Example: I navigate to http://www.stackoverflow.com with my web browser control there's a link to
Example: <UserControl x:Name=userControl <StackPanel x:Name=container Margin=0> <TextBox Text={Binding Path=SettingValue, RelativeSource={RelativeSource Mode=Self}}/> </StackPanel> </UserControl> UserControl
Example a [[1]] [[1]]$`1` ID Values 1 4 160.08858 2 8 83.35774 3 30
example String : /gasg/string expected result : string Characters to to remove: all characters
Example: public abstract class BaseControler : Controller { public IUnitOfWork UnitOfWork { get; set;
Example of a $text variable: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
/* * Example function for operating with dynamic arguments */ function something(){ for(var i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.