View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005209 | OXID eShop (all versions) | 4.09. SEO, SEO URL | public | 2013-06-19 14:15 | 2013-07-17 17:00 |
Reporter | Bergfreunde | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.7.5 / 5.0.5 | ||||
Fixed in Version | 4.7.7 / 5.0.7 | ||||
Summary | 0005209: Performance-Problem due to unnecessary redirect with static-urls | ||||
Description | Components with functions that return a redirect string aren't looking for a (static)SEO-url. The URLs are always like "http://demoshop.oxid-esales.com/index.php?cl=...¶m1=...¶m2 = ...". If an entry in the SEO table for this URL (index.php?cl=..) exists and the URL is called, the shop will redirect to the SEO-URL (see timeline attached). This for example will lead to unnecessary redirects during the order process. Example: - "Index.php cl = payment" under an entry for SEO URL and standard English "payment" Create - Forwarding order in Step 2 to 3: 1 Call: http://demoshop.oxid-esales.com/professional-edition/index.php?cl=payment & 2 Forwarding: http://demoshop.oxid-esales.com/professional-edition/bezahlung This can be solved by changing "core/oxseo.php::_executeNewAction( $sNewAction )" $sUrl = oxRegistry::get("oxUtilsUrl")->processUrl($sUrl); diesen Code einfügen: if (oxRegistry::getUtils()->seoIsActive()) { $iLang = (int) oxRegistry::getLang()->getBaseLanguage(); if ($sSeoUrl = oxRegistry::get("oxSeoEncoder")->getStaticUrl($sUrl, $iLang)) { $sUrl = $sSeoUrl; } } | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||