In /index.php, the order of the following 2 lines should be swapped in order for seo url feature to work as expected when the store is in maintenance mode. Although in maintenance mode, the customers cannot visit any pages theoretically, the links that the customers clicked on are reflected in the web browser address bar as non seo urls, which does not looks good.
Current:
Code: Select all
// Maintenance Mode
$controller->addPreAction(new Action('common/maintenance'));
// SEO URL's
$controller->addPreAction(new Action('common/seo_url'));
Proposed:
Code: Select all
// SEO URL's
$controller->addPreAction(new Action('common/seo_url'));
// Maintenance Mode
$controller->addPreAction(new Action('common/maintenance'));