Case study · Local SEO · Madrid

Local SEO Audit After Two Website Migrations: A Madrid Case Study

A Madrid-based locksmith business suspected that two domain migrations had damaged its visibility on Google. I investigated the possible causes, verified technical issues and developed a plan to strengthen its website and local search presence.

Locksmith services Madrid, Spain Audit and technical remediation

By Allan Danilo · September–November 2026 · Anonymised client project

Case overview

The client associated a decline in search visibility with two changes of domain. The audit confirmed issues affecting old URLs and internal links, while identifying opportunities across service-page architecture, Google Maps visibility and external references. The first implementation phase fixed and verified 138 permanent redirects and 44 internal links. The remaining recommendations were documented in a prioritised action plan; any recovery in organic rankings still needs to be measured.

Issue identified 82 Old HTML URLs returning 404 errors during the initial audit.
Verified fix 44/44 Outdated internal links corrected and checked.
Google Maps baseline 7/25 Grid points ranking in the top three for “cerrajeros madrid” (5 October 2026).

The starting point: a business that had lost visibility on Google

In September 2026, I started a local SEO audit for a locksmith business serving Madrid. Its owner described a clear concern: the company had previously enjoyed stronger visibility in Google Search, but seemed to have lost much of it after two domain migrations.

The owner suspected those migrations had also affected the Google Business Profile. That was a reasonable hypothesis to investigate, but the timing alone was not evidence of a direct causal link.

My task was to establish what had happened, identify unresolved issues and assess what would improve the business’s competitiveness. That meant looking beyond the website to its Google Maps presence and the local market.

The domain migration sequence
Domain AOriginal website and earlier visibility
Domain BFirst migration in 2025
Domain AMoved back in October 2025

Simplified diagram. The real domains have been omitted to protect client confidentiality.

An important principle guided the audit: the website and Google Business Profile should not be treated as two completely separate SEO projects.

Google Business Profile supports visibility on Google Maps and in local results. The website helps the business explain its services, address different search intents, establish topical relevance and develop its wider digital presence. These assets should work together without assuming that any single website change will automatically improve Maps rankings.

Google describes local ranking primarily in terms of relevance, distance and prominence. I therefore needed to assess not just the listing itself but how the business competed in Madrid and which legitimate signals could be strengthened on and off its website.

An audit that went beyond the Business Profile

I organised the investigation into several workstreams, combining historical data, technical crawls, search performance and local competitor research. The objective was not to produce a long list of errors, but to connect findings, test hypotheses and establish sensible priorities.

01 · HISTORY Reconstructing the migrations

I compared Search Console properties, estimated organic trends and URL paths across the two domains.

02 · WEBSITE Technical SEO and site architecture

I examined crawlability, HTTP responses, canonicals, content, service pages and internal link distribution.

03 · GOOGLE MAPS GBP and geographic visibility

I reviewed the profile setup and mapped rankings at different points across Madrid using GeoGrids.

04 · LOCAL MARKET Competitors and potential issues

I assessed competing profiles, location-based search results, commercial positioning and possible policy concerns.

05 · AUTHORITY Backlinks, citations and business entity

I evaluated external references, link quality, consistency of business details and relevant industry opportunities.

06 · STRATEGY Findings and priorities

I turned the evidence into a phased action plan with dependencies, objectives and ways to measure progress.

The resulting assessment distinguished confirmed problems, reasonable interpretations and questions that still required testing. This was essential to avoid attributing every visibility issue to one cause.

That integrated approach also shapes my local SEO consulting work, where I bring together website analysis, Google Business Profile, competitors and search opportunities to set priorities for each business.

Finding 1: the migrations had left measurable technical problems

Historical data indicated that some organic visibility had shifted between domains during the two migrations in 2025. The original domain regained impressions after the move back, but this did not mean it had recovered its earlier competitive position.

The clearest issue emerged when I checked URLs on the intermediate domain: 82 old HTML pages returned 404 errors, even though equivalent content existed on the current domain.

The live website also contained 44 internal links pointing to deep URLs on the previous domain. As a result, some internal navigation was still sending visitors to outdated paths that did not resolve correctly.

The issue was not simply that the domain had changed. It was that some old URLs had not been properly mapped to their current equivalents.

