title: 301 Redirect htaccess issue
body: <p>I want to do a 301 redirect for my site URL's like  <a href="http://example.com/old-folder/allhtmlfiles.html" rel="nofollow">http://example.com/old-folder/allhtmlfiles.html</a> to  <a href="http://example.com/new-folder/allhtmlfiles.html" rel="nofollow">http://example.com/new-folder/allhtmlfiles.html</a>. </p>
  
  <p>All html files under old-folder should be accessible with the /new-folder/ </p>
  
  <p>How can  I do this, I tried some solutions I found here but they were  giving me 404 errors.</p>
  
  <p>Thanks for your help.</p>
  
  <p>Suzy Matts</p>
  
  <hr>
  
  <p>I changed my .htaccess accordingly but does'nt work. 
  I think I had not clearly mentioned the slug change in my previous question.</p>
  
  <p>This was the actual previous link in this wordpress site, </p>
  
  <p><a href="http://dland.in/sale/land-in-madikeri-karnataka-state-india-1750-acre/" rel="nofollow">http://dland.in/sale/land-in-madikeri-karnataka-state-india-1750-acre/</a></p>
  
  <p>and now the folder name has changed and this is the new link </p>
  
  <p><a href="http://dland.in/kerala-real-estate-sale/land-in-madikeri-karnataka-state-india-1750-acre/" rel="nofollow">http://dland.in/kerala-real-estate-sale/land-in-madikeri-karnataka-state-india-1750-acre/</a></p>
  
  <p><strong>the second slug (land-in-madikeri-karnataka-state-india-1750-acre) can be any</strong></p>
  
  <p>so I want to get a 301 redirect to the new link.</p>
  
  <p>Thanks a lot.</p>