Skip to content

Installation

Overview · Configuration · Usage · Developer notes · FAQ

  • CS-Cart or CS-Cart Multi-Vendor 4.17.2 – 4.22.x, PHP 7.2.5 – 8.3.
  • The var/ directory must be writable (it always is on a working store): the add-on keeps a small buffer file in var/kv_storage/kv_redirect_404_manager/.
  • Optional: a cron job, so the 404 log stays current on quiet stores.
  1. In the admin panel go to Add-ons → Manage add-ons, click the + (Upload & install add-on) button and upload kv_redirect_404_manager-1.0.1.zip.
  2. Enter your license key on the License tab of the settings (see License). Without a key the add-on works for 14 days.
  3. Open Website → 404 & redirects. The 404 log starts filling with the next “Page not found” on your storefront.

The add-on starts with no rules and an empty log. Your existing core SEO redirects (Website → SEO → 301 redirects) keep working as before.

404s and rule hits are collected in a buffer file and written to the database at most once a minute, by the next request that hits a 404 or a redirect, and whenever you open the add-on’s pages. On a quiet store a cron job keeps the numbers current. Copy the command from the General tab of the settings and run it every 10 minutes:

*/10 * * * * php /home/yourstore/public_html/admin.php --dispatch=kv_redirect_404_manager.cron

The same run deletes 404 entries older than the retention period once a day.

Upload the new zip over the installed add-on in Add-ons → Manage add-ons (or install the Upgrade Center package). Settings, rules, hit counters and the 404 log are kept. On the next admin page the add-on completes the upgrade by itself (new tables, settings and texts are added).

Add-ons → Manage add-ons → 404 Monitor & Redirect Manager → Uninstall removes the add-on’s tables (all rules, hit counters and the 404 log), settings, texts and the buffer files. Export your rules as CSV first if you want to keep them. Core SEO redirects are not touched.