oo

Tracking 404 URLs

With the Redirection application, you can view and manage site requests leading to 404 errors. While enabled, Liferay catalogs each error, so you can assess the cause of the errors and quickly resolve any issues. These URLs are preserved in your database according to your Redirection configurations.

You can view and manage 404 URLs.

important

For Liferay 7.4+, 404 tracking is disabled by default. To use this feature, you must first enable 404 tracking. This enables both 404 tracking and the 404 URLs tab in the Redirection application.

Viewing 404 URLs

You can filter cataloged requests by both type and date. When filtering by type, you can choose to display Active, Ignored, or All 404 URLs. When filtering by date, you can determine whether to view all URLs, or only those that have been requested within the last day, week, or month. You can also order cataloged requests by their modified date or number of requests.

By default, this page displays all active URLs by number in descending order.

You can filter and order cataloged 404 URLs.

Ignore/Unignore 404 URLs

Define a URL as active or ignored by clicking its Actions button (Actions button) and selecting Ignore/Unignore. When ignored, the URL is hidden in the default Active view, though you can change its status at any time.

You can determine whether a URL is active or ignored.

Creating Redirects for 404 URLs

Create an alias redirect for a 404 URL by clicking its Actions button (Actions button) and selecting Create Redirect. This shows a form with the source URL pre-filled with the selected 404. Finish filling out the form and click Create to save the new redirect.

Create redirects for 404 URLs.

Configuring 404 Settings

You can configure how long 404 URLs are retained between requests, the maximum number of 404 URLs stored in your database, and the interval between 404 URL checks.

  1. Open the Global Menu (Global Menu), click the Control Panel tab, and go to System SettingsPagesRedirection under Virtual Instance Scope.

By default, the 404 URL Maximum Age is set to 30 days, the Maximum Number of 404 URLs is set to 1000 entries, and the system checks for 404 URLs every 24 hours.

Determine how long and how many 404 URLs are retained

Enabling 404 Tracking

Available 7.4+

  1. Open the Global Menu (Global Menu), click the Control Panel tab, and go to System SettingsPagesRedirection.

    Check Enabled and click Save.

  2. Check Enabled.

  3. Click Update.

Once enabled, you can access the 404 URL management tab in the Redirection application.

important

Enabling or disabling the application does not affect data stored in the database. If disabled, you can reenable the feature to access your data at any time.

Capability:
Feature: