CONTINUED SETUP FROM NEO'S THREAD ABOVE
FOR .HTACESS ONLY
########## Begin - Joomla! core SEF Section
############# Use this section if using ONLY Joomla! core SEF
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
#RewriteRule ^(content/|component/) index.php
#
########## End - Joomla! core SEF Section
########## Begin - 3rd Party SEF Section
############# Use this section if you are using a 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc
#
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
#
########## End - 3rd Party SEF Section
SH404SEF SETUP
1. Change your htaccess.txt to .htaccess (The code above is to show you what you need comment out the joomla SEF and add in the 3rd part SEF if not there)
2. Turn off all SEO setting in Joomla Configuration.
3. Install SH404SEF First, then enable "Switch to Extended Display"
4. Go to the configuration ->advance tab and make sure you have this setting turned on "Rewrite Mode" w/.htaccess (should be on by default)
5. Then go to the configuration ->"by component" tab and turn off everything for sobi2.
6. Set the: 301 redirect from JOOMLA SEF to sh404SEF to YES
7. Now test your new URLs. At this point all URLs except sobi should be converting. You can mess with the settings and customize your URLs as needed.
SOBISEF SETUP
1. Now it's time to install the sobi2SEF component. Open up the sobi2 plugin manager and inistall the component.
2. Set the settings you want and then enable it.
3. Go back into sh404SEF and to the configuration ->"by component" tab and enable all sobi2 options.
4. Set all settings to yes except for: Enable Debug Mode
5. Now test your sobi2 URLs.
JOOMLA SETUP (WHEN SYSTEM CACHE TURNED ON)
1. Go into plugins
2. Move the System-Cache plugin all the way to the bottom for the system items. Note: Plugins are ran in order from first to last.
SOBI2 GENERAL CONFIGURATION
1. Go to SOBI configuration --> General Configuration and select the Cache Tab
2. Set 2nd level cache to: NO
3. Set 3rd level chace to: Yes
SOBI SEF TEMPLATE OPTIONS:
In my vcard template I had added some options to my URL and the URLs were not translating quite right. So here is some advanced features you will have to use if you have sobi2 URLs within your templates.
The item in green is key for SEF SOBI2 translation. The item in red is extra URL options and I have not found a way to translate this yet.
/*********TEMPLATE SEF TRANSLATION************/
$mySobi = new sobi2( $id );
$config =& sobi2Config::getInstance();
$pluginsObjects =& $config->S2_plugins;
$catid = (int) sobi2Config::request($_REQUEST, 'catid', 0);
$link = sobi2Config::sef("index.php?option=com_sobi2&sobi2Task=sobi2Details&catid={$catid}&sobi2Id={$id}&Itemid={$config->sobi2Itemid}&tmpl=sobi2_data");
echo "<p class='sobi2ItemTitle'><a title=\"$mySobi->title\" $rel href=$link>$mySobi->title</a></p>";
/*********TEMPLATE SEF TRANSLATION************/
KNOWN ISSUES-FIXES
1. There is a "details" tag in my URL - This is cause by not installing SH404SEF first and the sobiSEF second. If you reload SH404SEF then you need to also reinstall sobiSEF as well.