Absolute Path




DEFINITION: Absolute Path

The term Administration Screens is used to describe different sections of WordPress admin area. The reason for using the term screen and not pages is to prevent users from confusing an admin screen from Pages (post type) which can be created, edited and removed by users.

In addition to absolute paths, there are also relative paths. These define the location of a file relative to your working directory, or the directory you are currently located in. Absolute paths use a root directory that is usually at the top of the file tree. This means that no matter what directory you are currently in you can always use this path to locate a resource on the system.

To give you some examples, in Linux and Unix based operating systems and web servers the absolute path usually starts with a forward slash /. Each directory is then separated by forward slashes.

Example:

1| /home/john/www/blog/index.php

In Microsoft Windows based operating systems and web servers it usually starts with a drive letter and is separated by backslashes.

Example:

1| C:\Windows\Users\john\html\docs\blog\index.php

On the internet, URLs follow the Unix convention of using forwards slashes to separate files and directories on servers.




« Back to Glossary Index

Pin It on Pinterest

Share This