Your test site can beat your live site on Google. Residents can't tell
Fix guide · Search
API, login, data or pre-production URLs in the top 5 search results
A copy of a council site, built for testing, can sit at number one on Google for council tax or parking permits. It is rare, but residents can end up filling in forms that go nowhere. This guide shows how to spot it in minutes and shut it off for good.
3
of the 347 councils we checked in October had this problem on at least one page.
Source: UK council leaderboard, October 2026. Scored before the scoring fixes of October 2026. Compare only with months before November 2026.
Why it matters
Login and test pages are no use to the public. When Google shows them, people get lost or stuck.
What the problem is
A resident searches Google for how to pay their council tax. The first result looks exactly like your website, with the same logo, the same pages and the same forms. But it is a test or pre-production copy, not the live site. Nothing tells the resident. They may fill in a form, try to log in, or follow out-of-date information, then phone you when nothing happens.
The check also looks for other addresses that should never appear in Google:
- login pages for housing or account portals
- raw data files, such as the behind-the-scenes definition of an online form
- admin pages and test addresses that start with staging., test., uat. or pre.
The good news is that this is rare. Almost every council passes, and most types of council have no problem at all. Where it does happen, it tends to be in London boroughs, with the odd unitary council. When a test copy gets into Google, it often reaches the top result for several tasks at once: applying for council housing, applying for a school place, paying council tax, applying for a parking permit and checking bin collections. Report a road problem has also shown a form's data file in the top five.
Because it is rare, it is easy to forget. Test copies are most common around a redesign, a move to a new content management system or a change of form supplier. With local government reorganisation bringing new and merged council websites, many teams will run a pre-production site for months. That is when this check matters most.
Why it happens
Google indexes any page it can reach and is not told to ignore. A test site is not hidden just because nobody shared the address. The usual causes are:
- A full pre-production copy left open to the public. The most common pattern is a whole copy of the live site at an address starting pre. or staging., with no password. Google finds it and ranks it at number one, because it looks just as good as the real thing.
- Links that point to the test site. Content written or copied on the test site keeps full web addresses that point back to it. Once published on the live site, those links lead Google straight to the test copy.
- Form platforms exposing their workings. Some online form tools publish a sandbox or definition file, often ending in .json, that Google can read and rank.
- Portal login pages with nothing to stop indexing. Housing and account portals, often run by a supplier on their own address, have a login page that Google treats as a normal page.
- A robots.txt file used on its own. Blocking a site in robots.txt stops Google crawling it, but Google can still list the address if other sites link to it.
A quick check you can do now
Search for the task in Google. If you see a login or test address, ask your web team to hide it from search.
Read the whole guide free
Sign in with your email. It takes a minute. You get:
- how to find the gaps on your own pages
- how to fix them, step by step
- how to do it in Drupal and LocalGov Drupal
- councils that get this right, to copy
We send you the monthly newsletter too. You can stop it any time.
Council subscribers also get
Tests of your own pages every month, with a report for each one, so you can see the fix worked.
Stop it coming back. Start your story map at the Google result, and check each month that the right page is the one residents land on. Then add this fix to your improvement list and rank it with everything else. Read Step 4: How of the improvement plan.