Portfolio / Domain recovery and corporate site
A compromised domain, a clean installation.
Kodexa builds the software that licensed operators in Colombia use to run, control and report on their operations: back office, results validation, pre-event test runs and a historical archive. Its buyers are operations, technology and compliance teams who vet a vendor before they ever call. The brief started as an audit of the home page and turned into something else: the WordPress behind kodexa.net had been compromised, was serving hidden links to third-party gambling sites, and Google was already describing the company as something it is not. The domain had to be cleaned, a site built that speaks like an infrastructure vendor, and the whole thing moved onto the client's own server without carrying over anything from the old installation.

01The brief
Auditing a home page, finding an intruder.
The original ask was narrow: review the kodexa.net home page before redesigning it. A few minutes into the audit, something outside the scope turned up. At the end of the HTML, right after the cookie banner, were ten blocks pushed tens of thousands of pixels off screen, with machine-generated text in four languages and followed links to eight third-party gambling domains. Nobody at Kodexa had seen them, because they cannot be seen: they exist only for crawlers.
For a company that sells technology to regulated operators, the damage went beyond rankings. The only indexed result for the domain described it as a platform for adults, not as a software vendor. Banks, technology partners and procurement committees check a vendor's domain before signing; a domain linked into that network is an onboarding problem, not a traffic problem.
The core decision was not to repair that installation but to replace it. While the injection was live, any content work would land on a penalisable domain, and migrating the existing WordPress to the new site would have carried the way in along with it. The new site was built separately, on staging, and reached the client's server as a verified package on a from-scratch install.
What it had to solve
- 01Get the injected links out of the index
- 02Stop Google misdescribing the brand
- 03A server that answers in under a second
- 04A site that speaks like a B2B vendor
- 05Real clients instead of adjectives
- 06A form and consent that actually work
- 07Migrate without carrying over the old install
- 08A server reachable only through a VPN
Our role
Technical and security audit, cleanup plan, the Signal visual direction, content architecture, development of the home page and the custom plugins, technical SEO and schema, consent, form integration, packaging and migration to the client's server.
02The starting point
What the domain measured before.
Audit of 9 September 2026 and an external check the same day. The automated performance audit did not even finish: the page took so long to paint that the tool gave up with no first contentful paint to measure. The server answered in 6.5 s during the audit and in 8.4 s a few hours later.
- 8.4 s
- Server response time, measured with curl
- 10
- Hidden blocks linking to 8 third-party domains
- 1
- Indexed page on the whole domain, described as something it is not
- 144
- Requests per load: 50 stylesheets and 49 scripts
03Diagnosis
Three signs it was not an accident.
One odd link in a footer can be a misconfigured plugin. Three patterns that cover for each other are an intrusion. The audit documented them before anything was touched, so the cleanup would go after the cause and not the symptom.
Links only robots can see.
Ten containers with `position: absolute` and offsets of up to 97,000 pixels, all together between bytes 78,452 and 80,283 of a 93 KB document, right after the cookie banner script. The pattern points to a late hook in the theme footer: a link farm, not a defacement.
Blind to exactly whoever would notice.
The file blocked the seven backlink-analysis crawlers — the ones that would spot the farm from outside — and let Google through. It also declared a fake sitemap that returned 200 with an empty `<urlset>`, while the legitimate sitemap still existed, undeclared.
Index junk submitted by the site itself.
Three versions of the home page: the real one, a noindexed “copia1” and an indexable “COPIA - COPIA” listed in the page sitemap. On top of that, 45 domains from a paid link network had been pointing at the domain since July; they surfaced when the backlink profile was cross-checked with DataforSEO.
04The decision
Why the existing site was not repaired.
Nothing from the old install crosses over.
Hand-cleaning a compromised WordPress always leaves one question open: did you find the way in, or only what came out of it? Without access to the old domain's server there was no way to answer that with certainty, and a vendor's site cannot rest on a “probably”.
So the new site inherited no files, plugins, users or database. The only thing copied from the old site was the current legal text, reviewed line by line. Everything else was written, designed and coded again, and on migration day Kodexa's team backed up and deleted the old installation before receiving the new one.
DiagnoseRebuildReplace
05The cleanup
Getting out of the index what never belonged there.
Replacing the installation removes the injection from the HTML, but not from the index: Google still remembers the URLs and links it has seen. The cleanup was designed so every legacy address gets the response it deserves, and so the domain stops vouching for links it never asked for.
robots.txt
Open to everyone, no fake sitemapkodexa-redirects
Rule-based 301s and 410sPattern
Demo dates and injected termsDisavow
45 domains rejectedSearch Console
Domain verified
- 01
An honest robots.txt
Three lines: block the admin, allow the AJAX endpoint, nothing else. Analysis crawlers are let back in, and the declared sitemap will be the one WordPress generates once indexing is opened.
- 02
410 for what must not come back
The old theme's demo posts — date-shaped URLs — their categories and tags, and any non-existent path containing a term from the injected list return 410, not 404: they tell the search engine the page is gone on purpose and is not coming back.
- 03
301 for what moved
The old theme's pages and the ones dropped from the menu jump once to their destination: Technology, Security and Compliance to the Platform modules; Industries to About; Insights to the Blog.
- 04
Rejecting the link network
A disavow file with 45 domains, built from DataforSEO Backlinks: the paid link network, the gambling sites and the junk directories. A legitimate agency and two nofollow measurement tools were deliberately left out.
- 05
Requesting removal of what is indexed
With the domain verified, the last step is asking Search Console to drop any spam URLs still in the index. It sits on the launch path, alongside switching indexing on.
Checked on 26 November 2026: a date-shaped path and a path with an injected term both return 410; /tecnologia/ returns 301 to /plataforma/#modulos.
06The Signal direction
Navy for reading, teal for evidence.
Body text, headlines and footer
- HEX
- #0C2340
- RGB
- 12 · 35 · 64
Background of the Signal bands
- HEX
- #071729
- RGB
- 7 · 23 · 41
Primary buttons and links: the only colour that asks for a click
- HEX
- #1257C4
- RGB
- 18 · 87 · 196
Labels, the active layer and the “in operation” state
- HEX
- #00857D
- RGB
- 0 · 133 · 125
Accent on the dark bands
- HEX
- #3ED6C6
- RGB
- 62 · 214 · 198
Alternating light bands
- HEX
- #F7F9FC
- RGB
- 247 · 249 · 252
Cards, tables and fields
- HEX
- #EEF2F7
- RGB
- 238 · 242 · 247
Only the logo, the signature rule and the reading progress bar
- HEX
- #E0121F
- RGB
- 224 · 18 · 31
07System
Two registers and an alternation rule.
The old site loaded five typefaces and six unrelated colour families. Signal was designed as a layer on top of the light system that already existed: reading happens on light surfaces, evidence — product at work, architecture, figures — on dark bands, and two dark bands never sit next to each other.
Instrument Sans and IBM Plex.
Instrument Sans for headlines, IBM Plex Sans for reading and IBM Plex Mono for technical labels and traces. All three are served from the site's own domain as woff2, about 80 KB in total, and the site makes zero requests to Google Fonts.
The gradient is identity, not decoration.
The logo is a red-to-violet gradient the original system prohibited. Rather than redesign the brand, it was given three uses and no more: the logo, a 2 px signature rule and the progress indicator. Red is never a button: on an infrastructure site, red is the colour of an error.
Two dark bands per home page.
The hero and the closing band are Signal by definition. Between them, the home page allows at most two dark bands, and an inner page only one. The new tokens live in an additive 3.3 KB file that redeclares none of the previous system's tokens.
08The site
The pages, exactly as the domain serves them.

