View Issue Details

IDProjectCategoryView StatusLast Update
0001954OXID eShop (all versions)4.09. SEO, SEO URLpublic2012-12-10 13:35
ReporterMBa 
PriorityurgentSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.4.0 revision 28699 
Target VersionFixed in Version4.5.0_beta4 
Summary0001954: Some SEO links formated incorrectly, like "...oxid-oxid-oxid-oxid-..."
DescriptionIf you make a new Catagory with title
'out-something'
the seo-url is
out-oxid-oxid-something/

I think its a problem of the root-core folders.
if you make a category like 'admin' you get
admin-oxid/

Simular with modules.
Steps To ReproduceI think, I can live with one suffix, but
out-oxid-oxid-something/
is ugly.
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Relationships

has duplicate 0002432 closeddainius.bigelis SEO links were formated incorrectly for some products 
has duplicate 0002457 closeddainius.bigelis URL looks weird 

Activities

MBa

2010-07-02 11:06

reporter   ~0003249

I checked out 'oxseoencoder.php'.

$sUri = $oStr->preg_replace( array( "/(\s{$sWord})$/i", "/^({$sWord}\s)/i", "/(\s{$sWord}\s)/i", "/^({$sWord})$/i",
"/(\/{$sWord})$/i", "/^({$sWord}\/)/i", "/(\/{$sWord}\/)/i"),
" \$1{$sSeparator}{$sPrefix}{$sSeparator} ", $sUri );

Here it tests for all combination of the separated words. I think its only neccessary, to test for a exact hit.

$sUri=$oStr->preg_replace(array("/^({$sWord})$/i")," \$1{$sSeparator}{$sPrefix}{$sSeparator} ",$sUri);

sarunas_valaskevicius

2011-03-07 12:26

reporter   ~0004185

fixed in oxseoencoder