Main Menu
Home
Downloads
Guides
Related Sites
Tag Bubble
means editor warning directly windows rename joomlastats choosing opensef hosting right bookmarks record template install modules login installer google link using bookmark change manager secure cloud database logged webhost component

Joomla Modul

Configuring 'Search engine friendly URLs' for your Joomla site PDF E-mail
Sunday, 13 April 2008

Configuring 'Search engine friendly URLs' for your Joomla site

When you install a new Joomla site and put some content on there, you will notice that when you browse through the site, the URL in the top of your browser becomes a string of letters and numbers that don't mean anything to you, OR TO GOOGLE. There is a way to automatically have the URL reflect the subject of the page, this is called search engine friendly URLs.

There is a built in function for SEF URLs in Joomla, but it is extremely limited and will not do much to truly optimise your site. I recommend using Jooma OpenSEF, a free component with a ton of options for optimising your URL structure. You can download it here :

OpenSEF for Joomla

Then you can install it as any other Joomla component. You can follow our guide here 'Guide to installing new components, modules, mambots and templates in Joomla '.

After installation, it is not yet activacted. Follow these steps to activate it with the default configuration (sufficient for most sites). You must follow all these steps carefully, or you might disable functionality of your site.

1.    First download this file : htaccess.txt (right click / save as) 

2.    Connect using FTP to your site, and upload the HTACCESS.TXT file.

3.    Now rename the file HTACCESS.TXT to .HTACCESS.TXT (note the leading dot). In some FTP clients, the file will now disappear. Do not be alarmed, you have just made the file hidden.

4.    Go to your Site / Global configuration and on the last tab called SEO, select SEF URLs.

5.    Go to components / OpenSEF / Configuration. Now you can safely activate OpenSEF by choosing yes at 'Activate OpenSEF

6.    As a final step, I recommend enabling the option 'Fetch Updates and Addons List' as well. This will enable OpenSEF to remind you of software updates. Software updates for 3rd party components like these are important for the security of your site.

Now OpenSEF should be enabled and you can test it by browsing your site. Like your pretty URLs ? So does Google.

TROUBLESHOOTING TIPS :

- I cannot see the HTACCESS.TXT after renaming it (making it hidden).

This procedure differs per FTP client, but in general there should be an option (under 'options ?') to show hidden files. For a guide on various FTP clients, go to this document : Guide to FTP and Joomla

- Help, my site gives a HTTP 500 / 50x / 5xx error !! What now ?

Something is wrong inside your HTACCESS.TXT. I've tried to create a general file which should work for most setups. Remove the file and in the administrator panel, under Global configuration, remember to disable it there as well. Then everything should be back to normal. I suggest you request support from your webhost in implementing the HTACCESS.TXT file.

- I get nice URLs everywhere, except in components like Remository download area, or a forum component

OpenSEF has support for many other components as well. You just need to enable support for it in the configuration. Go to Components / OpenSEF / Configuration / Components, and tick the box for 'alias' next to the component.

Any questions, leave your comments here.

Comments
Search
Mel   |121.218.185.xxx |2008-06-29 02:56:00
Thanks for this, it was great. Just one problem, when I go in to configure
openSEF, I click on the save changes I get the message Bad Request
Your browser
sent a request that this server could not understand.
Any ideas on how to fix
this? I have un installed and then installed.

Thanks
Only registered users can write comments!

3.20 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

Last Updated ( Sunday, 11 May 2008 )
 
< Prev   Next >