Difference between revisions of "Using Joomla Core SEF"

From JReviews Documentation
Jump to: navigation, search
 
(14 intermediate revisions by 2 users 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 Apache mod_rewrite''' to '''Yes'''. 'Add  suffix to URLs' is optional.  
+
*go to Joomla Global Configuration, and on first tab set '''Search Engine Friendly URLs''' and '''Use Url rewriting''' to '''Yes'''.  
[[File:JoomlaCoreSEF.png]]
+
*leave '''Add suffix to URLs''' disabled.  
 
+
*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:
+
**http://example.com/index.php?option=com_content&view=article&catid=8:smartphones&id=8:nokia-5800-xpressmusic
+
*if you enabled Joomla Core SEF, the url of that listing should look like:
+
**http://example.com/products/8-smartphones/9-samsung-i900-omnia or
+
**http://example.com/smartphones/8-nokia-5800-xpressmusic
+
*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 [[Creating Required Joomla Menu Items|Required Joomla Menu Items]]
+
 
+
 
+
 
+
 
+
'''JReviews menu item:'''
+
*http://example.com/index.php?option=com_jreviews&Itemid=6
+
 
+
 
+
'''Jreviews click2search pages (tags):'''
+
*http://example.com/index.php?option=com_jreviews&Itemid=6&url=tag/brand/Nokia_m6/
+
 
+
 
+
'''JReviews menu item:'''
+
*http://example.com/products
+
 
+
 
+
'''Jreviews click2search pages (tags):'''
+
*http://example.com/products/tag/brand/Nokia_m6/
+
 
+
 
+
  
 +
[[File:seo-settings.png]]
  
With Joomla Core SEF it is not possible to remove ID numbers from URLs.  
+
*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.
For that, you need to use one of Joomla SEF extensions like [[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 part SEF extensions.
 
  
  

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.