# Search Console audit — 2026-10-09

This is an observation and recommendation report, not a list of implemented
changes. The earlier trailing-slash fix is described in [public-seo.md](public-seo.md).
No Search Console indexing requests or validation actions were submitted during
this audit. No application or server configuration was changed.

## Scope and freshness

Source: the signed-in Google Search Console property `https://rollschool.pl/`,
including the indexing reports, URL inspections, sitemap status, overview,
manual actions and security issues. The indexing report was last updated on
2026-10-04: 392 indexed URLs and 272 excluded URLs. Current HTTP checks were
performed on 2026-10-09, so report entries can describe older behavior.
The user also supplied authorized access to OVH access and error logs for
2026-10-09 and the 2026-09-01 archive. Credentials and raw logs are excluded from
this document and the repository.

All listed examples were reviewed in the seven smaller exclusion categories.
The 158 alternate-canonical entries were assessed using representative examples
and the earlier canonical investigation, rather than inspecting every URL.
The 20 reported 404 URLs and 17 redirect URLs were checked through their current
HTTP redirect chains. All eight discovered URLs were checked individually.

## Indexing assessment

| Search Console category | URLs | Assessment and next action |
| --- | ---: | --- |
| Alternate page with proper canonical tag | 158 | Expected for URL variants and filters. Keep their preferred canonical targets. The new slash redirects reduce redundant variants; allow Google to recrawl. |
| Crawled, currently not indexed | 43 | 37 calendar-filter URLs have duplicate trailing slashes, one is another season filter, one is group 2432, and four are legacy PDFs. Filters do not need separate indexing. Assess the group and archival documents individually. |
| Excluded by noindex | 21 | Account, login, registration, private RollPoints and management URLs. Keep noindex. |
| Not found (404) | 20 | Mostly removed groups, old dated events and old documents. One clear missing legacy redirect exists for Skate Cross Series Poland. Other URLs need a content-specific decision. |
| Discovered, currently not indexed | 8 | All currently return 200, allow indexing, have self-canonicals and are in the sitemap. No current technical indexing block was found. |
| Page with redirect | 17 | All tested chains end at a working 200 page. Expected exclusion of the source URL. Some retired course URLs use 303 and an extra normalization hop; permanent 301 redirects are an optional cleanup where retirement is permanent. |
| Duplicate, Google chose different canonical | 3 | Separate instructor groups have almost identical content and identical metadata. Improve meaningful differentiation if each group should be indexed separately. |
| Server error (5xx) | 2 | Groups 2201 and 2249 currently return 200, but OVH logs confirm their historical Googlebot 503 responses coincided with the database user's connection limit being exceeded. The failure was also reproduced during this audit. Fix connection usage before treating this as resolved. |

The original alternate-canonical validation failed between 2026-08-31 and
2026-09-05. This does not establish that the preferred canonical pages are
unindexed: representative instructor canonical pages were confirmed indexed.
Expected alternates should not be forced into the index just to clear the report.

## Prioritized recommendations

### 1. Fix excessive database connection usage

The application now reuses one default PDO per request/CLI invocation. Shared
connection identity, atomic enrollment failures, actual shutdown processing and
36 complete local public responses have been verified. The implementation,
regression coverage and hosting-capacity checks are documented in
`docs/database-connections.md`. Historical Google failures still require
post-deployment log monitoring and Search Console verification.

The two historical 5xx examples are `/kalendarz/pokaz/2201/` and
`/kalendarz/pokaz/2249/`, last crawled on 2026-09-01. Both now return normal pages
with self-canonicals and `index, follow`. They are not in the current sitemap.
Their Search Console validation was already running during the audit.

The September 1 access log confirms that Googlebot received 503 for group 2249
at 12:37:55 and group 2201 at 12:37:57, local server time (+0200). Error-log
entries at these same times report PDO error 1203: the database user exceeded
`max_user_connections`. There were 18 Googlebot 503 responses around 12:37–12:38
and 20 database-limit errors that day. The 18 client IPs match Google's current
official Googlebot IP ranges; the finding does not rely only on user-agent text.

A sitemap availability check using six concurrent HTTP requests received 65
responses with status 200 and 218 with status 503. The 503 response rendered the
application's database-unavailable page and included `Retry-After: 60`.
The access log records audit curl failures between 22:30:04 and 22:31:02
Europe/Warsaw, across the initial and repeated sitemap checks.
A single homepage request at 22:32:14 returned 200, followed by a successful
single request to group 2432. Further bulk checks were stopped.

