On this page8
Part of the TFI PHP App. By Mohammad Javad Dastouri, full-stack and AI engineer.
Search problems usually start when what Google reads and what the visitor sees drift apart. In this platform, both come from the same rows.
At a glance
- Structured data
- Built from typed rows
- Canonical addresses
- Made in one place in the code
- Canonical audit
- Daily, over the public address
- Title limits
- 20 to 60 display units, advised
- Missing pages
- A real 404
- Structured data
- Built from typed rows
- Canonical addresses
- Made in one place in the code
- Canonical audit
- Daily, over the public address
- Title limits
- 20 to 60 display units, advised
- Missing pages
- A real 404
The decision
- Context
- A wrong canonical address quietly splits a page's ranking, and nothing on the page looks broken.
- Decision
- One place in the code makes every canonical, from the same rows that build the page.
- Not chosen
- Tags set per template, or an SEO plugin. Each is one more source that can disagree with the page.
- Cost
- Every new kind of page has to go through that one place, and an audit engine had to be built.
- Result
- A daily audit fetches each address as a crawler would, and explains why each canonical is what it is.
- Context
- A wrong canonical address quietly splits a page's ranking, and nothing on the page looks broken.
- Decision
- One place in the code makes every canonical, from the same rows that build the page.
- Not chosen
- Tags set per template, or an SEO plugin. Each is one more source that can disagree with the page.
- Cost
- Every new kind of page has to go through that one place, and an audit engine had to be built.
- Result
- A daily audit fetches each address as a crawler would, and explains why each canonical is what it is.
One source for every signal
Titles, descriptions, sitemaps and JSON-LD, the structured data search engines read, come from the database rows that build the page. The structured data follows what the page actually prints, so a block a visitor cannot see is not claimed to Google.
Nothing is invented to fill a field. Reviews and prices appear only when they are real and approved.
A dedicated canonical engine
A canonical address tells Google which version of a page counts. Small mistakes here quietly split a page's ranking, so I built an engine to find them.
Inventory
The sitemap, old addresses, and letter-case, slash and www variants.
Probe
Every address is fetched over the public address, as a crawler would.
Rules
One catalogue of problems, with a severity, the reason and the fix.
Trail
For any page, it explains why the canonical is what it is.
Inventory
The sitemap, old addresses, and letter-case, slash and www variants.
Probe
Every address is fetched over the public address, as a crawler would.
Rules
One catalogue of problems, with a severity, the reason and the fix.
Trail
For any page, it explains why the canonical is what it is.
A run that finds no pages stops and says why. It never reports "healthy" on nothing.
Addresses that do not move
Every WordPress address is kept in an address book, byte for byte. An old path that must change gets one direct redirect, never a chain.
Across languages
Each language version has its own canonical and the full set of hreflang links, and the sitemap lists each version with its own date.
Available to other tools
The same audit is available through the API, so an automated workflow can read the results or start a run.
Need someone who treats search as engineering?
Tell me about the role, or see how releases are proved.
- Section
- Web platforms and migration
- Updated
- November 9, 2026
- Reading time
- 2 min read
Hiring for this kind of work?
Tell me about the role and I will reply by email.
Discuss a role with me