What Kodexa is in one sentence and, beside it, where it sits: an operation travels down five layers, each lights up as it passes, and the Kodexa core stays lit. Pure CSS, staggered per layer.

“Kodexa is not an operator and does not serve end consumers.” The second section tackles head-on the confusion the hack had planted. Below it, the brands running on the platform, always on a light surface and with the ownership note.

Four modules in ARIA tabs and, for each, a trace that writes itself line by line: access control, validation, test cycle, archive. A note under the stage makes clear the traces are illustrative.

The pillar page repeats the operation path in the light register, with a sticky anchor index: what it does, benefits, modules, implementation and questions.

A page that did not exist: Baloto and ONJ, each with its products and the modules it uses. A third group of clients was held back until the commercial relationship is confirmed.

Five product videos re-encoded at 720p — from 20–38 MB down to 11–16 MB each — with a poster and `preload="none"`. Without interaction, the page downloads zero bytes of video.

The Doppler form embedded in the DOM, not an iframe, so it inherits the site's styles. Its fields are edited in Doppler, and they still carry an age checkbox and placeholder text that should go.

The real legal name and tax ID, taken from the company's data policy, and the sentence the search engine needed to read: not an operator, no services to end consumers.

A B2B link travels through LinkedIn and messaging apps. The old social image was portrait and got cropped; this one is 1200 × 630, generated server-side from the real logo, with the positioning line.
09Architecture
Six entries and no dead ends.
The audited home page was a 14,000-pixel dead end without a single internal link, on a domain with two real pages. The new architecture was discussed with the client and ended up flat at their call: less depth, every page one click away.
Home, Platform, Solutions, About, Clients, Blog.
Six entries and a “Talk to the team” button. The original proposal grouped them into three dropdowns; at the review meeting on 7 October the client preferred the flat menu, and the site was reorganised around it.
Seven pages, seven 301s.
Technology, Security and Compliance were folded into the Platform modules; the three per-team solution pages into anchors on Solutions; Industries into About. None was deleted: they stayed as drafts and each URL jumps to its new home.
Clients, Thank-you and a templated blog.
Clients, for the proof the old site padded with adjectives. A noindexed thank-you page as the form's destination. And a coded blog — listing, categories, search, pagination and an empty state — with an article template and schema, ready for the first post.
10Motion
Every animation explains something.
The system's rule was that motion explains a relationship between two states or it goes. Everything scroll-linked lives in CSS, the custom JavaScript registers not a single scroll listener, and with reduced motion the site is complete and still.
`animation-timeline`, with a net underneath.
Section entrances, parallax and the progress bar use `animation-timeline: view()` and `scroll()`. Where the browser lacks support, an IntersectionObserver handles the entrance; where the user asked for reduced motion, there is no entrance at all: the content is simply there.
One memorable moment per page.
On the home page it is the tour: tabs with managed focus and a monospace trace that types out and loops, with an amber warning line where it belongs. One finding from that review: a spacing step that did not exist resolved to zero and left the boxes with no breathing room.
Assigned on entry, paused on exit.
The client's product video loops silently, and its file is only assigned when it scrolls into view; off screen it pauses. With reduced motion it does not autoplay: it shows the poster and hands over the controls.
11On the phone
The same system at 390 pixels.

