Installation
Overview · Configuration · Usage · Developer notes · FAQ
Requirements
Section titled “Requirements”- 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 invar/kv_storage/kv_redirect_404_manager/. - Optional: a cron job, so the 404 log stays current on quiet stores.
Install
Section titled “Install”- 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. - Enter your license key on the License tab of the settings (see License). Without a key the add-on works for 14 days.
- 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.
Cron (optional)
Section titled “Cron (optional)”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.cronThe same run deletes 404 entries older than the retention period once a day.
Upgrading
Section titled “Upgrading”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).
Uninstalling
Section titled “Uninstalling”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.