May

10

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.

mod_rewrite

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

Comments

Name (required)

Email (required)

Website

Speak your mind

6 Comments so far

  1. Joomla Manually Setup Enable SEF URL | Joomla Digest on May 10, 2008 1:14 pm

    [...] Go to the author’s original blog: Joomla Manually Setup Enable SEF URL [...]

  2. Web Development on May 11, 2008 7:34 pm

    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 …

  3. clive on May 26, 2008 8:23 am

    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?

  4. admin on June 1, 2008 9:28 am

    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.

  5. Fede on September 6, 2008 11:26 am

    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….

  6. admin on September 6, 2008 10:21 pm

    Fede,

    did you transfer the htaccess file up there too? it’s hidden by default and many times we forgot to upload it.

Sponsors




Links