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.

Absolute 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
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 Pingback in WordPress?

A backlink is called as a pingback in WordPress language. It can be any of the below: A backlink you receive from an external site...

2. What is a meta title?

When we do a keyword search in Google, then Google shows us the links of different websites. As I searched in Google, On Page SEO...

3. What is a meta title?

When we do a keyword search in Google, then Google shows us the links of different websites. As I searched in Google, On Page SEO...

4. What are Broken links?

When you delete any page on your blog but its link is available anywhere, then it is called Broken link that means a link that sho...

5. What is Niche Blogging?

A niche blogging or site is one that targets a very particular group of people. Flipkart, for example, is not a niche site bec...