admin
Karma: 0
|
SEO in Mambo - 2009/05/15 05:26
SEO stands for Search Engine Optimization. Sometimes the alternative term SEF is used - Seach Engine Friendly.
Standard Mambo provides a reasonably advanced SEO mechanism for improving links from version 4.6. Standard links have strings like index.php?option=com_content&task=view&id=5. These can be transformed into something like /mos/view/FAQs/Mambo-and-Security/How-do-I-secure-my-Mambo-site/ which is much more readable, and probably has benefits in relation to search engines.
There are two parts to activating the Mambo SEO facility. One is to alter the configuration by turning on SEO. This is done by going to the administrator side, selecting global configuration, SEO tab, and clicking on the Yes button against Search Engine Friendly URLs. At the same time, the file htaccess.txt in the CMS root directory must be renamed as .htaccess.
Note that the Mambo SEO mechanism relies on Apache URL rewriting. It is important for this to be available and working.
Completing the first stage will simplify links, but not substitute strings for numbers, in the way described above. Doing this requires extra processing, specific to individual applications (components). Each application needs a file called sef_ext.php. The file is placed in the component's directory, for example ../components/com_content.
There are some sef_ext.php files in the downloads section here for major Mambo applications. Others may be available elsewhere. Generally, sef_ext.php files are the responsibility of the respective developers of applications.
|