juslintek Posted November 1, 2015 Share Posted November 1, 2015 Hi, is there any plugin that rewrites to friendly URL and then as well reacts to categories and as well to parent categories of those categories if subcategories are of the same name and products are of the same name. For example: /wooden-toy/trains/matchstick-train.html /toys/trains/matchstick-train.html, or /wooden-toy/oak/matchstick-train.html /wooden-toy/birch/matchstick-train.html and would read them as separate not redirect to the one with lowest id of the same slug. Tried Avanced URL, they said that they work with parent categories, but they don't, they only are able to display them. But if the product slug is the same no matter where it is, just just duplicated. Never had such problems with Magento, but it seems that currently my client uses prestashop, and we need to highlight specific keywords. So we can't avoid duplication of slugs. Products are totally different. Looking forward to hearing from someone. 1 Link to comment Share on other sites More sharing options...
AKSE Posted May 16, 2016 Share Posted May 16, 2016 Did you ever find a solution for this? Link to comment Share on other sites More sharing options...
vekia Posted May 19, 2016 Share Posted May 19, 2016 my module works with slugs that have the same name. if slug look like, for example: - /audi/a7/brakes/ - /bwm/x5/brakes/ module will check what is the parent of the category we trying to access, so based on this module will generate proper category page example:http://82.207.175.167/modelle/mercedes-benz-w108/motor-getriebe/http://82.207.175.167/modelle/mercedes-benz-w126/motor-getriebe/http://82.207.175.167/modelle/mercedes-benz-w114-w115-8/motor-getriebe/ Link to comment Share on other sites More sharing options...
AKSE Posted May 19, 2016 Share Posted May 19, 2016 Looks interesting.. What page/url will it show on a Search? the default category set for that product? Link to comment Share on other sites More sharing options...
vekia Posted May 19, 2016 Share Posted May 19, 2016 im not sure what you mean exactly, but: - if product will be associated with categories: /woman/t-shirts/summer/ and if /summer/ category will be marked as "main" category of product, the link to product will look like:http://website.com/summer/the-best-t-shirt.html and "summer" will appear everywhere as a category of product. Link to comment Share on other sites More sharing options...
AKSE Posted May 19, 2016 Share Posted May 19, 2016 Yes that was my question about search.A follow up. Let say I sell stuff for cameras. I have this catalog structure. /Home/Battery/CameraModel1//Home/Battery/CameraModel2/ /Home/Transportcase/CameraModel1//Home/Transportcase/CameraModel2/ I have this product, a "Box" for batteries for the CameraModel2 So I would like to have it in both /Home/Battery/CameraModel2/Box <- (this is set as the main category for product "Box") and in /Home/Transportcases/CameraModel2/Box Since it will suit both categories. What happens now is that when I mouse over on /Home/Transportcases/CameraModel2/Box it will show right link (/Home/Transportcases/CameraModel2/Box )But when I click it will go to /Home/Battery/CameraModel2/Box I have installed ZZcleanurls and it removes ID and seems to work on mouse over but obviously doesn't when you actually go to the link.I see that you have a couple of more modules I would be interested in so if the URL rewriter works as I need it to I'm going to get it and some more.Just let me know if you want to see my question live. Link to comment Share on other sites More sharing options...
juslintek Posted June 2, 2016 Author Share Posted June 2, 2016 (edited) Okay still haven't found any working solution. I will rehearse the problem. The problem is: I am willing to make links which would react on category and product link. Let`s say there are two categories. Honey and Honey Combs So is there a plugin, which would first. Read product, then check if that product is the only one on the category, if yes then display it. Else return lets say page where person can select one of those multiple options. But for example other scenario, there are different products, but same name "Regular Honey", but one is on Honey and other on Honey Combs.The Honey already specifies that it can be artificial honey, so it becomes if concatenated "Honey Regular Honey" and "Honey Combs Regular Honey". So I need that CMS would open product assigned to that specific category, though its same named product, but with different description and images. No like on Advanced URL, would redirect to the product who has same name but is of the lowest ID number. Like not to select the first product on the list of mysql query results, but would as well use in query category criteria to specify the exact product version. But if two same named products exist on same category, then would open a list of those two products like on search results. But if there is one, then would open that specific one. Guess I was clear enough. Edited June 2, 2016 by juslintek (see edit history) Link to comment Share on other sites More sharing options...
webhosting-hotel Posted July 11, 2016 Share Posted July 11, 2016 my module works with slugs that have the same name. if slug look like, for example: - /audi/a7/brakes/ - /bwm/x5/brakes/ module will check what is the parent of the category we trying to access, so based on this module will generate proper category page example: http://82.207.175.167/modelle/mercedes-benz-w108/motor-getriebe/ http://82.207.175.167/modelle/mercedes-benz-w126/motor-getriebe/ http://82.207.175.167/modelle/mercedes-benz-w114-w115-8/motor-getriebe/ Hi Vekia, Just wanted to be sure before ordering. Is it Pretty/Clean URLs Pro you are talking about ? I hmanage a Wine shop for a client and are currently using Advanced URL and we have subcategories in 3 different Categories that are all the same like Australia, France, BaginBox etc. Can your module handle that ? Best regards, Robert Link to comment Share on other sites More sharing options...
vekia Posted July 11, 2016 Share Posted July 11, 2016 Hi Vekia, Just wanted to be sure before ordering. Is it Pretty/Clean URLs Pro you are talking about ? I hmanage a Wine shop for a client and are currently using Advanced URL and we have subcategories in 3 different Categories that are all the same like Australia, France, BaginBox etc. Can your module handle that ? Best regards, Robert for example you've got categories and path to them look like: /wines/red/australia/ /wines/white/australia/ /wines/rose/australia/ in cases like that my pretty clean urls module will: analyse the structure of the url display category page based on subcategories defined in the url simply saying: this means that it will work with duplicated category names so if your case is similar to case that i described - everything will be okay. Link to comment Share on other sites More sharing options...
webhosting-hotel Posted July 11, 2016 Share Posted July 11, 2016 Thank you for very fast answer. Then I know what to buy, I can also see some other great modules I want Keep up the great work Link to comment Share on other sites More sharing options...
vekia Posted July 11, 2016 Share Posted July 11, 2016 Thank you for very fast answer. Then I know what to buy, I can also see some other great modules I want Keep up the great work you're welcome if you need some additional explanations - feel free to write Link to comment Share on other sites More sharing options...
asperon Posted March 5, 2017 Share Posted March 5, 2017 (edited) I have a site for watches and pretty clean url pro don't work for me my structure is watches/man/casio watches/woman/casio You need to make this module to analyze url structure Edited March 5, 2017 by asperon (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted March 6, 2017 Share Posted March 6, 2017 I have a site for watches and pretty clean url pro don't work for me my structure is watches/man/casio watches/woman/casio You need to make this module to analyze url structure this addoN: pretty clean urls analyses the structure of url if you've got url like: - watches/woman/casio - module will display category 'casio' that has category 'woman' as a parent category - watches/man/casio - module will display category 'casio' that has category 'man' as a parent category if it does not work in that way: - make sure that you use at least v1.8.7 of the module - make sure that your schema of urls for 'route for category' is {parent_categories:/}{rewrite}/ if it does not work - case requires inspection directly in the shop in this case please send message to support email Link to comment Share on other sites More sharing options...
asperon Posted March 6, 2017 Share Posted March 6, 2017 this addoN: pretty clean urls analyses the structure of url if you've got url like: - watches/woman/casio - module will display category 'casio' that has category 'woman' as a parent category - watches/man/casio - module will display category 'casio' that has category 'man' as a parent category if it does not work in that way: - make sure that you use at least v1.8.7 of the module - make sure that your schema of urls for 'route for category' is {parent_categories:/}{rewrite}/ if it does not work - case requires inspection directly in the shop in this case please send message to support email. The problem is me i don't haved this schema {parent_categories:/}{rewrite}/ thank you very much for your support Link to comment Share on other sites More sharing options...
vekia Posted March 6, 2017 Share Posted March 6, 2017 The problem is me i don't haved this schema {parent_categories:/}{rewrite}/ thank you very much for your support fortunately it works as it should work :-) thank you for report, glad to hear that it is solved 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