I have written a rule for redirecting in .htaccess file its redirecting for some pages , if we give that link manually.. but what i want is ,it should redirect automatically....
My requirement is :
Instead of this link,
links.php?page=1&ipp=All&exchange=adddata
It should be redirected automatically
http://example.com/folder1/links/1/All/exchange.html
MY rule in .htaccess is
RewriteEngine On RewriteRule ^([0-9]+)/All/exchange.html$ links.php?page=1&ipp=All&exchange=adddata