I also checked external references to old pages and built a URL mapping using historical Search Console records and crawl inventories.

The 82 URLs returning errors were not the full set of paths that needed attention. Reconciling the data sources revealed additional historical URLs requiring appropriate redirects.

My first recommendation was to finish the migration cleanup before making broad changes to the site architecture or content. This was a confirmed problem that could be fixed and verified objectively.

Finding 2: location pages dominated while service pages lacked prominence

One of the most commercially relevant findings had little to do with the migrations. It concerned how the site organised and prioritised its services.

The website had numerous pages targeting Madrid neighbourhoods, districts and surrounding towns. Many generated search visibility, so removing them wholesale would have been a poor recommendation.

However, Search Console and internal link analysis showed that individual service pages had much less prominence.

Organic impressions by page type
74 location pages 108,014 impressions
11 service pages 3,508 impressions

Source: Google Search Console, September–October 2026 architecture review. Bars show total impressions for each group, not average performance per URL. The groups differ in size and search intent.

This difference alone does not prove that the architecture was wrong: location and service queries can have very different levels of demand. But it was a reason to investigate whether the website was missing valuable commercial opportunities.

The full crawl added a second piece of evidence. Seventy-two location pages were linked from almost the entire site through global navigation. Meanwhile, the main services page contained only around 68 words and received very few internal links.

Several strategically important services also had underdeveloped pages or overlapped with other URLs and the homepage in the search intent they targeted.

What did I recommend?

Rather than create more location pages or remove existing ones, I recommended reshaping the architecture to give more visibility to the services customers could actually book.

  • Turn the services hub into a clear entry point to the full offer.
  • Strengthen internal links from the homepage and relevant supporting content.
  • Improve existing commercial pages, especially emergency door opening and metal shutters.
  • Develop pages covering maintenance for residential communities and lock-cylinder replacement.
  • Review potential overlap between pricing pages and other commercial search intents.
  • Create additional service pages only where genuine demand and a real offering justify them.

This finding illustrates an important part of a useful audit: not just identifying errors, but finding searches, services and commercial opportunities a website has not yet developed.

Google Business Profile: visible in Maps, but not consistently across Madrid

I then assessed how the business was actually ranking in Google Maps.

I used 5 × 5 GeoGrids with one-kilometre spacing, keeping settings consistent across measurements.

For the Spanish-language query “cerrajeros madrid”, the business appeared at all 25 measured points. On 5 October, however, it ranked in the top three at only seven of them.

How rankings changed across Madrid

“cerrajeros madrid” · Google Maps · 5 × 5 points, 1 km apart

1–3 4–5 6–15 16–20
How to read the findings

Present across the grid, but rankings varied widely.

25/25 Points with visibility
7/25 Points in the top 3
10.00 Average position

The business appeared at all 25 locations but reached the top three in only seven. The priority was to understand differences by location and query, rather than assume the listing had disappeared from Google Maps.

Source: actual measurement from 5 October 2026. This anonymised matrix reproduces the 25 original rankings; it is not an interactive map.

The query “cerrajero 24 horas madrid” also showed visibility at all 25 points, including six top-three positions. The query “apertura de puertas madrid” performed far worse, although the composition of its search results was also different.

These measurements refined the diagnosis. The business had not vanished from Maps: it was still competing for important searches, but performance varied considerably with location and user intent.

No directly comparable GeoGrids were available from before the migrations. These measurements therefore cannot quantify the earlier decline in GBP rankings or prove that the domain changes caused it.

Did the Business Profile need major changes?

The evidence did not justify rebuilding the Google Business Profile or making indiscriminate changes to categories, address or business description.

I did identify limited improvements: review references to the previous domain, clarify certain services and check specific operational details in the business setup.

The strategy combined improvements to relevance and digital presence with repeatable geographic tracking, without treating GBP optimisation as a guarantee of higher rankings.

This evidence-first approach is also central to my Google Business Profile consulting: understand the business, identify legitimate opportunities and prioritise changes that have a clear reason behind them.

Competitor research: understand the market, do not copy it

The audit also examined businesses ranking for important locksmith searches in Madrid.

I wanted to understand which competitors had greater visibility, how results changed by area and which strengths might contribute to their performance.

