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:
- Go to the Administration area of your Joomla site and Global Configuration (or in the menus, site >> Global Configuration).
- 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:
- 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).
- 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 your hosting control panel.
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.
Comments
We've added an even more detailed here that might help with troubleshooting :
www.ostraining.com/.../#3
we got three language with joomfish.
we can't search search second and third language.
any idea about these?
Thanks for the information.
For some reason I still have the category and id numbers in my URL and the 'Makeover' page has 'joomla-liscence'.
I will be expecting to hear back from you.
Thank you
We would love to get into a discussion with you on this. If you are a student at OSTraining.com, please log into the support forum (www.ostraining.com/.../) and post the question in there, so that one of our support techs can look into it for you. If you’re not a student, I hope you’ll consider becoming one, so that we can give you the attention you deserve. You can find out more about our online class at www.ostraining.com/online
Kind regards,
Nick
Sorry we missed your comment. If you ever need support in the future, www.ostraining.com/.../ is the place to go.
Kind regards,
Nick
RSS feed for comments to this post