lape Posted November 14, 2012 Share Posted November 14, 2012 my site www.love4deco.com does a 303 redirect to www.love4deco.com/nl how can i change this to a 301? Link to comment Share on other sites More sharing options...
pel024 Posted December 7, 2012 Share Posted December 7, 2012 I was just thinking the exact same thing. Isn't a 301 better for passing link juice etc? Link to comment Share on other sites More sharing options...
pel024 Posted December 7, 2012 Share Posted December 7, 2012 Both http://dermalsense.com and http://www.dermalsense.com/ redirect to http://www.dermalsense.com/en with a 303. Does anyone know why (or indeed if) this is necessary, and if not, how they can be changed to 301's? Link to comment Share on other sites More sharing options...
pel024 Posted December 8, 2012 Share Posted December 8, 2012 This seems to be caused by the canonical redirection. In FrontController.php: if ($_SERVER['REQUEST_URI'] == __PS_BASE_URI__) { header('HTTP/1.0 303 See Other'); header('Cache-Control: no-cache'); } else { header('HTTP/1.0 301 Moved Permanently'); header('Cache-Control: no-cache'); } Could anyone shed any light on this? Is it necessary to use the 303? Link to comment Share on other sites More sharing options...
pel024 Posted December 20, 2012 Share Posted December 20, 2012 I've now changed this to a 301 redirect by editing FrontController.php. This doesn't seem to create any problems but I would love to hear anyone's thoughts on this. I assume there must be some reason why PrestaShop uses a 303. Anyone? Link to comment Share on other sites More sharing options...
Dreamtheme Posted March 5, 2013 Share Posted March 5, 2013 I have notice it too, and also notice it that increase page load time with about half second with canonical url enabled. Link to comment Share on other sites More sharing options...
Recommended Posts