To leave a comment, please Login or Register

There are two type of file paths
1. relative
2. absolute
relative is when we know path of some file and need to look along nearby path , like var/www/index.php var/www/options.php both are in same folder, so we can do ../options.php to use in index.php as a relative path.

where as var/www/options.php is we add this path then it is an absolute path.

Absoulte path in case for Wordpress is the exact path from public folder or / in Linux

so, if we have our Wordpress under folder /html , so we can access other files by adding path
/html/folder/file or folder/file with exact folder/file name
2 months ago   1
Balvinder Singh that's really a detailed and bit technical too. Thanks a lot for such one answer.
2 months ago   2
Rahul Gupta thanks, but i am more of a developer-first than blogger, so.
2 months ago   1

Related Glossary Terms

1. What is a WordPress Plugin?

A WordPress plugin is a code that needs to be plugged-in to the basic code of your WordPress site so that a desired feature is add...

2. What is Google Analytics?

Google Analytics is a tool created by Google. With the help of this tool, you can find out which visitor came from where and for h...

3. What is Ad Code in Google Adsense?

Ad code is a combination of HTML and Js code used for providing the ads on a page where we add the code. The js part loads the S...

4. What is a tagline in a blog?

Tagline is a word or sentence defining a product or company. It can also be called a punchline. Which is used in advertising, mark...

5. Which is WYSIWYG HTML editor?

WYSIWYG is short for What you see is What you get means you will see whatever you writing exactly as it will appear to everyone. T...