Chette Soriano
home . about . contact me
Chette Soriano *
chette home
Enabling search engine friendly URLs | Print |  E-mail
Written by Chette Soriano   
Sunday, 02 January 2005

Note: This was written for Mambo 4.5.1a Stable

Mambo has a special feature to make your URLs Search Engine Friendly (or SEF). This means that your URLs can be converted to a format that is recognized by most search engine spiders, giving your website a higher placement in search results.

An explanation

Website packages such as Mambo generate your website dynamically. Because of this, these websites usually have URLs containing certain special characters, such as ?, =, and &.

For example, the About section of chette.com used to have the following URL:

http://www.chette.com/main/component/
option,com_frontpage/Itemid,1/index.php?
option=com_content&task=view&
id=23&Itemid=48

Some search engines do not recognize URLs containing these special characters. This prevents some search engine spiders from indexing the other sections of your website, which may give your website a lower ranking in search results.

This website has SEF enabled, thus the About section has this URL:

http://www.chette.com/main/content/view/23/48/

URL screenshot of chette.com

Because search engine placement is important to a majority of web owners, the SEF feature of Mambo is usually activated.

SEF requirements

In order to use Mambo’s SEF feature, your server must meet all of the following requirements:

  • It must be running on Apache
  • It must have mod_rewrite enabled
  • It must allow .htaccess override

When in doubt, as your host provider if your server fulfills the above requirements.

Enabling SEF

Note: It is highly recommended that you make a backup of your files before doing any modification.

  1. Download your configuration.php file from website’s server, and save this on your computer.
      
    Open this downladed file in your favorite text editor.
      
    Now look for the line where $mosConfig_sef appears, and change the value to 1 (the default value is 0).
      
    Don’t change anything else, not even the quotation marks. The line should look like this: $mosConfig_sef= "1"

    Screenshot in editing text
      
    Upload configuration.php back to your server, overwriting the old one.
      
  2. Login to your server once again, and look for the file htaccess.txt in your Mambo main directory. Rename this file to .htaccess
      
    Please don’t forget to include the period (.) before “htaccess”
      
    Note: Most FTP clients nowadays allow for the renaming of files by simply right clicking the file, and selecting rename.
      
  3. Login to your administration panel (/Mambo/administrator/).

    Mambo Admin Panel
      
    Go to Site > SEO. Verify that Search Engine Friendly URLs is set to Yes.
      
  4. Test your website. Check if the URLs are already search engine friendly.
      
    If you encounter any errors, a good resource is the Mambo's support community. Don't forget to do a search first before posting a new thread.
Trackback(0)
Comments (4)add comment

iulian said:

Cool seo/sef example go here,static pages were created with Xaneon Extensions.
October 22, 2005

Dennis said:

Two handy tips from you, - add module and SEF. Well prented and easy to follow. Thanks.
Perhaps my only addition is that configuration.php permissions need to be set to writable to make CEO changes. Then they need to be changed back when finished.
Great stuff! Thanks again.
NewsHound
April 06, 2006

gladys said:

Thanks for this. It really helped.
May 15, 2006

Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
smile
wink
laugh
grin
angry
sad
shocked
cool
tongue
kiss
cry
smaller | bigger

busy
 
< Prev   Next >
* *
Main Menu
chette's articles
photo gallery
photos on the go
.........................
bookmarks
search
about
faq
contact me
Subscribe
About Me
chette

Name: Chette Soriano
Location: Pasig City, Philippines
Quote: The Internet: Where men are men, women are men, and children are FBI agents.

www.flickr.com
This is a Flickr badge showing photos in a set called photos on the go. Make your own badge here.
Latest Articles
*

© Copyright 1997 - 2007 Chette Soriano. All rights reserved. Contact me.

* *