SEO url's do not work when in maintenance mode. They really do need to else you get penalised for duplicate content (once you come out of maintenance mode, google will access the site via both links).
Quick fix:
index.php
change:
Code: Select all
// Maintenance Mode
$controller->addPreAction(new Action('common/maintenance'));
// SEO URL's
$controller->addPreAction(new Action('common/seo_url'));
Code: Select all
// SEO URL's
$controller->addPreAction(new Action('common/seo_url'));
// Maintenance Mode
$controller->addPreAction(new Action('common/maintenance'));
catalog/controller/seo_url.php
change:
Code: Select all
if (isset($this->request->get['route'])) {
return $this->forward($this->request->get['route']);
}
Code: Select all
if (isset($this->request->get['route']) && (!$this->config->get('config_maintenance') || isset($this->session->data['token']))) {
return $this->forward($this->request->get['route']);
}