All guides

Set up Selvio on Netlify with _redirects

Two proxy lines with a forced 200 status in the _redirects file of your published folder, then redeploy and check.

Where the rule goes

Put the lines in a file named _redirects, without extension, in the folder Netlify publishes (often public/ in the sources, copied to the build output). If the file exists, add them at the top.

The rule

For example.com, with the pages under /compare/. In the dashboard, the same rule is already filled in with your domain and path: copy it from there. If your pages exist in several languages, it has one more block per language (/fr/compare/…).

_redirects
/compare  https://pages.selvio.io/_h/example.com/compare/  200!
/compare/*  https://pages.selvio.io/_h/example.com/compare/:splat  200!

After

Commit, then redeploy. The file must be in the published output of the build, not only in the sources.

Check

Open https://example.com/compare/_selvio/proxy-check in a browser, or run this command. The address must answer 200 with this text: selvio-proxy example.com.

Terminal
curl -i https://example.com/compare/_selvio/proxy-check

Then click I deployed it, check in the dashboard: it reads the same address on your domain. The check works before anything is published.

Common pitfalls

The people leaving your competitor will read a page. Make it yours.

Enter your site: Selvio picks up your brand style, suggests your competitors and checks their prices.

Free, no credit card. Nothing goes live without you.