I had a site in ASP.NET, and now we moved it to WordPress. The pages in the .NET site have parameters in them.
I'd like to redirect the old pages to their new locations, but Apache doesn't seem to understand parameters, so when I write in .htaccess redirects like this, they don't work:
redirect 301 /Apps/WW/Page.aspx?ws=4ed09703-8210-4492-a86a-128c1b9822b3&page=458f828d-616d-469d-8fe2-13d3c2881df3 http://s.ort.org.il/redirects/
The solution I thought of is to create a /Apps/WW/ directory, and in it create a Page.aspx file, and redirect that to a WordPress page (called redirects), like this:
redirect 301 /Apps/WW/Page.aspx http://s.ort.org.il/redirects/
And in the redirects page, in PHP, analyze the parameters and redirect via PHP.
Is that a good solution? It seems a little too complex, and I'm not a system person (I'm a web programmer), so I don't know any other solutions