title: Alter section of URL using htaccess
body: <p>I'm trying to alter a part of an URL as below from this type URL ...</p>
  
  <pre><code>/shop/product/41/3030651/Apple-Imac-215-Inches-Me086ba-By-Viking.html
  </code></pre>
  
  <p>to this ..</p>
  
  <pre><code>/shop/product/1/030651/Apple-Imac-215-Inches-Me086ba-By-Viking.html
  </code></pre>
  
  <p>where all numbers like 41 are altered to 1 but it seems this code ...</p>
  
  <pre><code>RewriteRule ^product/([^/]+)/([^/]+)/([^/]+)\.html$ index.php?case=product&amp;proddb=$1&amp;pid=$2&amp;urltxt=$3 [L]
  </code></pre>
  
  <p>is interfering.</p>
  
  <p>I've tried lots of rewrite configurations but nothing seems to work but I do get a reaction from the code below ...</p>
  
  <pre><code>RedirectMatch 301 /shop/product/41/(.*) /shop/product/1/$1 
  </code></pre>
  
  <p>But it must conflict with the RewriteRule above as I get sent to the root of the site.</p>