Blog Sections Open
Cleaning Up Ditto Pagination URLs by Removing ?start=0
A small but useful SEO cleanup for Ditto pagination: remove duplicate first-page URLs created by the ?start=0 parameter.
Ditto pagination often works well enough functionally while still producing an avoidable SEO mess. One common example is the first page being reachable both as the clean base URL and as the same URL with ?start=0.
That duplication is easy to overlook because the listing still renders correctly. But it creates needless alternate URLs for the same content.
Simple placeholder cleanup
$str = $modx->getPlaceholder('pages');
$modx->setPlaceholder('pages', str_replace('?start=0', '', $str));
$str = $modx->getPlaceholder('previous');
$modx->setPlaceholder('previous', str_replace('?start=0', '', $str));
Why this matters
- The first page keeps a single canonical URL.
- Pagination markup looks cleaner to users.
- You reduce duplication in crawlers and analytics.
It is a small fix, but these are exactly the details that make an Evolution CMS listing feel polished rather than merely functional.
Fixing eForm #LIST Validation Errors When a Select Field Is Filled by JavaScript
How to fix the eForm #LIST validation error that appears when a select field is populated dynamically with JavaScript.
Configuring Nginx Friendly URLs and 404 Handling for Evolution CMS
A practical Nginx configuration pattern for Evolution CMS friendly URLs and proper 404 routing.