Hidden secrets: MageBridge products module - Yireo

Example redirect with Dynamic404

To show the usage of Dynamic404, let's assume that we have an old URL "http://JOOMLA/old.html" which has been renamed to the URL "http://JOOMLA/new.html". Because of this, the old URL "old.html" throws a 404-error which we want to redirect to the new URL.

First, we need to make sure Dynamic404 is properly installed and that the "error.php" file is patched. Please refer to the installation-tutorial for completing these steps.

d404_params

By default, automatic redirection is not enabled. To enable this, browse within the Joomla! Administrator to Components > Dynamic404 > Setup and click on Parameters in the toolbar. Within the parameters, set the option Enable redirecting to Yes and save the parameters.

Creating a redirect rule

d404_example_oldnew1

Next, navigate to Components > Dynamic404 > Setup and click on New in the toolbar. Configure the redirect to have the following settings:

  • Match: old.html
  • Match Type: Match the full URL
  • Destination URL: new.html
  • Published: Yes

That's it.

d404_example_oldnew2

Created on Thursday, 29 October 2009
Modified on Sunday, 06 December 2009

About Yireo

Yireo tries to help webdevelopers build successful Joomla! and Magento sites.

More about Yireo