For the purposes of page caching & SEO, it would be nice if views outputted more consistent URLs. When you first submit an exposed filter you get a URL like this

specials?field_type_value[]=3&field_type_value[]=112

If you navigate to page 1 you get this

specials?page=1&field_type_value[0]=3&field_type_value[1]=112

page 0

specials?field_type_value[0]=3&field_type_value[1]=112

Ideally it would always have a number in the brackets. [] [0]

http_build_query() with urldecode() might be a solution.

Comments

merlinofchaos’s picture

Status: Active » Closed (won't fix)

I don't think we can control those URLs, at least not without doing some kind of redirect to clean them up (which is going to add lag time to the page for purely aesthetic reasons) because the URL is generated by the browser itself during the form submit process.

It doesn't seem like a valuable use of resources to prettify those URLs because of that.

keesje’s picture

I agree with wont fix, this is common practice.
Thanks anyway.