DesignON Posted October 29, 2013 Share Posted October 29, 2013 Hi all, My site has a problem after setting URL rewriting. http://ozdeco.com.au/ When you click Information link on the right top, message said, [Debug] This page has movedPlease use the following URL instead: http://ozdeco.com.au/content/category/4-information URL rewriting is not working for CMS pages. I attached .htaccess file. Can you please help me to solve this problem? Thanks in advance. Amy Link to comment Share on other sites More sharing options...
El Patron Posted October 29, 2013 Share Posted October 29, 2013 you have errors turned on, you can solve this by turning off error reporting here is a guide to turn them on, so you can reverse order http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-500-error-or-blank-page/ 3 Link to comment Share on other sites More sharing options...
vekia Posted October 29, 2013 Share Posted October 29, 2013 i can't check it Link to comment Share on other sites More sharing options...
DesignON Posted November 4, 2013 Author Share Posted November 4, 2013 you have errors turned on, you can solve this by turning off error reporting here is a guide to turn them on, so you can reverse order http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-500-error-or-blank-page/ Hi, it worked! Thanks for your help!!! 1 Link to comment Share on other sites More sharing options...
batman42ca Posted December 2, 2013 Share Posted December 2, 2013 you have errors turned on, you can solve this by turning off error reporting Turning off errors simply masks the problem. What is the actual cause of the problem and how can I fix it? What if I need to have errors turned on for debugging? I've done some research which suggests that mod_rewrite might not be enabled but I've performed a test to confirm that mod_rewrite is enabled and working. 1 Link to comment Share on other sites More sharing options...
El Patron Posted December 2, 2013 Share Posted December 2, 2013 Turning off errors simply masks the problem. What is the actual cause of the problem and how can I fix it? What if I need to have errors turned on for debugging? I've done some research which suggests that mod_rewrite might not be enabled but I've performed a test to confirm that mod_rewrite is enabled and working. I don't think it is really masking a 'problem', there are various messages issued when 'debug' is turned on. I would be more worried about the message if for example it said the redirect was 'depreciated'. I think this is nothing more than a way to find pages that are redirecting for whatever reason. Link to comment Share on other sites More sharing options...
batman42ca Posted December 2, 2013 Share Posted December 2, 2013 I don't think it is really masking a 'problem' I think directing the browser to a non-existent page is a problem. 1 Link to comment Share on other sites More sharing options...
El Patron Posted December 2, 2013 Share Posted December 2, 2013 I think directing the browser to a non-existent page is a problem. I did not see it mentioned that it was a non-existent page and not as described by the original posters. so I don't really know what you are trying to get at. Link to comment Share on other sites More sharing options...
batman42ca Posted December 2, 2013 Share Posted December 2, 2013 I did not see it mentioned that it was a non-existent page and not as described by the original posters. That's what the error message is all about as mentioned by the original poster. It indicates the page has moved, i.e. the page doesn't exist. [Debug] This page has movedPlease use the following URL instead: In my case, after making a purchase, my browser is sent here: example.com/p/index.php?controller=order-confirmation&id_cart=25&id_module=104&id_order=6&key=a5210ba2a464f48fda1e4e54e935f5ff and this is what what I see in place of that page: [Debug] This page has moved Please use the following URL instead: example.com/p/order-confirmation?id_cart=25&id_module=104&id_order=6&key=a5210ba2a464f48fda1e4e54e935f5ff It looks like there is some issue with URL rewriting. I've confirmed that rewriting is in fact working, but I also see in the admin interface where I turn on Friendly URLs, that Prestashop is unable to detect that rewriting is working. Could that be the issue? That Prestashop needs to be able to detect that mode_rewrite is active and it can't? Is this a server issue and I need to configure it so mod_rewrite enabled is detectable? NOTE In this post, I've replaced my domain name with "example.com" and I've removed the http so it will appear as text. 1 Link to comment Share on other sites More sharing options...
El Patron Posted December 3, 2013 Share Posted December 3, 2013 That's what the error message is all about as mentioned by the original poster. It indicates the page has moved, i.e. the page doesn't exist. In my case, after making a purchase, my browser is sent here: example.com/p/index.php?controller=order-confirmation&id_cart=25&id_module=104&id_order=6&key=a5210ba2a464f48fda1e4e54e935f5ff and this is what what I see in place of that page: It looks like there is some issue with URL rewriting. I've confirmed that rewriting is in fact working, but I also see in the admin interface where I turn on Friendly URLs, that Prestashop is unable to detect that rewriting is working. Could that be the issue? That Prestashop needs to be able to detect that mode_rewrite is active and it can't? Is this a server issue and I need to configure it so mod_rewrite enabled is detectable? NOTE In this post, I've replaced my domain name with "example.com" and I've removed the http so it will appear as text. what I proposed to the original poster did in fact solve their problem. You should have stated (in a new topic) your issue rather than mix with a 'solved' post, this way you will get more community help. I do not want to debate the original posters issue and subsequent fix. Link to comment Share on other sites More sharing options...
Recommended Posts