• This is a simple question, I having been doing Web Development in Silicon Valley for 12+ years, I try keep an open mind when seeking solutions.

    In the past, virtually 100% of the Large Corporate Technology Websites that I have worked on have all used “site root relative” file-paths.

    Site root relative File-paths are considered to be the preferred method of linking when building a Website in Silicon Valley. The reason being that the absolute file-path sends the request off of the server and then returns the request to the same server as a “hit” – which greatly increases the load on the server.

    Relative calls pull the data into the page before the page is sent and reduces the load to the server.

    However, I have noticed that most WP sites use absolute file-paths.

    My question is as follows, does the WP application read the absolute file-path and pull the data before rendering the page or not? If WP is set up to do that, then I have np using absolute file-paths. If not, then the conventional relative file-paths really should be used to reduce the load on the server.

    I’m not trying to create a controversy, choose one or the other, just seeking the “correct” way to add a link in WP with minimum calls to the server.

    Anther way to ask the question is, do servers now resolve absolute file paths without bouncing off of another server first?

    Any thoughts?

  • The topic ‘Absolute Vs Relative Filepaths in WordPress’ is closed to new replies.