title: Rewrite with redirect in htaccess
body: <p>Original URL 1 - www.mysite.com/gallery-category.php?gallname=garments&amp;GalleryID=10 <br/>
  SEF URL 1 - <a href="http://www.mysite.com/photos-garments~10.html" rel="nofollow">http://www.mysite.com/photos-garments~10.html</a></p>
  
  <p>Original URL 2 - www.mysite.com/gallery-category.php?gallname=furniture&amp;GalleryID=20 <br/>
  SEF URL 2 - <a href="http://www.mysite.com/photos-furniture~20.html" rel="nofollow">http://www.mysite.com/photos-furniture~20.html</a></p>
  
  <p>Original URL 3 - www.mysite.com/gallery-category.php?gallname=plastics&amp;GalleryID=30 <br/>
  SEF URL 3 - <a href="http://www.mysite.com/photos-plastics~30.html" rel="nofollow">http://www.mysite.com/photos-plastics~30.html</a></p>
  
  <p>To get this SEF URL, I wrote RewriteRule in .htaccess as <br/></p>
  
  <pre><code>RewriteRule ^photos-(.+)~(.+).html gallery-catagory.php?gallname=$1&amp;GalleryID=$2&amp;%{QUERY_STRING} [nc]
  </code></pre>
  
  <p>But now I want to redirect ONLY one particular URL to be redirected to another page.</p>
  
  <p>i.e ONLY the <a href="http://www.mysite.com/photos-plastics~30.html" rel="nofollow">http://www.mysite.com/photos-plastics~30.html</a> to be redirect to <a href="http://www.mysite.com/plasticphotos.html" rel="nofollow">http://www.mysite.com/plasticphotos.html</a> the other 2 original URL's to be same page</p>
  
  <p>I tried below Redirect URL, it is working but it redirect with the query string in browser - <a href="http://www.mysite.com/plasticphotos.html?gallname=plastics&amp;GalleryID=30" rel="nofollow">http://www.mysite.com/plasticphotos.html?gallname=plastics&amp;GalleryID=30</a></p>
  
  <p>Redirect URL <br/></p>
  
  <pre><code>Redirect /photos-plastics~30.html http://www.mysite.com/plasticphotos.html
  </code></pre>
  
  <p>The output URL suppose to be - <a href="http://www.mysite.com/plasticphotos.html" rel="nofollow">http://www.mysite.com/plasticphotos.html</a> </p>
  
  <p>Please help me to fix this.</p>
  
  <p>Thanks.</p>