View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001954 | OXID eShop (all versions) | 4.09. SEO, SEO URL | public | 2010-07-01 15:20 | 2012-12-10 13:35 |
Reporter | MBa | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.4.0 revision 28699 | ||||
Fixed in Version | 4.5.0_beta4 | ||||
Summary | 0001954: Some SEO links formated incorrectly, like "...oxid-oxid-oxid-oxid-..." | ||||
Description | If 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 Reproduce | I think, I can live with one suffix, but out-oxid-oxid-something/ is ugly. | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
has duplicate | 0002432 | closed | dainius.bigelis | SEO links were formated incorrectly for some products |
has duplicate | 0002457 | closed | dainius.bigelis | URL looks weird |
|
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); |
|
fixed in oxseoencoder |