PDA

View Full Version : Ultimate SEO URLs



michael_s
07-05-2007, 08:01 PM
More recent versions of IPU (info pages unlimited) have changed the field names of the information table resulting in SEO URLs such as http://www.your-store.com/-i-8.html

In order to fix this you have to make two minor changes to the sql query in seo.class.php betweenlines 1144 to 1148 like so:

$sql = "SELECT information_title as iName
FROM ".TABLE_INFORMATION."
WHERE information_id='".(int)$iID."'
AND language_id='".(int)$this->languages_id."'
LIMIT 1";

I've uploaded only the seo.class.php file for those who don't want to manually change the sql statement.

Sorry to embarass those who were expecting a full package.

More... (http://www.oscommerce.com/community/contributions,2823)