OrtSoft

Redirects and custom headers for your sites

November 22, 2026

Sites published on OrtSoft Hosting now read two optional files: _redirects and _headers. They use the same simple format many developers already know, so you can move an existing site without rewriting its rules.

_redirects

/old-page      /new-page
/blog/*        /posts/:splat   302
/app/*         /index.html     200

Each line has the old path, the new one and an optional status code. 200 shows another page without changing the address, which is what single-page apps need. Rewrites always stay inside your own site.

_headers

/assets/*
  Cache-Control: public, max-age=31536000

Write a path and, under it, the headers to add. Headers that could break your pages or affect other sites are ignored.

Both files go next to your index.html and take effect on your next deployment. The Help Center has every option.