Mitcheljager / workshop.codes

Repository for workshop.codes
MIT License
28 stars 9 forks source link

[Refactor] Allow searches to use standard URL query parameters #165

Closed CactusPuppy closed 2 years ago

CactusPuppy commented 2 years ago

Currently searches on Workshop.codes are formatted as

/overwatch-2/true/maps/kings-row/search/test

However, this is not the standard method for specifying query parameters. Typically, parameters are specified as follows:

/search?q=test&overwatch-2=true&maps=kings-row

In addition to being more implicitly understood by SEO, this change would also enable easier API integration with Workshop.codes and fewer restrictions on what values can be utilized as parameters.

CactusPuppy commented 2 years ago

In order to ensure SEO remains high, we must redirect old-form URLs to the new format