Hi all
I am trying to understand some aspects of OXID's SEO implementation, in
order to put together a brief article for OXIDForge.
1. In oxseodecoder::processSeoCall(), there is the following code:
} elseif ( ( $sRedirectUrl = $this->_decodeOldUrl( $sParams
) ) ) {
// in case SEO url was changed - redirecting to new
location
oxUtils::getInstance()->redirect(
$this->getConfig()->getShopURL().$sRedirectUrl, false );
} elseif ( ( $sRedirectUrl = $this->_decodeSimpleUrl(
$sParams ) ) ) {
// old type II seo urls
oxUtils::getInstance()->redirect(
$this->getConfig()->getShopURL().$sRedirectUrl, false );
}
Can someone please help me understand what are 'type II' URLs
1b. What is the purpose of the oxseohistory table and when URLs would be
written to this table?
1c. What does it mean by 'in case SEO URL was changed, redirecting'?
2. What is the purpose of the oxseologs table and when is it updated?
3. In the Admin->Master->Seo settings, there is a field called URL
reserved words. What does this do?
3a. If I add a reserved word to this, do I also need to manually update
the .htaccess file, as these words are also found there - or will OXID
update this file for me automatically?
4.In the oxseo table, each record has a type (static/dynamic/etc).
However some types are also class names eg. oxarticle. The list of types
that I found are as follows:
static
oxarticle
oxcategory
oxcontent
dynamic
oxmanufacturer
What is the purpose of this type field and why are some URLs
'static'/'dynamic' while others are linked to core classes?
Vikram
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general