Link

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 anos atrás
I've tried to change url for the category section in the urlRewriting file and the config in the admin panel... but restored it back later to the default url but i'm getting an errror now, it says the link is broken ! I put everythings back to where it was but link won't work

This is the link i'm getting and wondering why i'm having this %20 at the end of aspx

http://herbatonic.com/category/57-controle-de-poids.aspx%20
13 anos atrás
I don't know why it is putting it there, but %20 is URL encoding for a space " "... perhaps you accidentally put a space at the end of a line somewhere?
13 anos atrás
ok it's fixed !  now i'm trying to rewrite this :

http://herbatonic.com/category/57-controle-de-poids.aspx

to this

http://herbatonic.com/categorie/controle-de-poids.aspx

So it's one variable changed in french from category to categorie and getting rid of the variable number(ex:57)

Can you help me with the steps and the files I need to edit ? thx. i've tried editing the UrlRewriting file but it won't work, wondering if I might be missing a step ?
13 anos atrás
You can't achieve this just by changing the url rewriting config as the pages/modules expect an entity id (this is passed as querystring parameter).

URLs without the ID are possible (we have recently done this using asp.net routing) but you need to implement some logic to either get your entities by name, or in our implementation we got the id by name to reduce the changes required on the pages/modules (we will be blogging about this soon).
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.