title: .httaccess issue - rewrite url
body: <p>I have this URL: <code>https://www.example.com/zitra/munch-edward-vykrik-(1910)-ido-6017</code> and I need to rewrite it into this shape: <code>https://www.example.com/zitra/strany/jedenobraz.php?id=6017</code> (my issue is to add directory &quot;strany&quot; into final url). I'm using this rewrite rule:</p>
  <pre><code>RewriteRule (.*)-ido-(.*) jedenobraz.php?id=$2
  </code></pre>
  <p>I guess that's something with rewrite base, because on common.httacces testers a little bit different solution works and there is another working .htaccess file in root directory level. But I'm not able to handle it...</p>
  <p>On example.com level is a working .httaccess, in directory zitra is .htaccess with &quot;RewriteEngine off&quot; and I'm testing everything in directory strany...</p>
  <p>Many thanks for hints or tips in advance!</p>