 <pre><code>RewriteEngine on RewriteRule ^(\w+)$ /view.php?somevar=$1 [L] </code></pre> <p>You have to set NAME as the value of some variable.</p> <p>This example allows NAME to be any word.. if you want something specific... just replace \w+ with whatever specific thing you want.</p>