https://github.com/experius/Magento-2-Module-PageNotFound
Magento 2 Module Experius Page Not Found 404. This module saves all 404 url to a database table
https://github.com/experius/Magento-2-Module-PageNotFound
Last synced: 7 months ago
JSON representation
Magento 2 Module Experius Page Not Found 404. This module saves all 404 url to a database table
- Host: GitHub
- URL: https://github.com/experius/Magento-2-Module-PageNotFound
- Owner: experius
- Created: 2017-06-22T12:10:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-11-18T15:03:06.000Z (about 1 year ago)
- Last Synced: 2025-04-27T10:47:11.318Z (8 months ago)
- Language: PHP
- Size: 145 KB
- Stars: 37
- Watchers: 6
- Forks: 12
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-magento2 - PageNotFound - Saves upcoming 404 in your Database with (Open Source Extensions / Adminhtml / Backend)
README
# Magento 2 Module Experius Page Not Found 404
This module saves all 404 urls to a database table.
- Adds an admin grid with 404s
- Adds an admin config
- It includes a count so you can see which 404 urls needs your attention first.
- Allows you to configure a permanent redirect for the 404s found in the admin grid.
- Saves the last visited date
- Saves the storeview for easy filtering
Admin grid location: System > Tools > 404 Reports
Admin configuration location: Stores > Settings > Configuration > Advanced > 404 Reports
## Why should you use it?
1. Reports all 404s, not only the ones from Google.
2. Store owner can fix them by them
3. Import redirect list when migrating to M2.
## Installation
```bash
composer require experius/module-pagenotfound
```
## How to use the import csv function?
1. Create a csv called "pagenotfound.csv" with two two columns: from and to url (don't add column headers)
2. Add the full url including https:// (for both from and to url) to this csv
3. Use semicolon (";") as your separator
4. Upload csv on the Magento server (f.e. var/import folder)
5. Run the import file command including the url from the previous step
## cronjob
- Can be turned on and off in the admin configuration
- 404 reports with a redirect can be kept
- Even if it normally would've had been deleted
- Runs once per day
- Runs at 03:00 AM
## command
- Command to delete records
- Deletes records according to the config in the admin
- Parameter `--days` is available to overwrite the days in the admin configuration