I'm migrating a legacy blog from a home-grown CMS to Drupal 7 and I need to wrap my head around how I'm going to redirect URLS to a new aliased pattern.
The legacy site's URLs use query strings
/?t=40&an=49187&anc=570&format=xml which then redirect to an aliased url like
/blog/i-know-this-is-not-ideal. Most of the listing pages on the site use the query parameters to link to pages, though others use the aliased urls. The
an parameter appears to refer to their version of a Node ID, which I'm able to parse and store in my migration.
The company who owns this platform was kind enough to sent me an Excel spreadsheet with aliases in one column and query strings in another — so I have something at least.
Maintaining SEO juice is critical for this client — and Google has parsed these query parameters in many cases.
Should I look towards writing a custom module for this, as the Redirect module appears not to provide support for query parameters? Or should I look into htaccess rewrite rules?