logo wide 2000x350
It is common that over time, broken links will occur on your website. For example, if you move the location of a page from under one menu item to under another menu item, the link to the page may get broken. If you do not reset your broken pages to a custom article, here is what a typical broken link, called a 404 page will look like:

01

There is a link the the Home page, but the Red Warning looks pretty bad. Thankfully, there is a way to make sure that your viewers never see this ugly and scary page simply by installing a free Broken Link Redirection tool called ReDJ Manager. To get this free tool, go to the JED Site Management, URL Redirection.

Download the tool. Here is the direct link to this tool in the JED:
https://extensions.joomla.org/extensions/extension/site-management/url-redirection/redj


Click Download to get the latest version. Then upload it to your website. Then click on Components, ReDJ Manager.

02
Go to the Plugin Manager to enable the plug in. Then click Save and Close.

03


Before we set up this page, we need to create our custom Redirect page.


How to create a custom Redirect URL for any error with ReDJ
First create a Custom Error Page. Keep the title short and simple such as Broken Link Page so that the generated URL is short.

04

For the text on the Broken Link Page, type in something like the following:

Unfortunately, the article you are looking for has been moved to a different part of our website or a new updated website we created. The best way to find the article you want is to go to our Home page and click on one of the topics in our main menu. Hopefully, you will find the article you want in one of the sub menu items. If not, try a different topic. Thank you for visiting our website!

Exclude your Custom 404 Error Page from Search Engines

In the Article Manager > Edit Article screen, click on the Publishing tab. Then change Robots from Use Global to No Index, No Follow.
05
Then click Save and Close.

Create a Hidden Menu for our Broken Links Menu Item
We will place our Broken Links page in a hidden menu and then copy the URL. To create a new menu, go to Menus, Manage. Then click New. For title, call it Hidden Menu. For Type, type in hiddenmenu (no spaces all lower case). For Description, type in Hidden Menu.

06


Then click Save and Close. We will not add a module for this menu. Instead, go to Menus, Hidden Menu. Then create a menu item for the Broken Links page in the hidden menu.

07

Click Save. Then copy the link from the link box.

index.php?option=com_content&view=article&id=6


Click Save and Close. Then go to our Plugins Manager and open the ReDJ Plugin. Then paste the link in the plugin Redirect URL box.

Set Redirect any error to Yes. Then enable plug in. Then save and close. Now clear the browser cache, open a new browser window and type in a non-existent link such as mywebsite.com/badlink

Here is what our Broken Link page now looks like:

08


Using the Joomla Redirect System
Joomla also comes with a Redirect System. Go to Components > Redirects. Then click on Enable it in the Plugin Manager. Joomla will now collect any broken links and display the number of hits to each. Too many broken links to your site can harm your SEO and frustrate your visitors. Therefore if you have a serious broken link, create a specific redirect for it so that your visitors are taken to the new correct link rather than to our Broken Link page. Test this redirect in a new browser tab. Copy the bad URL and paste it into the address bar to make sure it goes to the correct page. Now that we have our redirection system set up, we will next add a free tool to create a site map for our website.