Blog · Answer ·
How to check your SO4AG file after a website redesign
Check that your live SO4AG file loads, passes validation, and still points to current website wording after a redesign or migration.
After a website redesign, open /so4ag.json at the root of your public domain and run the live file through the SOQVER validator. SO4AG is an open format for business facts. Follow each page address in the file to confirm that the page still supports the fact and that any quote matches the current wording. Update affected facts and references, publish the file, and repeat the checks.
Check the public file at the domain root
Open /so4ag.json on the public domain where you publish your source. The root means the file path goes directly after the domain name, even if your redesigned pages live under a folder such as /services/.
Use a private browser window so you can make the request without signing in to your site. The browser may display the JSON or download it. In either case, inspect what it received. A redesign can send requests for old paths to the home page or return a custom error page. The response can look successful in the browser while its contents are HTML. Check that you received the JSON file and that it contains the source you intended to deploy.
Validate the live source
Run the public file through the validator after deployment. Use the same public address you just opened so the check covers the version visitors and programs can retrieve.
- Copy the full address of the live
/so4ag.jsonfile. - Enter it in the public SO4AG validator and review the result.
- If the validator reports an error, fix the source, publish it again, and rerun the check against the live address.
Validation checks the source against the format. You still need to read the cited pages and see whether each statement supports the corresponding fact. If you also want a format check before deployment, follow the guide on validating a SO4AG file in CI before publishing, where CI means automated checks that run when you change the site.
Check each citation against the current page
Open every page address cited in the source and find the statement that supports the fact. Check the value and its conditions, such as the branch, customer type, or delivery method it applies to. If the source includes the exact words, compare them with the current page text.
Follow redirects and inspect where they land. A redirect can take you to a relevant page that covers several services, so look for the specific statement before counting the reference as current. When several facts cite one page, open the page once and check each fact against it.
An example is Example Dental at example-dental.example. Its source cites /appointments for a rule that new patients must book by phone. After a redesign, that address redirects to /contact, where the phone number appears. The booking rule now appears on /new-patients. The builder should cite /new-patients because that page states who must book by phone.
Update the references and recheck the published file
Replace old page addresses with the current addresses that contain the supporting statements. If the statement still means the same thing but its wording changed, update the exact quote wherever the source includes one.
If the new wording changes a value or condition, ask the business to confirm the change before publishing it. If the business no longer states the fact, record it as not stated. Check the fact’s last day too. A program treats the fact as history after that date.
Once you publish the changes, reopen the live JSON, rerun the validator, and follow the changed references from the published file. If your site also embeds the facts as JSON-LD, the structured data inside a page, check that it reflects the same updates. The guide to where SO4AG facts live explains how the page, file, and structured data fit together.
Common questions
Can I keep a reference that redirects?
A redirect can still lead to the supporting statement. When the destination is the page you intend to cite, use its current address so readers and programs can go straight there.
Do I need to add a quote to every fact?
The page address is required and the exact wording is optional. For a fact without a quote, read the page and check that it supports the value and conditions in the file.
Does moving a page extend the fact’s last day?
Moving a page changes the reference. Extending the last day requires confirming the fact again within the time allowed for that kind of fact.
Next step
Open your live /so4ag.json file and run it through the public SO4AG validator. Then follow the references to pages you moved or replaced and check them against the current wording.