These observations establish a transient availability failure, not 218
permanently broken pages. Today's error log includes 32 PDO 1203 connection-limit
errors and 213 PDO 2002 errors reporting that the requested address could not be
assigned during the audit interval. A separate connection-refused error at
00:42:11 predates the audit. Today's access log attributes 243 of its 244 HTTP
503 responses to curl during the audit; the remaining one is the 00:42 request.
The audit itself exposed the weakness under concurrent requests. Do not portray
the whole burst as unrelated customer or Googlebot failures.

The connection limit explains the historical Googlebot failures. The precise
cause of today's additional PDO 2002 address-allocation errors still requires
hosting/database diagnostics. The model constructor opens a new PDO connection
unless a connection is explicitly injected. Its exception handler logs
`Database connection could not be established:` and returns 503.

Use a shared PDO connection within a request, preserving explicitly injected
connections and transaction semantics. Inspect constructors and public rendering
paths that instantiate many models. Confirm the hosting/database connection
limit and resource restrictions with OVH; an increased limit may help, but does
not replace reducing unnecessary connections. The inspected PDO options do not
enable persistent connections. Preserve that behavior unless a separate change
is deliberately designed and verified for this hosting environment.
Verify normal browsing, transaction behavior and a modest controlled concurrent
check after a fix, preferably on test before production.
Preserve a real 503 response during genuine outages; an error page with status
200 would hide the failure from monitoring and crawlers.

Two limit-error entries today also contain warnings that headers had already
been sent from the page header template. Opening additional model connections
after output begins can therefore prevent the intended status/header from being
sent. Resolve necessary data before rendering and test the outage response.

### 2. Add the missing legacy Skate Cross redirect

`/skate-cross-series-poland/` currently returns 404, while the equivalent current
page `/home/skate_cross_series_poland/` exists and is in the sitemap.
Add a permanent redirect for the old path, including its no-trailing-slash
variant, alongside the other legacy public redirects in `public_html/.htaccess`.
Verify the final page, query-string preservation and absence of loops.

### 3. Differentiate groups where separate indexing matters

URL Inspection reports these Google-selected canonical pairs:

| Reported group | Google-selected group | Shared schedule/location | Different instructors |
| --- | --- | --- | --- |
| 2394 | 2392 | Skate Cross, AvePark Włochy, Tuesday 18:00, 90 minutes | Michał Pytlak / Kuba Klyha (Szczurowski) |
| 2327 | 2328 | Skate Cross, UCSIR Hawajska, Saturday 09:00, 90 minutes | Michał Machowski / Filip Kalemba |
| 2315 | 2311 | Skate Cross, Arena Ursynów, Thursday 19:30, 60 minutes | Janek Świątek / Łukasz Błaszczyk |

Both sides of all pairs currently return 200. The reported groups declare their
own canonical. `Seo::forEvent()` currently includes only category and location
in the title and description, making each pair's metadata identical.

If every group is intended to appear independently in search, include useful
distinguishing information in central metadata and visible content: instructor,
weekday/time, season, and an accurate description of the group's actual offer.
Changing only a title does not guarantee that Google will separate the pages.
Do not redirect users to a different instructor merely to clear the report.
If separate search results for parallel groups are unnecessary, Google's
grouping may be acceptable while the main offer remains discoverable.

### 4. Review important active URLs individually

Group `/kalendarz/pokaz/2432/` currently returns 200, allows indexing and is in the
sitemap. URL Inspection still reports it crawled but not indexed, with the last
crawl on 2026-09-02. It has a referring link from `/kalendarz/`.

The eight discovered URLs are:

- `/instruktorzy/pokaz/18/`
- `/kalendarz/pokaz/2450/`, `/kalendarz/pokaz/2451/`, `/kalendarz/pokaz/2452/`
- `/lokalizacje/pokaz/15/`, `/lokalizacje/pokaz/18/`,
  `/lokalizacje/pokaz/56/`, `/lokalizacje/pokaz/65/`

