Links: Absolute & Relative
Absolute links are those that include the full URL/address. They specify the computer protocol to be used (http), the web site (www.emu.edu), and the path to the web page (/financialaid/). This is what you see in the address bar of your web browser.
- If you’re linking to another website, use an absolute link.
- Example: If you’d like to place a link to the FAFSA website on an EMU page. You may just copy http://www.fafsa.ed.gov/ from your browser’s address bar and paste it into the Add Link dialog box in the CMS.
- For linking to other pages on the EMU site, just give the path.
There are two forms of these links:
- Relative to the current site (technically an “absolute path”)
- Relative to the current page (a relative path)
Links relative to the current site (absolute paths) always start with a forward-slash “/”. For instance, if on your admissions page you would like to direct people to the financial aid estimator tool on the financial aid website, you would use this absolute path:
This essentially says:
- Go back to the home page (“/”)
- Then to the financial aid page (“financialaid/”)
- Finally, to the estimator tool page (“estimator/”)
Relative paths point to children (and grandchildren and great-grandchildren…) of the current page. They’re better than links that are relative to the home page because they’re shorter and less likely to break.
Suppose you are still editing the admissions page and you’d like to link to the apply page. Because
/admissions/apply/ is a child of the current page (
/admissions/), you would simply make the link this:
If you wanted to link directly to the general application from the admissions page (its grandparent), you would make link like this:
Note: All pages in the CMS have a slash at the end of their URL. If you request a page without it, it adds it automatically before delivering the page.