I am in need of a mod rewrite rule to correctly change an existing url structure that looks like this:
Into something that looks like this:
What I came up with isn't working, but I know I'm close:
RewriteRule ^scripts/data/database\.cgi?ArticleID=([0-9]+)&report=SingleArticle&file=Data$ ^oldarticle/id$1\.htm [R=301,NC,L] # Permanent Move
Any help would be greatly appreciated!