All eight pass the current basic HTTP/canonical/robots checks and are in the
sitemap. Check that important pages have descriptive content and accessible
internal links. After availability and content issues are addressed, request
indexing for selected important URLs; indexing is not guaranteed by status 200
or sitemap inclusion. Do not request indexing for redundant filter variants.

### 5. Make deliberate decisions about old 404 content

The 20 examples comprise seven group URL variants, four dated legacy event
URLs, five legacy PDFs and four other old paths. Removed events and genuinely
unavailable content may correctly return 404. Do not redirect all missing URLs
to the homepage.

For PDFs, restore the exact archive when it remains useful or redirect only to
an equivalent replacement. Historical regulations must not silently redirect
to different current rules. The old article
`/rolki-3-kolowe-czy-4-kolowe-ktore-lepiej-wybrac/` is a possible content-restoration
project. `/sklep-rollschoollll/` could become an alias only if it is confirmed as
an intended former shop URL. `/zawody-rolkowe-szalone-rolki-` appears incomplete;
choose a replacement only after identifying the intended content.

### 6. Address additional application errors found in logs

The September 1 log contains fatal errors for the missing
`application/view/kalendarz/pokaz_specjalne.php` template. Matching access entries
include groups 689 and 691 returning HTTP 200 even though rendering failed.
The current controller still requires that absent file when `special_event` is
true. This is a remaining code defect, separate from the two reported Google
5xx examples. Decide how special events should render, implement that view or
use an appropriate supported view, and avoid sending a successful partial page
when rendering fails. Whether an active production event still exercises this
branch was not verified in this audit.

Today's error log also contains three warning entries in `Tagger.php:89` for a
null or missing instructor key. The current `getTagText()` implementation still
indexes the instructor array without checking the key. Handle unavailable
instructors safely and verify the affected data relationship. This is secondary
to the connection-limit issue and is not evidence that these warnings caused
Google's reported 5xx failures.

Historical missing rental-setting errors were also present on September 1.
They should be compared with current settings before scheduling a new change;
the old log alone does not establish that the configuration is still incomplete.

## Healthy signals and existing fixes

- Sitemap `/sitemap.xml`: Search Console reports success, last read 2026-10-07,
  and 283 discovered pages. Current XML contains 283 unique URLs, all using
  `https://rollschool.pl/` and exactly one trailing slash.
- The 65 successfully fetched sitemap pages had expected self-canonicals and
  indexing directives. The availability interruption prevents claiming a full
  successful 283-page crawl.
- The current `/instruktorzy` request returns 301 to `/instruktorzy/`, confirming
  the deployed normalization for that representative route. The committed
  normalization also handles redundant trailing slashes and fixes the calendar
  filter-link generator; see `public-seo.md` for its scope and tests.
- Core Web Vitals overview: 83 good URLs on mobile and 83 on desktop; zero poor
  or improvement-required URLs in the reported sample.
- HTTPS overview: 69 HTTPS URLs, zero non-HTTPS URLs in the reported sample.
- Breadcrumbs overview: 93 valid items, zero invalid items.
- Manual actions and security issues: neither report detects problems.

Individual URL inspections sometimes show a temporary sitemap-processing error
from their stored discovery data. The global sitemap report currently reports
success; those signals should not be treated as a current global sitemap failure.

## Interpretation sources

- [Google: Page indexing report](https://support.google.com/webmasters/answer/7440203)
- [Google: Troubleshoot canonicalization](https://developers.google.com/search/docs/crawling-indexing/canonicalization-troubleshooting)
- [Google: HTTP status codes and crawlers](https://developers.google.com/crawling/docs/troubleshooting/http-status-codes)
- [Google: Published Googlebot IP ranges](https://developers.google.com/static/search/apis/ipranges/googlebot.json)

Observed property counts and URL-specific findings come from Search Console
and the HTTP checks, not from these general documentation pages.

## Implementation follow-up

After this audit, the user authorized the legacy Skate Cross redirect, group
identity metadata, missing-instructor handling and retirement of special
events. These changes have been prepared locally and are documented in
`public-seo.md`. Retirement preserves historical records and management access;
it does not alter database activity flags. The database connection-limit work
remains outside that implementation scope at the user's request. Audit findings
above describe the observed state before this follow-up, not verified deployment
of the new changes.
The final detail view keeps the existing tags and schedule sections. An added
heading/summary was removed after review because it duplicated those facts.
