cutenews to wordpress redirecting old urls
I have a cutenews blog I am trying to convert to wordpress but for the life of me can’t get the old cutenews urls to redirect to the new wordpress ones. There are only 34 pages so I am doing this manually. I want to forward a cutenews url like http://www.someplace.com/?subaction=showfull&id=3141592653&archive=&start_from=&ucat=1& to the new, wordpress one at http://www.someplace.com/a-new-url/ so the code I tried was
RewriteRule ^(.*)3141592653(.*)$ http://www.someplace.com/a-new-url/ [R=301,L]
This does not work, it will not forward the url. If I take the question mark out of the original cutenews url it forwards fine. I tried escaping the question mark in the rule, and I tried putting it in like a normal character but it will not work. Is there something special about a question mark so that it won’t forward?
Now if I can’t get any of this to work, I might have to change the page and post ids of wordpress to match the ids of cutenews. Is there any reason I can’t do this or anything I should look out for? How should I do the Rewrite rule if I do that?
- The topic ‘cutenews to wordpress redirecting old urls’ is closed to new replies.