Edge_jr Posted February 17, 2014 Share Posted February 17, 2014 (edited) Hi, When I logout using PS 1.5.6 with friendly URL enable it goes to index.php?controller= When friendly URL enable then it goes to 404 page not found and when friendly URL not availble then it goes to home page index.php What are the changes need to be done so solve this 404 error page redirect Any idea? -Thanks Edited February 17, 2014 by edge82 (see edit history) Link to comment Share on other sites More sharing options...
tarek.fellah Posted February 17, 2014 Share Posted February 17, 2014 Hi, check if mod_rewrite is enabled in apache. Link to comment Share on other sites More sharing options...
indus Posted February 17, 2014 Share Posted February 17, 2014 Hi, When I logout using PS 1.5.6 with friendly URL enable it goes to index.php?controller= When friendly URL enable then it goes to 404 page not found and when friendly URL not availble then it goes to home page index.php What are the changes need to be done so solve this 404 error page redirect Any idea? -Thanks Does this happen for all urls ? Does the home page work with either option ? Try disabling the option apache multiviews. Link to comment Share on other sites More sharing options...
tarek.fellah Posted February 18, 2014 Share Posted February 18, 2014 I had the same problem, and i resolved it by commenting allowoverride none In /etc/apache2/sites-available/default, try to find if there's this instruction in your httaccess also. Link to comment Share on other sites More sharing options...
Edge_jr Posted February 22, 2014 Author Share Posted February 22, 2014 Hi, I have mod_rewrite enable for friendly URL. Regarding apache multiviews settings are in apache configuration? Please advise. -Thanks Link to comment Share on other sites More sharing options...
indus Posted February 22, 2014 Share Posted February 22, 2014 It is just below the friendly URL option in the back office. Link to comment Share on other sites More sharing options...
Edge_jr Posted February 24, 2014 Author Share Posted February 24, 2014 (edited) Hi, I try disable and enable option of apache multiviews and problem still exists. I think as per tarek "allowoverride none" is require for friendly URL to work. Any idea? Edited February 24, 2014 by edge82 (see edit history) Link to comment Share on other sites More sharing options...
tarek.fellah Posted February 24, 2014 Share Posted February 24, 2014 Hi, I try disable and enable option of apache multiviews and problem still exists. I think as per tarek "allowoverride none" is require for friendly URL to work. Any idea? Hi, You should comment allowoverride none to see url rewriting work, You tried to open /etc/apache2/sites-available/default file and to see allowoverride value? also try to open your .httaccess and see if there's allowoverride none and try oto comment it. Link to comment Share on other sites More sharing options...
Edge_jr Posted February 25, 2014 Author Share Posted February 25, 2014 Hi, I have allowoverride values to ALL It just allows you to use .htaccess files on the server. Therefore I think I need to do change in prestashop code so that when user logout then instead of going to index.php?controller= It should go to https://example.com/en/ when friendly url enable. I want to know from where it redirect to url when user logout. Any idea? -Thanks Link to comment Share on other sites More sharing options...
indus Posted February 25, 2014 Share Posted February 25, 2014 You are on the right track, you just need to disable and enable frriendly url from back office now to allow a fresh .htaccess file to be created. Allow override Alll will allow it to be read. Link to comment Share on other sites More sharing options...
Edge_jr Posted February 25, 2014 Author Share Posted February 25, 2014 Hi, I am sorry guys the problem was in link of one of module I am using. I took logout link from userinfo and it works This issue is solved. -Thanks Link to comment Share on other sites More sharing options...
sikarep Posted September 8, 2014 Share Posted September 8, 2014 Hi, I have the same problem with 1.6.08 If I turned off the friendly URLs, the logout link works and redirects the user to the index page, but if the friendly URLs is turn on, then logout redirects the user to .../index.php?controller= and the user gets the 404 page, no page page found. edge82, can you share what you have exactly done to solve your problem? Thanks in advance! Link to comment Share on other sites More sharing options...
indus Posted September 8, 2014 Share Posted September 8, 2014 Hi, I have the same problem with 1.6.08 If I turned off the friendly URLs, the logout link works and redirects the user to the index page, but if the friendly URLs is turn on, then logout redirects the user to .../index.php?controller= and the user gets the 404 page, no page page found. edge82, can you share what you have exactly done to solve your problem? Thanks in advance! Hi Have you disabled the option apache multiviews? Link to comment Share on other sites More sharing options...
sikarep Posted September 8, 2014 Share Posted September 8, 2014 Hi indus, Yes, I have tried to disable the option apache multiviews, but the problem remains the same. thanks anyway! Link to comment Share on other sites More sharing options...
Bollicina Posted March 6, 2015 Share Posted March 6, 2015 (edited) Hi, I have a site (marketplace) based on 1.5.4 Prestashop and I have a big problem. Alteration of the URL linked to the categories:names of a store/shop is inserted into the url of pages For about three months something strange happens with the url, Particularly in the categories of objects. The problem of url "magic" Seems to afflict Especially the sub-menu to the left. Here's what happens: moving from one category to another on the site (left column home), suddenly you see the error page ("Page not found - Sorry, but the web address You entered is no longer available") and all categories include empty without products / content. This is caused by an alteration of the URL linked to the categories which are changed because names of a store/shop is inserted into the url of pages, suddenly. It Seems then added to the url subcategories of the name of a store that Changes with each page load, thus giving error page. ex.: www.domainname.it/categoryname (correct URL) becomes www.domainname.it/storename/categoryname (Crazy URL) The problem seems to be related precisely to that part of the menu of categories of the left menu (though this problem in home page occurs also in the "search" and "menu" section). But this only happens on the HOME PAGE because It seems that on the singular pages of the product, or in other pages different by home page, categories menu seems to work (if moving us between categories items, url are not alterate). The problem impacts Approximately 23% of the public url. Simply put 23 links for 100 discovered by the search engine are afflicted by this issue. This problem may be related to the mod rewrite /apache multiviews /AllowOverride None and what was said in this thread? Have you any suggestions to solve the problem? It 'very urgent thank you very much Edited March 6, 2015 by Bollicina (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now