Skip to content

Magento 2 Module Experius Page Not Found 404. This module saves all 404 url to a database table

Notifications You must be signed in to change notification settings

experius/Magento-2-Module-PageNotFound

Repository files navigation

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

 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

About

Magento 2 Module Experius Page Not Found 404. This module saves all 404 url to a database table

Resources

Stars

Watchers

Forks

Packages

No packages published