The headline and both actions fit in the first viewport; the layer panel drops below.

The tabs stack and the trace keeps its monospace setting without overflowing.

Each module with its feature list and a full-width video, with a poster and native controls.

Consent in the corner, without blocking the page: accept, necessary only or configure, with equal visual weight.
12Technical SEO
A graph that says what Kodexa is.
The search problem was not about keywords but about identity: Google had misclassified the entity. SEO was written as a 572-line custom plugin, with no third-party SEO plugin, so every signal states the same thing — a B2B software vendor with a legal name, an address and products — and nothing else.
Neutral titles and one canonical.
Title, description, canonical, Open Graph and social card written for each page, in the language of “regulated operations”. The search strategy is to widen the vocabulary gradually once indexing opens, and to roll back any change that coincides with a drop.
Organization with legal name and tax ID.
Organization with legal name, tax ID, a Bogotá address and a contact point; WebSite with SearchAction; WebPage, AboutPage or ContactPage depending on the page; and BreadcrumbList on every inner page.
Software, videos and questions.
SoftwareApplication for the platform, one VideoObject per product video, FAQPage read from the visible accordion — the JSON-LD answer is the same one the user reads — and Blog with BlogPosting for whatever gets published.
13Form and consent
A notice that does what it says.
The audit found a sales form with no accessible labels and no link to the data policy, and ad pixels that kept firing after “Reject all”. Consent was written from scratch; the form moved to Doppler, wired to the client's sales list and automation.
Doppler, embedded in the DOM.
The form published in Doppler feeds a list and an automation and redirects to /gracias/. It is embedded as markup rather than an iframe, which takes no CSS, so it looks like the rest of the site. Fields, copy and destination are edited in Doppler without touching WordPress: labelled fields and the policy link are there; the inherited age checkbox has not been removed yet.
Consent Mode v2, denied by default.
A discreet notice in the bottom corner that does not block browsing, with accept, necessary only and per-category settings. Measurement or advertising scripts are declared as `type="text/plain"` with their category and only run with permission.
The real policy, at the same URL.
The company's data processing policy, compliant with Colombia's Law 1581, was moved to the address it already had. The cookie policy was rewritten: “by continuing to browse you accept” is gone, because that is not consent.
14The migration
One package, one hash, one VPN.
The site was built on a Hostinger staging server, driven from the terminal with Novamira CLI. Production was a different world: the client's own nginx server, reachable only through the corporate VPN. The migration was designed so exactly what was approved would arrive, and so that could be proven.
Staging
Hostinger · Novamira CLIbuild.py
Exports and packagesmd5
Per file and per packageFortiClient
Corporate VPNClean WordPress
Fresh database
- 01
Build it as code
Eight custom plugins — SEO, blog, consent, redirects, the Doppler connector and form, UI and home page — and a `build.py` that generates the Elementor content from versionable sources, not from clicks in the editor.
- 02
Package and fingerprint
A 0.19 MB plugin holding the whole site and a 66 MB media package. The script compares every file's md5 with the source server's and aborts on any mismatch; the manifest also stores the md5 of the full package.
- 03
Delete before installing
Kodexa's team backed up the old installation, removed it completely and installed WordPress from scratch with a fresh database. Nothing inherited stayed on the server.
- 04
Install through the tunnel
The work was done on 3 and 4 November 2026 over FortiClient, so the server was never exposed. The package was installed, hashes were checked at the destination and addresses were switched to the final domain.
- 05
Review in place
Desktop, tablet and mobile on the real server, before opening public access. The site was then published at www.kodexa.net, with the apex redirecting via 301.
No CI/CD: the deployment is a reproducible, verifiable package, not a pipeline. That is what a server reachable only through a VPN allows.
15The result
What the domain measures today.
Measured with curl against www.kodexa.net on 26 November 2026, six requests in a row. The first, cold, took 2.3 s; the next five, between 0.44 and 0.50 s. Full load performance with Lighthouse: not yet measured in production.
- 0.45 s
- Warm server response, against 8.4 s before
- 0
- Links to the injected domains in the home page HTML
- 410
- Response for any legacy path containing an injected term
- 5
- Product videos, with zero bytes downloaded without interaction
16Status
What is done and what is left.
The site has been migrated to the client's server and answers at www.kodexa.net on a clean installation. The injection is gone from the HTML, legacy URLs return 410 or 301 as appropriate, the server responds in under half a second when warm, and the structured data describes a software company, with its legal name.
What is left is, above all, opening the door. The site is still set to noindex, nofollow on purpose, which is why the WordPress sitemap returns 404: it switches on with indexing. There is no analytics installed, no llms.txt, and the blog has yet to get its first post. The form is embedded, but the end-to-end test submission — contact landing in the list, automation firing — is still pending.
And there is declared debt. The Elementor menu brings jQuery and more than twenty stylesheets, so the system's JavaScript budget — 40 KB, no jQuery — is not met: a product decision in favour of keeping the editor's navigation. The logo exists only as a PNG, the photography is CC0 stock, and the site has no version control.
Launch path
- 01Test submission and verified automation
- 02Remove the age checkbox from the form
- 03Switch indexing on and declare the sitemap
- 04Request spam URL removal in Search Console
- 05Analytics loaded only with consent
- 06Publish an llms.txt and the first post
- 07Measure Lighthouse in production
- 08Track indexing and crawling for 30 days
What this case does not claim
There are no traffic, lead or ranking figures, because the site is not indexed yet and has no analytics. The “24/7” support shown on the home page comes from the old site and the client has not confirmed it, so this case does not repeat it. The module traces are illustrative, and the site says so.
Keep exploring
A domain that says who you are again.
Compromised sites, B2B vendors whose tender hinges on the first search, migrations to servers you do not control: diagnose first, then rebuild, and finally prove that what was approved is what arrived.
Tell us about your project