How to change url without redirection?
<p>I am facing rewrite url issue.</p>

<p>Current website url : </p>

<pre><code>testwebsite.com/dev/films.php?id=test
</code></pre>

<p>I want : </p>

<pre><code>testwebsite.com/dev/test
</code></pre>

<p>I tried too many htaccess changes but it is not working.</p>

<p>I think below it must work</p>

<pre><code>Options +FollowSymlinks
RewriteEngine on
RewriteRule ^dev/([0-9]+)-([a-z]+)/ http://testwebsite.com/dev/films.php?id=$1 [NC]
</code></pre>

<p>unfortunately, i got 404 page not found.</p>

<p>When i removed htaccess and tried </p>

<pre><code>testwebsite.com/dev/films/test
</code></pre>

<p>it is working. I dont have c panel access. Is there server side redirection?</p>

<p>I dont know what is the issue? How do i solved</p>