Difference between revisions of "Using Joomla Core SEF"

From JReviews Documentation
Jump to: navigation, search
Line 49: Line 49:
 
**click on <span style="color: red">[Click here for Advanced Options]</span> link to expand advanced options
 
**click on <span style="color: red">[Click here for Advanced Options]</span> link to expand advanced options
 
**this is the default Click2Search URL:
 
**this is the default Click2Search URL:
<source lang="php">index.php?option=com_jreviews&Itemid={ITEMID}&url=tag/{FIELDNAME}/{FIELDTEXT}/criteria:{CRITERIAID}/</source>
+
***<span style="color: blue">index.php?option=com_jreviews&Itemid={ITEMID}&url=tag/{FIELDNAME}/{FIELDTEXT}/criteria:{CRITERIAID}/</span>
 
**replace the {ITEMID} with an ID of one of JReviews menu items. Then the ''Title Alias'' of that menu item will be used instead of ''/component/jreviews/'' in the URL of this custom field
 
**replace the {ITEMID} with an ID of one of JReviews menu items. Then the ''Title Alias'' of that menu item will be used instead of ''/component/jreviews/'' in the URL of this custom field
 
**for example, I used the ID of the Products section and the Click2Search page of the Brand custom field has this SEF URL now:
 
**for example, I used the ID of the Products section and the Click2Search page of the Brand custom field has this SEF URL now:

Revision as of 18:26, 18 August 2010

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.

JoomlaCoreSEF.png

  • Next go to the root folder of your site and rename htaccess.txt file to .htaccess


URLs of Listings (Articles)

  • 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


URLs of JReviews Section/Category pages


URLs of JReviews Click2Search Pages (tags)