Piotr3qx Posted August 10, 2022 Share Posted August 10, 2022 (edited) Hi I am working on a client's online store and the best selling page is at the wrong url address. When entering http://localhost/test/best-sales, I get the following message: [Debug] This page has moved Please use the following URL instead: http://localhost/test/index.php?Controller=best-sales In the panel in the Traffic & SEO tab, the item bestsales was removed, so I created it again by adding Rewritten URL = best-sales. Can someone help and tell how can I replace the URL http: //localhost/test/index.php?Controller=best-sales with http:// localhost/test /best-sales Edited August 10, 2022 by Piotr3qx (see edit history) Link to comment Share on other sites More sharing options...
Ali Samie Posted August 10, 2022 Share Posted August 10, 2022 I think you need to enable friendly url Link to comment Share on other sites More sharing options...
Piotr3qx Posted August 10, 2022 Author Share Posted August 10, 2022 I have friendly urls enabled. Additionally, I turned off this option, saved it, turned it back on and saved it again to index the bestsellers page but it didn't help Link to comment Share on other sites More sharing options...
Ali Samie Posted August 10, 2022 Share Posted August 10, 2022 did you clear cache ? try deleting var/cache Link to comment Share on other sites More sharing options...
Piotr3qx Posted August 10, 2022 Author Share Posted August 10, 2022 Tried this too - it did not help Link to comment Share on other sites More sharing options...
Ress Posted August 10, 2022 Share Posted August 10, 2022 (edited) Check in the database, in the ps_meta table, that there are not 2 times, or something like that, and for one of the ids, that you have no data in ps_meta_lang. Edited August 10, 2022 by Ress (see edit history) Link to comment Share on other sites More sharing options...
Piotr3qx Posted August 11, 2022 Author Share Posted August 11, 2022 Unfortunately, everything is correct in the database, there are no duplicates. In the ps_meta_lang table, everything looks correct as well, with no duplicates. Link to comment Share on other sites More sharing options...
endriu107 Posted August 11, 2022 Share Posted August 11, 2022 Turn off debug mode and check is it fixed. Link to comment Share on other sites More sharing options...
Piotr3qx Posted August 11, 2022 Author Share Posted August 11, 2022 Turning off debug mode only redirects the http:// localhost/test /best-sales page to localhost/ test/index.php?Controller=best-sales so it didn't solve the problem 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