Home   >>   Section Blog   >>   New to Joomla!   >>   How do I set up Joomla's Search Engine Friendly (SEF) URL writing?
How do I set up Joomla's Search Engine Friendly (SEF) URL writing? PDF Print E-mail
Written by Mandville   
Sunday, 13 December 2009 17:24

So here is a very basic guide to getting it up and running!

1. Determine whether your server is running WINDOWS or LINUX (you can determine this by looking at Tools>System information in the Control Panel.  This is VITAL!

LINUX SERVERS:

1. Log into your admin control panel and go to Global Configuration
2. Navigate to the section with Search Engine Friendly URL's settings
3. Turn on SEF URL's, and turn on Use mod_rewrite (requires Apache)
4. Using an FTP client, find the file in the ROOT OF YOUR JOOMLA DIRECTORY (i.e. if it's installed in the root of your web server it'll be found in /public_html/htaccess.txt but if you installed Joomla into a folder named "myjoomlainstallation" it will be in /public_html/myjoomlainstallation/htaccess.txt)
5. Rename any existing file called ".htaccess" to ".htaccessold"
6. Rename your "htaccess.txt" file to ".htaccess"
7. Save your changes in the Admin control panel (you'll be promted to change the htaccess file as we just did)
8. Go to the homepage of your site (e.g. www.mydomain.com or www.mydomain.com/myjoomlainstallation) and check the links in your site are working OK.


Some potential areas where problems may occur:

1. Joomlafish - you will need a specific plugin for this, I would advise using SEF components such as Artio or sh404 with appropriate plugin
2. Cached pages - occasionally you may need to clear the cache (via the Admin control panel, global operations) if a page or link continues to appear or work incorrectly
3. Non-standard components, modules and plugins - they should work, but some do have "quirks" - generally best to contact the developers via their support mechanisms or use a SEF component with a plugin.


WINDOWS SERVERS:


1. Log into your admin control panel and go to Global Configuration
2. Navigate to the section with Search Engine Friendly URL's settings
3. Turn on SEF URL's, DO NOT USE MOD_REWRITE
4. Go to the homepage of your site (e.g. www.mydomain.com or www.mydomain.com/myjoomlainstallation) and check the links in your site are working OK.
5. Note, unless you use a url "prettifier", your URL's will have /index.php? in them.  Our suggestions? Use linux!

 

Add comment


Security code
Refresh

Latest Posts

You need to modify this file
components/com_k2/models/item.php Read More ...
Due to the summer holidays, the next meeting is scheduled for the end of August.. Dont forget to bring back send a postcard and bring back a stick of rock for everone! Read More ...
We usually get sent phish emails to see if they are legit but here is a  good one. the email came from 123Greetings.com <ecards@123greetings.com>with an attachment ecard.zip which is a classic trojan virus. Read More ...
I was recently asked via twitter {xtypo_quote}@mandville how do u cope with the volume @ joomla forums?{/xtypo_quote} Read More ...
We dont send emails like this Dear Webmail/E-mail user,

This message is from our Webmail Messaging Center to all our account
owners.We are currently upgrading our database and e-mail center. We are
deleting all unused webmail account to create more space for new accounts. Read More ...

The Joomla!(R) name is used under a limited license from Open Source Matters in the United States and other countries. Securehotel.org.uk is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.