Skip to content

Vercel

Use this page when the site is built and deployed with Vercel.

Two rewrites in vercel.json. The app shows them under Setup → Connect your website with the values filled in; copy them with Copy setup snippet. The shape is:

{
"rewrites": [
{
"source": "/work",
"destination": "https://proxy.simplifylocal.app/<business-id>/work"
},
{
"source": "/work/:path*",
"destination": "https://proxy.simplifylocal.app/<business-id>/work/:path*"
}
]
}

<business-id> is filled in by the app. Do not type it by hand.

Keep both entries. The first covers the bare /work address; the second covers everything under it.

  1. Open the project’s code in your editor or on GitHub.
  2. Find vercel.json at the top of the project. Create it if it doesn’t exist.
  3. Paste the JSON. If vercel.json already has rewrites or headers, merge the two new entries into the existing rewrites array and keep every rewrite you already have.
  4. Commit and push. Vercel redeploys on its own.
  5. Wait for the deploy to finish.

Do not add a rewrite for /_next/*. On a Next.js site that would intercept the site’s own bundles.

Back in the app, click I added it. Check now. See Verify the connection for what each result means.