The data did not point to one universal formula for success.

Competitor patterns identified during the Madrid local SEO audit
Observed pattern What it meant for the audit
Strong geographic visibility, reputation and a website focused on services It was necessary to look at the wider business offering and multiple signals together.
Established business presence, professional references and developed commercial pages Opportunities to strengthen industry credibility, the brand and service coverage.
Businesses ranking with relatively few reviews or categories Review volume and the number of categories alone do not explain local rankings.
Significant variation between locations and queries Competitors must be assessed geographically and by intent, not from one ranking position.

In the main grids, no competitor held more than half of the top-three positions. Competitive strength depended on location, query and a combination of factors.

I therefore did not recommend copying the top-ranked competitor’s categories, chasing its review count or replicating its page structure.

The useful output was a clearer understanding of which services were better represented, where topical opportunities existed and which legitimate business signals could be strengthened.

Reviewing possible Google Maps spam

The research also surfaced listings warranting closer investigation, including some service-area businesses showing addresses associated with offices or shared workspaces.

Such concerns require factual checks against Google’s policies. A suspicious-looking address is not, by itself, proof of a violation.

Potential policy issues form a separate research track. I have documented that methodology in another Google Maps spam investigation case study.

Authority, backlinks and citations: more is not always better

The off-site audit added another perspective.

One Semrush export showed 2,086 backlink records from 374 referring domains for the current domain. A high proportion came from low-authority pages, and a single domain accounted for 1,344 records.

The intermediate domain still had external references as well, some pointing to old internal pages and others to its homepage.

Two conclusions followed. First, links to old URLs needed coherent redirect paths. Second, increasing raw backlink counts was not a sufficient strategy.

The audit found no evidence of widespread inconsistency in the business identity. There were occasional references to the old domain, but no reason to launch indiscriminate directory submissions.

I recommended correcting relevant citations, strengthening existing professional references and pursuing genuine relationships with suppliers, industry organisations and related businesses.

Consistent local business citations and a recognisable external presence support a more sustainable local SEO approach when developed alongside the website and Business Profile.

From diagnosis to implementation: the infrastructure finding that changed the plan

Once the audit was complete, the agreed first work package was to fix the technical problems left by the migrations.

Before updating redirects, I investigated the hosting setup, WordPress installations, server configuration and existing rules.

An important finding emerged: the two WordPress installations were stored in different directories but used the same database and table prefix.

Infrastructure finding: two installations, one database
Current WordPress

Files and installation for the live domain

Previous WordPress

Files and installation for the old domain

Shared database

Changes made through one installation could affect the other.

Simplified diagram. Identifiers and sensitive server configuration have been omitted.

This required additional care. An apparently limited change to the old installation could affect the live site.

Existing redirects from a plugin worked in the current domain’s environment but did not correctly handle deep paths on the previous domain. The two setups required a more targeted solution.

Rather than apply global URL replacements to the shared database or alter unverified settings, I chose a narrowly scoped intervention, saved the previous configuration and established checks and rollback steps.

Pilot first, full rollout second

I mapped old URLs to their live equivalents, checked target pages and selected one route for the initial tests.

The process was incremental: I tested a temporary 302 redirect, confirmed its destination, checked that other paths and resources still worked, then changed the pilot to a permanent 301.

Only after those checks passed did I extend the changes to the validated inventory.

The final solution added 138 specific rules: 137 for HTML paths and one for the technical sitemap. The old homepage already redirected correctly, so duplicating that rule was unnecessary.

This follows Google Search Central’s guidance on site moves, which recommends mapping old URLs to the right destinations, using appropriate permanent redirects and updating internal links.

Technical results: what was fixed and what was actually verified

After deploying the redirects, I ran a Screaming Frog crawl and compared the responses against the approved URL mapping.

Implemented and verified

138 permanent redirects

All 138 source URLs from the inventory were found. Each returned HTTP 301 and pointed to the intended destination in its Location header, with no duplicates or omissions.

Implemented and verified

44 internal links

Outdated links were corrected across five pages and subsequently verified to point straight to the live domain. One additional link to the old homepage was also corrected.

Verified sample

99 canonical tags

