• Home
  • Learn Joomla
    • Roadmap for New Users
    • Joomla Lingo
    • Joomla Installation
    • Joomla Administration
    • Joomla Documentation
    • Tutorials
  • How-to Videos
    • Index to Videos
    • Site Basics Videos
    • FAQ Videos
  • How Do I?
  • Links
    • Links Home
    • Template Sources
    • Sample Sites
    • General Joomla Sites
    • Official Joomla Sites
    • My Favorite Extensions
    • Joomla Documentation
    • Joomla Tutorial Sites
  • Site Showcase
  • Blog
  • Contact

How can I get easy to read page URLs?

PDF | Print | E-mail
 
This applies to Joomla 1.0.13 and 1.5
 
One thing that people often ask about in Joomla is "How do I get prettier page addresses?   This article looks at the basics of that in Joomla 1.0.13, and refers to the improvements in the "out of the box" Joomla installation in Joomla 1.5.

As you have noticed, the default Joomla page addresses can a bit "messy."  But actually, that is somewhat typical of a database driven website.

A default Joomla installation gives you page addresses that look like this:

ss_sef_1.gif

And, as a result, many people wish for "prettier" URLs (page addresses).  Sometimes they want them just so they look nicer, sometimes they want them so that Google and the other search engines will perhaps pick them up easier or rank them "higher,"  sometimes they are desirable so you can tell someone ... "Go to this page:  www.mysite.com/news and get the latest info.

And, in Joomla, this is called SEF ... "Search Engine Friendly" URLs / page addresses.    And, it helps with SEO ... "Search Engine Optimization."

So, how do you do that in Joomla?   There are several options.

First of all, Joomla has a pretty decent "SEF" function built into it.   To turn it on, you have to do 2 things.

First of all, you go to your "Global Configuration" screen.  The last tab on that screen is titled "SEO."   On that tab, you will turn the first option on (It is titled "Search Engine Friendly URLS") by setting it to "Yes."

ss_sef_2.gif

ss_sef_3.gif

Now, there is one more step.

On your webserver, in the "root" directory of  your Joomla installation, there is a file called "htaccess.txt."   You will need to change that name of that file from "htaccess.txt" to ".htaccess".  (notice the dot (.) at the beginning and no ".txt" at the end.

The .htaccess file is a file used by your webserver to turn on and off certain features that are done at the server level, and is used by Joomla to help make these "easy to read" page addresses.

Now, how do you rename that file?

Again, there are several ways to do this.

If you are using an FTP program, you can use that FTP program to log in to your account, go to the folder where your joomla site is located, and rename the htaccess.txt to .htaccess there.

ss_sef_4.gif

Or, you can user your hosting "control panel" or "cpanel."  There is usually some type of "file manager" there that let's you go in and work with the files in the various folders of your website.  You can use that to rename the file.

Or, there are even very nice "file managers" that you can install into Joomla itself to give you that capacity.  For example this one:

http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,102/Itemid,35/

Once you do that, you will have turned on Joomla's default SEO / SEF tools.   And that will get you a URL (page address) that looks like this:

http://www.yourwebsite.com/component/option,com_contact/task,view/contact_id,3/Itemid,37/

Hmmm.  Not bad, but still not great.   By the way, Joomla 1.5 improves this quite a bit and will give you an address of:

www.yourwebsite.com/index.php/john   or www.yourwebsite.com/john.

So, a number of people have written "extensions" to Joomla that significantly improve Joomla's ability to write easy to read URLs.  In fact, there is a whole section of the Joomla Extensions Directory (found at http://extensions.joomla.org) dedicated to this.

For example, look here:  http://extensions.joomla.org/component/option,com_mtree/task,listcats/cat_id,1803/Itemid,35/

There are a bunch of these listed here.  I've used sh404sef very successfully, while I've heard good reports of many of the others from other Joomla users.

Using  these "3rd party extensions" to Joomla will give you these very nice page addresses like this:

ss_sef_5.gif

Now, let me say one thing.  Setting up these SEF tools can be a bit tricky, and can be a bit frustrating, especially as a newbie.  But, work through the documentation, check the website of the developer, read their FAQ, and you'll get it.

But, don't let yourself get stuck at this point of developing your site.  Work on your site, work on the contents and structure, knowing that you add this a bit later down the road and it will make those page addresses look great!



 
New? Start Here ...
  • Roadmap for New Users
  • Joomla Basics
  • How Do I Do This?
  • Free Templates
  • Joomla Tutorial Sites
  • Find the Joomla Documentation
  • Templates & Design Issues
  • FAQ Videos
  • Joomla Books
Quick Access
  • What's New / What's Hot
  • Recent Good Stuff
  • John's Joomla Toolbox
  • Template Sources
  • Recommended Joomla Tutorials
  • John's Real Job
  • Site Feedback / Contact
  • Site Credits
Recent "Good Stuff"
  • How to use the expanded user profiles in Joomla 1.7
  • A new template from JoomlaShine and an update to their slide show
  • 2 simple plug-ins for administrator approval of new users
  • A new version of the free template JA Purity - Wow!
  • A very nice, "lite" administrative template
  • A very easy way to keep your Joomla install up to date
  • Add new power to your administrative control panel
  • A couple of great modules for your site
  • A Great Free Template from JoomlaShack: Optimus
Featured Articles
  • Joomla Lingo
  • Why Should I Use Joomla?
  • How do I change the footer text in a template?
  • What is the difference between a component, a module and a mambot / plugin ?
Joomla 1.5 Featured Articles
Top "How Do I?" Articles
  • How do I create a quick "logout" button for users?
  • How to change the Joomla date format
  • How do I "move" a Joomla website from one folder to another?
  • Where does Joomla keep the articles?
  • Changing the text of messages in Joomla
  • How do I put a picture in an article?
  • Module Installation for Dummies
  • Making GIMP look like Photoshop
  • How to I create a custom page for a user to see after they submit a "contact us" message
  • Set up a demo site that allows many people to use the same login
home | site map | contact

Welcome to Joomla is an interesting side project by John Muehleisen.  Who is this guy, anyway?

The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries.
WelcomeToJoomla.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.