Forum Moderators: phranque
RewriteRule ^stories\/([0-9]+)\/(.*)+ stories/index.cfm?id=$1 Redirect 301 /stories/2000/title-of-story http://host/stories/2001/another-story
http://host/stories/2001/another-stories?id=2000 RewriteRule ^stories\/([0-9]+)\/(.*)+ stories/index.cfm?id=$1
and this works perfect.
now, i would redirect one page (just rewrited) to another:
Redirect 301 /stories/2000/title-of-story http://example.com/stories/2001/another-story
but apache redirect to
http://example.com/stories/2001/another-stories?id=2000
appending to url the query string "?id=2000"
RewriteRule ^stories/2000/title-of-story$ stories/2001/another-story
doesn't work :-/