Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email

Magento Forum

Dvojjazyčný obchod vs. Googlebot
Total Posts:  31
Joined:  2008-01-03

Resim pomerne prekerni situaci, kdy googlebot povazuje anglicke url produktu, kategorii a cms stranek (vsechny jsou unikatni) za neexistujici - 404 error.

Ty stranky samozrejme existuji, ale pouze kdyz je clovek v anglickem obchodu. Nasel jsem na foru modifikaci rewrite.php v core, ale pripada mi to spis jako muj problem v kodu na zmenu jazykove verze.

zmena redirect.php

// Morningtime: what if we have a valid URL for another store (on same domain)?
                // Magento would show a 404, because we\'re in the wrong store
                // So we need to find out the right store, and set the store
                if (!$this->getId()) {
$result $db->query(\'select store_id from core_url_rewrite WHERE request_path = \"\' $pathInfo \'\"\');
                  if (
= array();
$row $result->fetch(PDO::FETCH_ASSOC)) {
if (count($storeIds) == && is_numeric($storeIds[\'0\'])) {
header(\"HTTP/1.1 301 Moved Permanently\");
header(\"Location: http://\" $_SERVER[\'HTTP_HOST\'\"/\" $pathInfo \"?___store=\" $code);
// END

Mate s tim nekdo zkusenosti?

ps: jedna se o obchod

Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top