Joomla Training
How to Enable Search Engine Friendly URLs

This week we'll walk you through how to enable Search Engine Friendly (SEF) URLs in Joomla.

This mystical feat requires no extensions!

Here's how you do it:

  1. Go to the Administration area of your Joomla site and Global Configuration (or in the menus, site >> Global Configuration).
  2. In the 'Site' settings, on the right you will see 'SEO Settings', click on the 'Yes' radio button to enable Search Engine Friendly URLs

That's it! You have just enabled SEF URLs for your site. However, if you would like to clean up the URLs even more, read on...

To shorten up the URLs ever more, follow the next steps:

  1. Select 'Yes' for the option to use Apache mod_rewrite *ONLY if you are on a server that uses Apache (which will most likely be the case, but if you're unsure check with your hosting company).
  2. Go to your joomla_root directory and locate the file named htaccess.txt and rename the file to .htaccess (notice the proceeding dot . ) This can be done either via FTP, or by following our newsletter on How to Manage Directory Files from Joomla Admin to access your joomla_root directory and the htaccess.txt file.

You should now have nice clean URLs that are human readable.

If you find that upon trying to visit links in your site's menus you are getting 404 errors, you can simply go back to your configuration area and set the 'Use Apache mod_rewrite' option to 'No', and rename your .htaccess back to htaccess.txt Your issue should clear up after.

Additionally, should you wish to add a suffix after your URL (.html for example), you may select the third option in the SEO Settings 'Add suffix to URLs'.

As always, if you need any help with this feel free to post in our forum for support if you are a member.

Would you like 100s more of these Joomla tutorials - the same used by Apple, Sun and IBM to learn Joomla?

Every day, people are building great websites with Joomla.
Joomla Training OnlineWith Open Source Training, they have access to online classes and support from the best teachers in the Joomla world.

Our professional teachers have created videos and tutorials for you that walk you step-by-step through everything you'll need to build wonderful Joomla websites. These are the same lessons we use to help clients like Apple, Sun, IBM, Hewlett-Packard and NASA.

What's In Your Joomla Training?

  Your Joomla Subscription [-]
Same-Day Support
Unlimited Joomla questions, all answered within 24 hours.
Beginner-level Class
8 hours of video tutorials introducing you to all the key Joomla concepts.
Template Design Class
A complete video class showing you how to build and modify Joomla templates.
Search Engine Class
45 detailed tutorials on optimizing your Joomla site for search engines.
New tutorials every week
New weekly step-by-step tutorials on topics suggested by members.
Bonus Templates
Two commercial Joomla templates, Bolt and Breeze
Intermediate-level Class
Due August 2010

47red

72red

47red

 

Comments  

 
#10 Mark 2010-03-16 07:37
Thank you so much for this. It worked a treat. Have been looking everywhere for the solution.
Quote
 
 
#9 kwf36 2010-03-15 22:44
9 links work and 2 links bring up the 404 warning...any ideas why these two are not working. they are located in the top menu.
Quote
 
 
#8 Steve Burge 2010-01-11 17:31
Hi Fog - who is your hosting company? Ask them if they have mod_rewrite enabled.
Quote
 
 
#7 fog 2010-01-11 17:06
When I change settings as suggested I can see the pages no errors but no images and no layout as well. Why?
Quote
 
 
#6 fog 2010-01-11 16:38
When I check the Search Engine Friendly URLs and Add suffix to URLs and i go to the site I see the text but no images or any of the design. Why?
Quote
 
 
#5 Babswood 2010-12-10 15:07
and check your htaccess file.
Quote
 
 
#4 Babswood 2010-12-10 15:06
Maybe try enabling Legacy mode
Also your ISP host may need to change the permissions.
Quote
 
 
#3 Hoffhausen 2010-11-12 03:22
Maybe try wait and let your webserver refresh for 60 mins or even 24 hours, helped me.
Quote
 
 
#2 constantin 2010-11-05 15:45
Same problem here. Any solutions?
Thanks.
Quote
 
 
#1 Liz 2010-10-06 16:48
When I try to do this I get a 404 error message viz
Not Found

The requested URL /home/philosophy was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Quote
 

Add comment


Security code
Refresh