Vercel
Use this page when the site is built and deployed with Vercel.
What you paste
Section titled “What you paste”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.
Where it goes
Section titled “Where it goes”- Open the project’s code in your editor or on GitHub.
- Find
vercel.jsonat the top of the project. Create it if it doesn’t exist. - Paste the JSON. If
vercel.jsonalready hasrewritesorheaders, merge the two new entries into the existingrewritesarray and keep every rewrite you already have. - Commit and push. Vercel redeploys on its own.
- 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.
Verify
Section titled “Verify”Back in the app, click I added it. Check now. See Verify the connection for what each result means.