what's the use of back references in Rewriterule in mod_rewrite?
marked as duplicate by Chris S♦, Iain, Ben Pilbrow, Scott Pack, Ward Feb 16 '11 at 20:23
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
See this for excruciating details:
Backreferences are used to address specific match-groups in
(2008|2009) is a reference, and $1 is the backreference. Same for (.*) and $2. As you can see, they're used for URL rewriting. See the "RewriteRule matching syntax" section of the answer I linked to.