This article mainly introduces the method of Joomla open Sef, with Joomla1.5 analysis of the steps to open the SEF and related considerations, the need for friends can refer to the following
This paper describes the method of Joomla opening SEF. Share to everyone for your reference, as follows:
The main purpose of using the SEF (search engine friendly) URL is to make the keyword of the content appear in the URL, which is one of the most important aspects of SEO, for the search engine, this can enhance the current page and the relevance of these keywords. Let's take a look at how to use the SEF URL in Joomla 1.5.
1. Installing Joomla1.5
2. In global configuration, set "search engine friendly URLs" to "on (Yes)" To save the settings.
This is the most important search engine optimization settings in the Joomla system, so before we do the following steps, we will first turn it on; now, the URL of the site is made up of the current page or the title alias (alias) of the article. If you do not set an alias for the current page or article, the URL directly uses the title of the page or article to form the URL (title).
If you experience problems, you can try modifying 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 the $live_site to "/" or "http://www.example.com" or "http://example.com". If the site is installed in a subpath, you will need to set $live_site to "/subpath name" or "http://www.example.com/subpath name" or "http://example.com/subpath name".
If the setting is successful, 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 settings, set "Add suffix to URLs" for URL to "on (Yes)" To save the settings.
This is just a "formality" step--for URLs to add. The HTML suffix, for example, will:
Http://www.example.com/index.php/joomla-overview
Into:
Http://www.example.com/index.php/joomla-overview.html
4. In the global settings, set "Use Apache Mod_rewrite (using Apache mod_rewrite)" to "On (Yes)" To save the settings.
Note that in order for Apache Mod_rewrite to open properly, 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 an alias to all the pages and articles in your site, so that you can control the SEF URLs more precisely, using only numbers and letters, and separating them with the hyphen "-" to avoid special symbols.
The above is the whole content of this article, I hope that everyone's learning has helped, more relevant content please pay attention to topic.alibabacloud.com!