Hello
I am try to redirect my dynamic URL to static URL.
I write some code in .htaccess
My .htaccess code
Options +FollowSymLinks
RewriteEngine on
RewriteRule bollywood-film-(.)-(.)\.html$ bollywood-film-page.php?film_id=$1&film_name=$2
My dynamic URL is
http://www.zziapex.com/bollywood-film-page.php?film_id=80&film_name=aamir%20[2008]
and after rewrite my URL
is
http://www.zziapex.com/bollywood-film-80-aamir%20[2008].html
but now problem is
i am not able to redirect my dynamic URL to static URL
i am using this code to redirect my URL
$fack_URl = “bollywood-film-”.$film_id . “-” .$film_name. “.html”;
header(“Location: $fack_URl”);
can one help me?
to redirect my dynamic URL to static URL