Difference between revisions of "Using Joomla Core SEF"
From JReviews Documentation
Line 20: | Line 20: | ||
*with Joomla Core SEF it is not possible to remove articles ID numbers from URLs. To remove them, you need to use one of Joomla SEF extensions: [[Using sh404SEF with JReviews|sh404SEF]] or SEF Advance (only those two are supported by JReviews). | *with Joomla Core SEF it is not possible to remove articles ID numbers from URLs. To remove them, you need to use one of Joomla SEF extensions: [[Using sh404SEF with JReviews|sh404SEF]] or SEF Advance (only those two are supported by JReviews). | ||
− | * | + | *we recommended using Joomla's Core SEF to minimize possible performance impact of 3rd party SEF extensions. |
Line 27: | Line 27: | ||
*example of the default non-SEF URL: | *example of the default non-SEF URL: | ||
**http://example.com/index.php?option=com_jreviews&Itemid=6 | **http://example.com/index.php?option=com_jreviews&Itemid=6 | ||
− | *if you enabled Joomla Core SEF, the url should look like this: | + | *if you enabled Joomla Core SEF, the url should look like this (menu item title alias is used): |
**http://example.com/most-recent-listings | **http://example.com/most-recent-listings | ||
Line 42: | Line 42: | ||
**section url: http://example.com/directory/Products/products_s2_m5/ | **section url: http://example.com/directory/Products/products_s2_m5/ | ||
**category url: http://example.com/directory/Products//products/smartphones_c8_m5/ | **category url: http://example.com/directory/Products//products/smartphones_c8_m5/ | ||
− | *better URLs of sections and categories are possible only if you create JReviews Section List menu items for all your sections and JReviews Category List menu items for all your categories | + | *better URLs of sections and categories are possible only if you create JReviews Section List menu items for all your sections and JReviews Category List menu items for all your categories. Then all Section/Category URLs on any page would look like this: |
+ | **section url: http://example.com/directory/products | ||
+ | **category url: http://example.com/directory/products/smartphones | ||
Revision as of 19:05, 15 August 2010
Contents
Enabling Joomla Core SEF URLs
To make the URLs look nicer, you can enable Joomla core SEF:
- Go to Joomla Global Configuration, and on first tab set Search Engine Friendly URLs and Use Apache mod_rewrite to Yes. 'Add suffix to URLs' is optional.
- Next go to the root folder of your site and rename htaccess.txt file to .htaccess
URLs of Listings (Articles)
- example of the default non-SEF URL:
- if you enabled Joomla Core SEF, the url of that listing should look like:
- if you enabled Joomla Core SEF but your URLs have /component/content/ in URL like this:
- http://example.com/component/content/8-smartphones/9-samsung-i900-omnia that means that you haven't created the Required Joomla Menu Items
- with Joomla Core SEF it is not possible to remove articles ID numbers from URLs. To remove them, you need to use one of Joomla SEF extensions: sh404SEF or SEF Advance (only those two are supported by JReviews).
- we recommended using Joomla's Core SEF to minimize possible performance impact of 3rd party SEF extensions.
URLs of JReviews Menu Items
- example of the default non-SEF URL:
- if you enabled Joomla Core SEF, the url should look like this (menu item title alias is used):
URLs of JReviews Click2search Pages (tags)
- example of the default non-SEF URL:
- if you enabled Joomla Core SEF, the url should look like this:
URLs of JReviews Section/Category pages
- if you created only one JReviews menu item, for example Directory, the SEF URLs of Sections and Categories on that page would look like this:
- better URLs of sections and categories are possible only if you create JReviews Section List menu items for all your sections and JReviews Category List menu items for all your categories. Then all Section/Category URLs on any page would look like this:
- section url: http://example.com/directory/products
- category url: http://example.com/directory/products/smartphones