source/Core/SeoEncoder.php
public function copyStaticUrls($iShopId)
    {
        $iBaseShopId = \OxidEsales\Eshop\Core\Registry::getConfig()->getBaseShopId();
        if ($iShopId != $iBaseShopId) {
            $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
            foreach (array_keys(\OxidEsales\Eshop\Core\Registry::getLang()->getLanguageIds()) as $iLang) {
                $sQ = "insert into oxseo ( oxobjectid, oxident, oxshopid, oxlang, oxstdurl, oxseourl, oxtype )
                       select MD5( LOWER( CONCAT( " . $oDb->quote($iShopId) . ", oxstdurl ) ) ), MD5( LOWER( oxseourl ) ),
                       " . $oDb->quote($iShopId) . ", oxlang, oxstdurl, oxseourl, oxtype from oxseo where oxshopid = '{$iBaseShopId}' and oxtype = 'static' and oxlang='$iLang' ";
                $oDb->execute($sQ);
            }
        }
    }
public function copyStaticUrls($iShopId)
    {
        $iBaseShopId = \OxidEsales\Eshop\Core\Registry::getConfig()->getBaseShopId();
        if ($iShopId != $iBaseShopId) {
            $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
            foreach (array_keys(\OxidEsales\Eshop\Core\Registry::getLang()->getLanguageIds()) as $iLang) {
                $sQ = "insert into oxseo ( oxobjectid, oxident, oxshopid, oxlang, oxstdurl, oxseourl, oxtype )
                       select MD5( LOWER( CONCAT( " . $oDb->quote($iShopId) . ", oxstdurl ) ) ), MD5( LOWER( oxseourl ) ),
                       " . $oDb->quote($iShopId) . ", oxlang, oxstdurl, oxseourl, oxtype from oxseo where oxshopid = '{$iBaseShopId}' and oxtype = 'static' and oxlang='$iLang' ";
                $oDb->execute($sQ);
            }
        }
    }
public function copyStaticUrls ( $ iShopId ) { $ iBaseShopId = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getBaseShopId ( ) ; if ( $ iShopId != $ iBaseShopId ) { $ oDb = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) ; foreach ( array_keys ( \ OxidEsales \ Eshop \ Core \ Registry :: getLang ( ) -> getLanguageIds ( ) ) as $ iLang ) { $ sQ = "insert into oxseo ( oxobjectid, oxident, oxshopid, oxlang, oxstdurl, oxseourl, oxtype )
                       select MD5( LOWER( CONCAT( " . $ oDb -> quote ( $ iShopId ) . ", oxstdurl ) ) ), MD5( LOWER( oxseourl ) ),
                       " . $ oDb -> quote ( $ iShopId ) . ", oxlang, oxstdurl, oxseourl, oxtype from oxseo where oxshopid = '{$iBaseShopId}' and oxtype = 'static' and oxlang='$iLang' " ; $ oDb -> execute ( $ sQ ) ; } } }
Method copies static urls from base shop to newly created

@param int $iShopId new created shop id
Method copies static urls from base shop to newly created