Hi guys
I need help with redirecting from post?id=11111 to index.php?page=post&title=title&id=11111
Solved and got solution from this link https://www.daniweb.com/web-development/php/threads/489469/how-to-redirect-dynamic-url-using-php
$curPageURL="http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
$url="http://abc.com/gallery.php?id=1";
if($curPageURL == $url)
{
header("Location: http://abc.com/error404");
}