May
10
Joomla Manually Setup Enable SEF URL
May 10, 2008 |
If you use Joomla! to develop website and know all the reasons to use SEF URL (Search Engine Friendly URL), then you must know that Joomla! has an option for you at the admin panel that allows you to check on three little radio buttons to enable this great function. That’s a perfect situation, but sometimes shit happens, and by following the instructions, you may get error messages like: JFTP::mkdir: Bad response, JFTP::chmod: Bad response, you tried chmod 777, but we all know it’s useless. So instead of trusting the three little buttons (which you can only end up in frustration), let’s on some homework by enabling it manually.
Before we make any changes, let’s make sure you got mod_rewrite enabled on your server first:
a) Type <?php phpinfo(); ?> in a php file and save it and run that file in the server.
b) And now you can the list of information, just search the word “mod_rewrite” from the browser’s search menu
c) If it is found under the “Loaded Modules” section then this module is already loaded as you see in the picture below, otherwise you need to go to the next step for enabling mod_rewrite module.
![]() |
If you have mod_rewite installed, then go ahead and read the rest of the article, if you can’t find mod_write, contact your server host to enable it before any attempts.
1. No matter what kind of error messages Joomla! gives you, keep the three Joomla! SEO buttons enabled.
2. First if you have access to the server that hosts your website, connect to the sever, and at the root of your Joomla! installation, download the configuration.php file.
3. Open it up with any text editor you have, you may find something like the following lines:
var $sef = '0'; var $sef_rewrite = '0'; var $sef_suffix = '0';
Change the lines above to:
var $sef = '1'; var $sef_rewrite = '1'; var $sef_suffix = '1';
4. If your Joomla! installation is not at the base of the domain directory (for instance: if your website domain is at www.example.com, but you install joomla! website at www.example.com/en/), then you need to download your htaccess file and add a line like the one below:
RewriteBase /en
change en to the directory name of your own.
5. Upload the .htaccess file, remember if it’s htaccess.txt, change it to .htaccess.
Hope this helps!
Similar Posts
- Install and Run Joomla on Ubuntu
- Make Joomla localhost Email Work
- Proper Way to Use Joomla getNumRows
- Joomla add Custom User Groups
- Remove Mootools From Joomla Header
- Joomla PDF Display Problem in IE7 Fix
- Joomla Retrieve Admin Password
- Joomla Loads Position Module within Content
- Joomla - Link Excerpt Article Title to Full Article
- Joomla! - Make Latest News Module Display Date
- Joomla - Use loadObjectList and foreach to get list
- Way to use Joomla loadAssoc
Comments
7 Comments so far




















[...] Go to the author’s original blog: Joomla Manually Setup Enable SEF URL [...]
Hubs of Joomla Manually Setup Enable SEF URL…
hubs about Web Development to If you use Joomla! to develop website and know all the reasons to use SEF URL (Search Engine Friendly URL), then you must know that Joomla! has an option for you at the admin panel that allows you to check on three little …
i have followed the instructions and all is working well; but i do not want the page extention to be .html i would rather it be .php
where can i edit to reflect tha change in my site?
Hi clive, I think it takes time to figure out how to make urls display that way, because you need to change both htaccess and hack deeply into Joomla source code.
Hi. Anybody can help me: I switched on the buttom on my localhost, and SEO works, but then when I trasfer everything online, it does not work, and the link goes always on the homepage….I tried also this post of yours here but it goes blank….
Fede,
did you transfer the htaccess file up there too? it’s hidden by default and many times we forgot to upload it.
sA4hnU bnnLst19hdY6llAd3fg6