View Issue Details

IDProjectCategoryView StatusLast Update
0000799OXID eShop (all versions)4.09. SEO, SEO URLpublic2012-12-10 13:35
Reportersigmarkress Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.1.0 revision 17976 
Fixed in Version4.1.1 revision 18442 
Summary0000799: SEO urls are not created when non-ASCII charactes are in product title
Descriptionif i create a new article and write a cyrillic title in admin area.

the seo url is .html
 
Steps To Reproduce-install shop 4.1.0 in utf mode
-create a new article with cyrillic title
-press save

now the seo url is .html
TagsNo tags attached.
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Activities

dainius.bigelis

2009-04-15 17:18

reporter   ~0000766

Reminder sent to: sigmarkress

Hi,

We have few questions regarding your case:
1. is your shop running with UTF8 charset?
2. (if UTF8) is there mapping for cyrillic chars to latin chars inserted in the SEO Tab? as without this mapping shop cannot generate proper SEO urls.

Best regards,

dainius.bigelis

2009-04-15 17:19

reporter   ~0000767

@Developers:
in case when SEO url cannot be generated from article title, it should be generated with the oxid.html, oxid1.html... and so on. According the description - it not works. Please check this and fix if needed.

arvydas_vapsva

2009-04-20 13:49

reporter   ~0000786

fix is very easy - oxSeoEncoder::_prepareTitle():

        // binding ".html" back
        $sTitle .= $sExt;

        // SEO id is empty ?
        if ( !$sTitle ) {
            $sTitle = $this->_prepareTitle( self::$_sPrefix );
        }

replaced to:

        // SEO id is empty ?
        if ( !$sTitle ) {
            $sTitle = $this->_prepareTitle( self::$_sPrefix );
        }

        // binding ".html" back
        $sTitle .= $sExt;