In this Joomla Tutorials, i will be using Redirect Manger in Joomla 1.7. Joomla 1.7 includes a new component and plugin called Redirect. Its main function is to provide a mechanism to record 404 “not found” errors, and to give the Web site owner the ability to redirect those to another page if desired.
It can be of great help to your site SEO by allowing you to redirect old (invalid) URLs to new working ones. Without a redirection you will get a Web server 404 error – page not found which is bad for search engine ranking.
For the redirect manager to work in Joomla 1.7, you have to first login through the administrative panel of joomla by simply entering the yoursite.com/administrator in your browser.
Enter the username, password and leave the Language to Default, click on Login.
After logging in to the backend, a control panel page opens. The Control Panel provides access to many default Joomla! functions and features. From the Control Panel, you can create and manage articles and categories. Other features available in the Control Panel are the media, menu, language, and user managers.
NOTE: When using Redirect Manager, your URL must be SEO Friendly and Apache mod_rewrite option must be enabled.
For turning the SEO friendly URL and Apache mod_rewrite option enable. Navigate to Site -> Global Configuration as shown in Image 1.
Under Site tab -> SEO Settings section, Set Search Engine Friendly URL’s and Use URL rewriting options set to ‘Yes’ as shown in Image 2.
NOTE: Just enabling the ‘Use Apache mod_rewrite‘ option is not enough. You must take the additional step of renaming the htaccess.txt file in the web site directory where you installed Joomla to .htaccess.
Enabling The Plugin:
First, ensure that the Redirect plugin activated.
For this, In the top menu, locate the link – Extensions. Click on Extensions, from the drop down menu that appears click – Plug-in Manager as shown in Image 3.
The Plugin Manager page is displayed as shown in Image 4. Check to see that if the plugin is enabled or not. The green check mark points to the fact that plugin is still active while the red circle mark points that plugin is still in inactive mode. If it’s inactive, click the red icon to turn into green check mark.
Creating a Redirect:
Since the system redirect plug-in is enabled, the Joomla Redirect system will catch missing pages and redirect users.
To handle these missing pages, you can create a redirect.
In the top menu, locate the link – Components. Click on Components, from the drop down menu that appears click – Redirect as shown in Image 5.
The Redirect Manager screen displays. Click on New to create a new redirect URL for the page as shown in Image 6.
The data entry screen of Redirect Manager is displayed as shown in Image 6.
In the Source URL – enter the expired URL or which leads to 404 – page not found.
In the Destination URL – enter the new URL which leads to active page of website.
In the Comment – Optional field which might be helpful during redirect management.
NOTE: Ensure that you should specify the full source and destination URL such as http://your_site_com/full_url/.
Click on Save and Close as shown in Image 7, in order to save the group and close the edit screen.
You can either click on Save, in order to save the group and stay on the editable screen.
“Link successfully saved” message is displayed as shown in Image 8.
The redirect manager will now capture all requests to non- available pages and then redirect them to proper pages of the websites.
There are situations, when the site is continuously being worked on i.e An article, component or a page is removed whose URL was indexed by search engines and the new URL is still not indexed by search engines.
When the user searches for that page on the website after encountering its link in a Search Engine Results Page, it will encounter a 404 page ( page not found Web server error ) via your website.
The Redirect Manger will store all records of URLs which point to a 404 error page, along with a created date and time as shown in Diagram 11.
Note that the New URL field is still empty. It’s here you must update the Expired URL link to an active URL link.
Select the checkbox next to the Expired URL and in the Destination URL ( at the bottom of the form ) enter the correct URL of the active page of your website as shown in Image 10.
Click on Update Links to redirect the old URL to New URL.
The “One link has been updated” message is displayed as shown in Image 11.
NOTE: You can see the New URL fields are now populated and that the links are enabled. If you try those expired pages from the frontend again, you will be redirected to the new URL that just entered and no “404 page not found” error will be thrown by the web server.