rhino2 Posted March 6, 2014 Share Posted March 6, 2014 Hi, I have installed Prestashop with multiseller-related modules from Agile which lets me have individual shops. It uses Presta's Multistore manager to add store and edit their URLs. I have these virtual URLs: /shop1/ /shop2/ When I visit /shop1/ every link and reference is relative to this url, including Home. This causes some problems. When I asked about this, module vendor said this was a feature in Prestashop. My question is, is there a way to force certain URLs to root for virtual store URLs instead making them relative? Thank you. Link to comment Share on other sites More sharing options...
connectcase Posted May 6, 2014 Share Posted May 6, 2014 The only way to do this in the code (I think) Link to comment Share on other sites More sharing options...
rhino2 Posted May 6, 2014 Author Share Posted May 6, 2014 The only way to do this in the code (I think) Thank you for your reply. We ended up buying a canonical module, which did not solve the problem, but I could easily edit its function that returns CMS URL. I used regex (preg_replace) to filter out any /store/ parts from the URL before they are printed in the HTML. 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