title: Redirect custom urls to root domain using htaccess
body: <p>Having a wordpress website, I have a list of urls that I would like to have redirected to the root domain using the .htaccess file. Nothing fancy here just that when looking for this info I either found how to redirect all urls or specific folders but not a custom list of urls.</p>
  
  <p>For example one of my urls is like this: example.com/path1/path2/ and I can easily add <code>Redirect 301 /path1/path2/ http://example.com/</code> just under the <code>RewriteEngine On</code> line in my .htaccess file.</p>
  
  <p>By doing this, any other example.com/path1/path2/moreUrlPath/here will be redirected to example.com/moreUrlPath/here and adding another <em>custom</em> redirection line like this <code>Redirect 301 /path1/path2/moreUrlPath/here http://example.com/</code> will have no effect whatsoever.</p>
  
  <p>Bottomline, having a list of urls, how can I permanently redirect them to the root domain?</p>