Finding the URL of a File Print

  • 24

Finding the URL of a File



On the Primary Domain

  1. In FTP or the cPanel File Manager, note the parent folder where the file is stored.
  2. Doubleclick the folder.
  3. Continue until you find the file. Note the folders that you had to navigate through the find the file. This list of folders is called the "path".
  4. Add the filename to the end of the path. If you file was "test.jpg", and you found it inside the "images" folder, which was inside your public_html folder, the path would look like this: " /public_html/images/test.jpg"
  5. Now, replace the public_html folder name with your primary domain name, like this: "http://yourdomain.com/images/test.jpg".
  6. Verify that this is correct by navigating to the url and loading the file./

Files on Addon Domains or Subdomains

If you wish to use the URL of an addon or subdomain, replace the "/public_html/subdomainfolder/" part of the path with your addon or subdomain name.


Was this answer helpful?

« Back