rkingon / Craft-Plugin--Redirect-Manager

MIT License
46 stars 16 forks source link

include querystring in path if one exists #11

Closed mattweldon closed 9 years ago

mattweldon commented 9 years ago

Fairly simple fix... Check if there's a querystring included in the request and add it to $path if there is.

Not a hugely elegant solution, but the logic within processRedirect($path) remains the same.

I've got it working on a live site here: http://sypro.co.uk/news?id=18

rkingon commented 9 years ago

nvm, didn't see the PR part only the commit! haha