Post by darpohsh@gmail.com » Thu Dec 25, 2014 12:41 pm

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'));

User avatar

Posts

Joined
Tue Dec 02, 2014 4:50 pm
Who is online

Users browsing this forum: No registered users and 7 guests