By bmblack on
I have a page on my site (mysite.com/shoes) which has several exposed view drop down menus on it. The page by default has a list of ALL shoes. With the drop down menus, they can filter the results. For example, one drop down menu is size and another is color.
Right now if a user selects size 7 from the Size drop down menu and White from the color drop down menu, then clicks "apply", the URL looks like this:
mysite.com/shoes?size=7&color=white
Is it possible to somehow re-format the way the url appears to the enduser (similar to url aliases)?
So, for example, I would prefer that the end user simply sees:
mysite.com/shoes/size/7/color/white
Comments
Mod_rewrite?
You might be able to do this with Mod_rewrite (if you have an apache server). Don't ask me how though, I don't have that much info.
I have no idea whether it can be configured from within Drupal
Drupal all ready supports
Drupal all ready supports Clean URLs. yes it is using Mod_rewrite. But the problem here with exposed filters. Only here the default setting is not getting applied.
Looking for an answer to this
I am searching the forums and cannot find any clear answer for doing this in drupal 7.
Cannot be done through views directly?
I think the mod_rewrite would make it difficult as you would need to configure both exposed filtes and arguments... isn't it?
Creating aliases manually doesn't work
I am having the same issue with my e-commerce site.
I tried creating an alias for the unclean url of a results page, but that doesn't work either.
There must be some way to clean up the urls for views arguments - I thought it would be simple since taxonomy terms are used to make the selections, and they could easily be used to construct the new urls. Any suggestions would be appreciated.
http://drupal.stackexchange.c
http://drupal.stackexchange.com/questions/57110/seo-friendly-exposed-fil... (For Drupal 7, but I think very relevant to Drupal 6 also).