This article illustrates the method of opening Sef in Joomla. Share to everyone for your reference, specific as follows:
The main purpose of using SEF (search engine friendly) Web site is to make content keyword appear in the URL, this is also often said that the SEO is an important content, for search engine, this can enhance the current page and the relationship between these keywords. Let's take a look at how to use the SEF URL in Joomla 1.5.
1. Install Joomla1.5
2. In Global Settings (global Configuration), set "search Engine friendly URLs" to "open (Yes)" To save the settings.
This is the most important SEO settings in Joomla system, so before we do the following steps, we first open it; now the URL of the site is made up of the title alias (alias) of the current page or article. If you do not set an alias for the current page or article, the URL uses the title of the page or article directly to form the URL (title).
If you encounter problems, you can try to modify the $live_site settings in the configuration.php file. If your Joomla is installed in the root path of the site (for example, public_html or htdocs), then you need to set the $live_site to "/" or "http://www.example.com" or "http://example.com". If the site is installed in a subpath, you need to set the $live_site to either the/subpath name or http://www.example.com/pathname or http://example.com/child pathname.
If the setting succeeds, then the URL should now be:
Http://www.example.com/index.php?option=com_content&view=article&id=19&Itemid=27
Into:
Http://www.example.com/index.php/joomla-overview
3. In the global setting, set the "Add Suffix for url (add suffix to URLs)" setting to "open (Yes)" To save the settings.
This is just a "formality" step--adding to the URL. html suffix, for example:
Http://www.example.com/index.php/joomla-overview
Into:
Http://www.example.com/index.php/joomla-overview.html
4. In the global setting, set the Mod_rewrite (use Apache mod_rewrite) with Apache to open (Yes) to save the settings.
Note that to make Apache mod_rewrite Normal, we need to rename the "Htaccess.txt" file in the site root directory to ". htaccess".
After successful opening, the following URL:
Http://www.example.com/index.php/joomla-overview.html
will be changed to:
Http://www.example.com/joomla-overview.html
One suggestion is to try to add aliases to all the pages and articles in your site, so that you can control SEF URLs more precisely; aliases try to use only numbers and letters, separated by hyphen "-" to avoid special symbols.
More about Joomla interested readers can view the site topics: "The introduction of YII framework and common skills summary", "PHP Excellent Development Framework Summary", "Smarty Template Primer Tutorial", "thinkphp Common Methods Summary", "PHP object-oriented Program Design Introductory Course" , PHP string (String) Usage summary, "PHP+MYSQL Database Operations Tutorial" and "PHP common database Operation Skills Summary"
I hope this article is helpful to everyone based on the Joomla program design.