Basically what I want to do is to convert this:
I have managed to make
/jariungu/caleg/3 to direct to the original URL (as in, if I open that URL, it directs me to the appropriate page).
The problem is, once opened, the URL returns to the original, ugly one in the address bar.
This is what I tried. Could someone provide a help?
<IfModule mod_rewrite.c> Options +FollowSymlinks RewriteEngine On RewriteBase /jariungu/ RewriteRule ^caleg\/([0-9]+)\/([a-zA-Z]+\s*[0-9]*)/?$ caleg.php?idCaleg2014=$1&namaCaleg=$2 [NC,L] RewriteRule ^caleg\/([0-9]+)/?$ caleg.php?idCaleg2014=$1 [NC,L] </IfModule>
© Pro Webmasters or respective owner