I hope this is the correct forum, it seemed as appropriate as any.
I’m having some trouble getting the syntax correct on my .htaccess file…but admittedly I am probably trying to do something funky.
I have several (about 500) files that are indexed well with Google, and they are in the form of:
http://www.domain.com/news.php?action=fullnews&id=10 (the 10 changes with the article number obviously).
I moved all of the pages from the old CMS (phpnews) to Wordpress, and now the new articles (all moved over into the wordpress database) are linked in the form of:
http://www.domain.com/archives/4 (again, the 4 changes w/the article). The original and new numbers are all different, so the old number 134 might match up to it’s new counterpart with number 214, there’s no mathematical difference between the two, so I can’t do something like oldnumber + XX = newnumber.
Anyway, I want to do 301 redirections from the old numbers to the new URLS, but I can’t even get the first one to work, much less making the other 499 entries in what will be a 1,000,000GB file when I’m done, but I figure it’ll be better than loosing a lot of incoming traffic.
Can someone help me with the correct syntax to use in the .htaccess file?
Thank you in advance, hope I have explained the problem correctly.