Hi all, let me write down the code :- AddType application/x-httpd-php .php .html Options +FollowSymlinks RewriteEngine on RewriteBase /blogs/ DirectoryIndex /blogs/index.html ErrorDocument 404 /blogs/index.html RewriteRule ^blog/(.*).html$ /blogs/blog_disp.php?file=$1 [R,L] now the problem is, it redirect properly but it shows the URL in browser i.e. it shows /blogs/blog_disp.php?file=health-online-colleges .. please let me know how can i avoid this.. it should not show this URL, it should do the redirect silently.
I would change that last line to RewriteRule ^blog/(.*).html$ /blogs/blog_disp.php?file=$1 [L] Code (markup):