308: Using the Redirect Manager in Joomla 3.1
Joomla 3.0 includes a component named Redirect Manager. The Redirect Manager helps you identify URLs that your visitors are accessing that don't actually exist, pages that return a 404 not found status.
Know your 404 pages
It is important to eliminate 404 pages for several reasons, two of them being:
- Usability - You may have visitors trying to reach a popular page of yours that either has been deleted or moved, and you have the potential of losing readers if they can't find what it is they're looking for.
- Search Engine Optimization - Search engines expect for websites to move pages around or delete them. Having an excessive number of these types of pages however may cause some search engines to penalize your site.
How to Redirect pages with the Redirect Manager
The Redirect manager in Joomla 3.0 allows you to see what URLs users are accessing on your site that don't exist. For example, on our Joomla 3.0 website, the following URL does not exist: http://domain.com/this-page/does-not/exist
When we access that page, the Redirect Manager will log the for us the fact that someone visited that URL and got a 404 page. It will also give us the ability to automatically redirect users that visit that URL to another page, such as /index.php/7-my-first-blog-post. In this tutorial, we'll show you how to do just that.
To redirect a page with the Joomla 3.0 Redirect Manager:
- Log into your Joomla 3.0 Admin Dashboard
- In the top menu, click Components and then click Redirect
- On this page you will see a list of bad URLs that Joomla has logged for you. Click the URL that you would like to setup a redirect for.
- There are a few things you can input for this redirect, but we will enter only the essentials, the Destination URL and Status.
Enter here the URL to be redirected to.
In our testing, we entered http://domain.com/index.php/7-my-first-blog-post as the destination URL.
Set publication status.
Change status from Disabled to Enabled.
After entering the full URL to redirect to and updating the status, click Save in the top left of the page.
Now you can test your new redirect! In our testing, when we go to:
...we are automatically redirected to:
‹Section 31: 309: Joomla 3.1 Messaging Tutorial
›Section 33: 307: Why is Joomla 3.1 not showing a custom error page?
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!
2014-04-04 7:25 pm
Everytime I click on the logo of my website, I get this:
The requested URL (address) was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.Apache Server at www.xxxxxxx.xx Port 80 What can I do to fix this? Cause I think the abovementioned explanation is not relevant for this problem, or is it?
2014-04-04 7:37 pm
Thanks for the question. Generally, if you're getting a 404, you should double-check to make sure that the file is actually there and if the path being used to reference that file is correct. The article above is used for re-directs when you have a path change that is required because a Joomla page has been replaced or changed so that the previous URL is no longer available or valid. In this case, since it appears to be a graphic, then you most likely will not need to create a re-direct. You should check to make sure that the path and file are good. Remember also that the file and path name is case sensitive on InMotion Hosting servers.
I hope that helps to resolve your issue! If you require further assistance, then please provide more specific information so that we can continue investigating the problem.
2014-06-09 11:05 am
The problem I have found with using the redirect manager is that at the end of the day, you've got 10 pages of URLs that you've then got to delete. Is there any way around this?
2014-06-09 1:34 pm
Thank you for your question. I recommend taking a look at the URL's to see if you can determine the origin, or nature of them. You could also review the apache logs for a specific referrer or user agents.
For example, if you are being crawled by bots, it can generate a lot of bad URL's. Adding a robots.txt file could block bots that are causing the issue.
If it is too much of a problem, you could also disable the redirect manager.
If you have any further questions, feel free to post them below.
2014-06-09 3:13 pm
That there is no way that I am searching through each URL, It will take me a month of Sundays, it generates over 1000 in just a few hours. I have disabled it now, I just can't be doing with it, it's far too much trouble.
Thanks for the advice though, I will look for something else that I can use to redirect URLs after I have restructured my menu