Tags: Shifter

Shifter now supports sub-directory structure

Until now, Shifter has only supported deploying static sites with subdomain configurations that look like https://www.example.com/ and https://blog.example.com/

We’re happy to announce that shifter will now support subdirectory urls such as  https://www.example.com/my-shifter-site/ and any other subdirectory configuration.

What does this mean? 

Supporting subdirectories means that, even if your main site is not hosted on Shifter, you will still be to deploy Shifter sites as sub pages on your main site. By setting a reverse proxy on your main site’s server, you will be able to keep your sub pages static. 

This feature is available for all tier plans including the free plan, so feel free to give it a try.

Let’s try it out!

From your Shifter dashboard, navigate to the Settings page of the site where you would like to enable a subdirectory structure.

Scroll to the “Subdirectory Setting” section and register your subdirectory name.

Go to your site’s Overview page and start WordPress.

You might notice that your new subdirectory is now applied to the URL of the WordPress administration screen.

For example your sites URL will now look something like

https: // {site_id} .app.getshifter.io: {port} / {subdir} /

Once you’ve made any desired updates to your site, generate a new artifact from your site’s Overview page on the Shifter Dashboard.  

The URL of your published site will now be formatted in a subdirectory structure.

For example


A few notes

  • This subdirectory function does not support the operation of multiple sites (such as multi-site). This is a function to operate a single site as a subdirectory.
  • The media file path embedded in the post reflects the path at the time the post was created and cannot be changed. If you need to change the file path of your media files, such as in a case where you would like to change the name of your subdirectory, please use a plugin such as Better Search Replace, or Search Replace to rename your media file paths.
  • If you are using the Shifter Media CDN, your file paths will not be affected.

    Please refer to our post about the Shifter Media CDN public beta to learn more.
  • Be sure to generate and deploy a new artifact to see changes reflected on your published site.
  • Please refer to our official support document for more details.

We continue to develop features and make improvements based on your feedback, so feel free to contact support at any time with any questions or concerns. 

Thanks for using Shifter!

Related Posts