Difference between revisions of "Using Joomla Core SEF"

From JReviews Documentation
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
__TOC__
 
 
 
== Enabling Joomla Core SEF URLs ==
 
== Enabling Joomla Core SEF URLs ==
  
To make the URLs look nicer, you can enable Joomla core SEF:
+
To make the URLs look nicer, you should enable Joomla core SEF:
*Go to Joomla Global Configuration, and on first tab set '''Search Engine Friendly URLs''' and '''Use Url rewriting''' to '''Yes'''.  
+
*go to Joomla Global Configuration, and on first tab set '''Search Engine Friendly URLs''' and '''Use Url rewriting''' to '''Yes'''.  
 
+
*leave '''Add suffix to URLs''' disabled.  
* Make sure to leave '''Add suffix to URLs''' disabled.  
+
  
 
[[File:seo-settings.png]]
 
[[File:seo-settings.png]]
  
*Next go to the root folder of your site and rename '''htaccess.txt''' file to '''.htaccess'''
+
*go to the root folder of your site and rename '''htaccess.txt''' file to '''.htaccess''' if you don't already have the .htacess file. This is required for URLs to work when '''Use URL rewriting''' is enabled.
 
+
 
+
== URLs of Listings (Articles) ==
+
For the perfect url structure of listings (articles) it is necessary to create Joomla Category menu items. Read [[Creating Required Joomla Menu Items]].
+
 
+
 
+
 
+
== URLs of JReviews Category pages ==
+
If you use the [[Using JReviews SEF Plugin|JReviews SEF Plugin]], JReviews category pages will use the URLs generated by [[Creating Required  Joomla Menu Items|Joomla Category menu items]].
+
 
+
Without the JReviews SEF Plugin, JReviews will generate long category URLs with ID numbers and the only way to improve the URLs of categories is to  create additional JReviews Category LIst menu items. Choose "List pages" as the type of the JReviews menu item and in the menu parameters select "Category List".
+
 
+
 
+
 
+
== URLs of JReviews Menu Items ==
+
*example of the default non-SEF URL:
+
**http://example.com/index.php?option=com_jreviews&Itemid=6
+
*when Joomla Core SEF is enabled, the URL should look like this (menu item title alias is used):
+
**http://example.com/most-recent-listings
+
 
+
  
== URLs of JReviews Click2Search Pages (tags) ==
 
*example of the default non-SEF URL for the jr_brand custom field:
 
**http://example.com/index.php?option=com_jreviews&Itemid=6&Itemid=6&url=tag/brand/Nokia/
 
*if you enabled Joomla Core SEF, the URL should look like this:
 
**http://example.com/component/jreviews/tag/brand/Nokia/
 
*this URL can be further improved if you create an "Advanced Search" type of JReviews menu item. Then the /component/jreviews/ segment of the url will be replaced with the alias if this menu item.
 
  
  

Latest revision as of 14:00, 7 January 2014

Enabling Joomla Core SEF URLs

To make the URLs look nicer, you should enable Joomla core SEF:

  • go to Joomla Global Configuration, and on first tab set Search Engine Friendly URLs and Use Url rewriting to Yes.
  • leave Add suffix to URLs disabled.

Seo-settings.png

  • go to the root folder of your site and rename htaccess.txt file to .htaccess if you don't already have the .htacess file. This is required for URLs to work when Use URL rewriting is enabled.