Joomla Method for enabling SEF, Joomla Method for enabling SEF
This example describes how to enable SEF in Joomla. We will share this with you for your reference. The details are as follows:
The main purpose of using the SEF (search engine friendly) URL is to make the content keyword appear in the URL, which is also an important part of SEO. for search engines, this will enhance the correlation between the current page and these keywords. Next let's take a look at how to use the sef url in Joomla 1.5.
1. Install Joomla1.5
2. In Global Configuration, set "Search Engine Friendly URLs" to "Yes" and save the settings.
This is the most important search engine optimization setting in the Joomla system. Therefore, before proceeding to the following steps, we should first enable it. Now, the website URL is composed of the title Alias (Alias) of the current page or article. If no alias is set for the current page or article, the URL directly uses the page or article Title to form the URL (Title ).
If you have any problems, try to modify the $ live_site settings in the configuration. php file. If your Joomla is installed in the site root path (for example, public_html or htdocs), you need to set $ live_site to '/', 'http://www.example.com', or 'http://example.com ". If the site is installed in the sub-path, you need to set $ live_site to "/sub-path name" or "http://www.example.com/sub-region name" or "http://example.com/sub-region name ".
If the setting is successful, the current URL should be:
Http://www.example.com/index.php? Option = com_content & view = article & id = 19 & Itemid = 27
Changed:
Http://www.example.com/index.php/joomla-overview
3. In Global settings, set "Add suffix to URLs" to "Yes" and save the settings.
This is just a sudden step in the form of adding a. html suffix for url. for example:
Http://www.example.com/index.php/joomla-overview
Changed:
Http://www.example.com/index.php/joomla-overview.html
4. In Global settings, set "Use Apache mod_rewrite (Use Apache mod_rewrite)" to "enable (Yes)" and save the settings.
To enable the mod_rewriteof apachenormally, rename the ". htaccess" file in the site root directory ".
After it is enabled successfully, the following URL is displayed:
Http://www.example.com/index.php/joomla-overview.html
Will be changed:
Http://www.example.com/joomla-overview.html
It is recommended that you add aliases for all pages and articles on your site, so that you can control the SEF website more accurately. aliases should only use numbers and letters, separate the hyphens (-) to avoid special symbols.