The overwritten homepage nobody could explain

A small law firm's website manager logged in one morning to find the homepage reverted to an old version from months earlier, with a staff bio for someone who'd left the firm. Nobody could say who made the change or when, because the site was managed by connecting to the server over FTP and uploading files directly; there was no record of who changed what, no way to see a difference between versions, and no way to undo the mistake except by manually re-uploading the correct files from whatever backup someone happened to have saved locally.

What a git-based deploy actually replaces

In a git-based workflow, the website's files live in a version-controlled repository rather than existing only on the live server. Every change is committed with an author, a timestamp, and a description of what changed. Deploying is pushing a commit, which triggers an automated process that copies the updated files to the server. The server is never the single source of truth; the repository is, and the server is just wherever the repository's current state happens to be published.

How the automated part works

The mechanism that connects a repository to a live server is typically a continuous-integration and deployment pipeline: when new code is pushed to the designated branch, an automated job runs, optionally executes tests or validation checks, and then transfers the approved files to the hosting server, commonly over secure FTP for shared hosting environments. This removes the manual step of remembering which files changed and uploading exactly those, which is itself a common source of partial, inconsistent deployments where some files update and others don't.

  1. Set up a git repository containing the site's files, with a clear main branch representing what should be live
  2. Configure a deploy pipeline that watches that branch and triggers on every push
  3. Store server credentials as encrypted secrets in the pipeline configuration, never in the repository itself
  4. Have the pipeline transfer only changed files where possible, and log the outcome of each deploy
  5. Add a basic smoke test after deploy, a simple check that key pages return a successful response, so a broken deploy is caught immediately rather than discovered by a visitor.
If you can't say exactly what changed on your site last week, you do not have a deploy process; you have a series of accidents.

Where this pays off most

The benefit scales with how often a site changes and how many people touch it. A single-page brochure site that's edited twice a year gets less from this than a site with an active blog, seasonal pricing updates, and multiple contributors, which describes most active businesses across NetWebMedia's service niches, from tourism operators updating seasonal packages to law firms publishing regular content. The underlying discipline, where every change is tracked and every deploy is reversible, is the same infrastructure NetWebMedia uses across its own portfolio of properties, all of which ship through version-controlled deploy pipelines rather than manual file transfers.

For a business evaluating whether its current site management process has this kind of gap, the practical test is simple: try to answer exactly what changed on the site in the last month, and who made each change. If that's hard to answer, the workflow is worth revisiting; see https://netwebmedia.com/services.html for how this fits into ongoing site management.

See who Google and AI recommend instead of you

Enter your website and get a free check of what Google and AI actually read about your business — and who they point people to instead. No call, no account: the report renders right on the page.

Run my free check →

Rather have it done for you? In the AEO Fix Sprint we implement your report's fixes on your site in 5 business days →

Share this article

X (Twitter) LinkedIn Facebook WhatsApp

Comments

Leave a comment

← Back to all articles