Introducing Origin Basedir

1 minute read

We listen to our customers. We’re thus happy to introduce a new feature many of you have been asking for. Origin Basedir enables you to set a specific directory in your origin settings. This way, you can ensure the path to your files is hidden. Additionally, it can also help you bring order to your files.

Let me give you an example:

  • You have a file, say an image, and its URL is ‘’
  • With ‘’ as your origin, your file is served from the URL: This way, anyone can see the path to the directory of this file.
  • Origin Basedir enables you to set your origin to ‘’ so your file’s new URL would be: Now, only you can see the path.

Another way to look at Origin Basedir functionality is to create a specific resource for every type of files – images, stylesheets, scripts, videos, software or pretty much anything you serve through a CDN. Here’s what I mean:

  • Make a directory in your host with all files and name it according to the type of the given file, e.g. “videos”
  • Set the origin of a new resource to:
  • Optionally: set a cname of this resource  “videos”
  • Your videos will then be served from the URL:

Since we don’t limit our customers as to the number of CDN resources, you can create as many as you need.



We hope you’ll find this feature helpful. Make sure to let us know in the comments below. If you don’t have a CDN77 account yet, sign up now and try Origin Basedir yourself.

Get our news right away

  • Ted

    I read the article but I’m not sure i fully understood it. I should set up directories on my server and fill them with images, etc., and use that path, right? Sounds simple enough for self built site, but how could I achieve this in WordPress enviroment without breaking the WP functionality?

    btw. there is a small inconsistency on your site.
    The black sticky header says: “Accelerate your website with 28 PoPs worldwide” and front page says 31 PoPs, and the “Free 14-day trial” says 32 PoPs.