A sample of 99 indexable HTML pages responded correctly and declared self-referencing canonical tags. The sample did not cover every page on the site.

Checked in Search Console

Sitemaps accepted

The page and post sitemaps showed a “Success” status, with 84 and 60 discovered URLs respectively. These are not counts of indexed URLs.

These checks established that the redirects and internal links in the agreed inventory had been corrected. The post-implementation crawl of the 138 source URLs did not separately confirm an HTTP 200 response from every final destination. Those destinations had been checked beforehand, with subsequent sample checks, so the limits of the verification should remain clear.

A few minor technical checks remained for follow-up, including a graphic resource and the page-language attribute on other templates. The homepage already declared Spanish correctly.

Does this mean the business recovered its rankings?

No. It means relevant technical problems were fixed and verified. Changes in organic clicks, impressions, rankings and enquiries must be measured over comparable periods, without attributing every change to one intervention.

The wider audit outcome: a prioritised local SEO recovery and growth plan

The migration fixes were the first completed task, but the audit produced a much broader plan.

I set out which improvements to make, why they mattered, their dependencies and how to assess progress. That strategic work has value in its own right, regardless of whether the client commissions every recommended phase.

The roadmap included the following workstreams:

01
First phase implemented

Fix the outstanding migration issues

Complete redirects, update internal links, validate destinations and check technical consistency. This provides a reliable foundation for further work.

02
Strategic recommendation

Rebuild the services hub

Make the main services page a useful navigation hub, establish commercial priorities and strengthen contextual links from the homepage, articles and relevant local pages.

03
Strategic recommendation

Improve and extend commercial service pages

Resolve overlap among pricing-related searches, strengthen the residential-community maintenance offering, assess a lock-cylinder replacement landing page and improve door-opening and metal-shutter pages. Add further services only where demand and business priorities justify them.

04
Strategic recommendation

Review location pages selectively

Retain pages that generate visibility, identify potential overlap and trial improvements in small groups of locations before changing global navigation or removing content at scale.

05
Strategic recommendation

Make evidence-based GBP adjustments

Correct legacy information, clarify services and check operational and eligibility issues. Avoid changes to categories, address or content based solely on assumptions about the algorithm.

06
Strategic recommendation

Strengthen authority, citations and reputation

Update useful citations, recover valuable references where appropriate, develop authentic industry relationships and maintain a compliant process for requesting and replying to genuine reviews.

07
Monitoring plan

Measure progress and adjust priorities

Compare Search Console queries and landing pages, repeat GeoGrids with the same settings, monitor Business Profile metrics and track enquiries where reliable measurement is available. Log interventions to make changes easier to interpret.

The recommendation was not to do everything at once: fix confirmed issues, strengthen commercial pages and then work progressively on local competitiveness.

It also avoided questionable investments such as unnecessary location pages, buying links in bulk, rewriting content without a clear purpose or changing GBP settings repeatedly without evidence.

What this case study demonstrates about a local SEO audit

The work began with a visibility problem the client associated with two website migrations. The audit confirmed substantial technical issues, but also identified opportunities in architecture, service pages, Google Maps presence and external authority.

The first technical phase was implemented and documented. The wider plan shows how to build on that work to compete for commercially relevant searches and improve the business’s local digital presence.

There is an important difference between an audit that generates a list of issues and one that helps people make decisions.

My approach is to answer practical questions: what can we demonstrate, what remains a hypothesis, which opportunities are worth pursuing and which changes should come first?

The aim is not to make more changes to a website or Business Profile. It is to create an evidence-based local search strategy that helps a business compete and measure progress.

In this case, the website and Business Profile were investigated as connected parts of the same digital presence. The outcome was a documented diagnosis, verified technical remediation and a roadmap for future improvement.

Longer-term organic outcomes still require monitoring. That is why methodology matters: it establishes a reliable baseline and makes it possible to evaluate progress without turning a hypothesis into a promise.

Local SEO consulting

Has your business lost visibility on Google?

If a website migration went wrong, your business ranks inconsistently in Maps or you cannot identify what is holding back local visibility, I can investigate the evidence and establish a clear, prioritised plan. I also collaborate with agencies that need specialist GBP or local SEO support.

Discuss your project

You can also learn more about my approach on the local SEO overview.