Joomla SEO (Search Engine Optimization)
- SEF + suffix
- SEF + mod_rewrite
- SEF + mod_rewrite + suffix (recommended)
The difference among combinations above is the URL produced. If we don’t use SEO, the URL will be:
- For the SEF option, the URL will be:
The URL can be read easily than the URL without SEF. Notice that there is “index.php” in the URL. If we add suffix option, then in the end of the URL will be appended html extension like shown below:
Compare if we use Apache mod_rewrite, the result is shown below:
If we use mod_rewrite, URL will look nice and tidy without “index.php”. Html extension can be appended by choosing suffix option. The resultis shown below:
SEO Implementation in Joomla! 1.5
SEO Implementation in Joomla 1.5 is very easy.
- Login to Joomla back-end as super administrator.
- Choose menu Site > Global Configuration.
- In Global Configuration there are three tabs that are Site, System dan Server. In tab Site, look at the SEO Settings. Choose the combination as you need.
- Click Save or Apply.
Joomla! 1.5 SEO Settings
If you want to implement option number two (Use Apache mod_rewrite), the web server should be Apache and also the mod_rewrite module should keep active. After that rename htaccess.txt in the Joomla root directory to be .htaccess >
If you get error message while implementing SEO option number two, try to edit .htaccess file, find this line:
Add “#” character. So the line will be:
Restart your Apache web server.
Rename htaccess.txt to be .htaccess in Windows
In default Joomla 1.5 installation, there is a file named htaccess.txt. This file will be used useing Joomla SEO that is option Use Apache mod_rewrite. Before it can be used, this file should be renamed to .htaccess. In Linux OS, this case is not a big problem; because it allows creation this kind of file (file name is started with “dot” character). For Windows user this case is a problem, because Windows doesn’t allow creation this kind of file. If we force it, a warning will appear like shown below:
Error while renaming htaccess.txt to .htaccess
In order to rename htaccess.txt to .htaccess, we could do it through command prompt. Syntax:
We highly appreciate your valuable comments after reading this article. Also, if you have any issues in joomla you could email to email@example.com or Supporting Forum to get our assist.
The next article will discuss more about Site Management in Joomla.