URL rewirte and redirect problem
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
aamir [2008] | zziapex[2008]
and after rewrite my URL
is
aamir [2008] | zziapex
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
-
Nathan Joshua -
Thanks
SignatureWebsite Design Shaftesbury{{ DiscussionBoard.errors[5971833].message }} -
-
phpg -
Thanks - 1 reply
{{ DiscussionBoard.errors[5974213].message }}-
Earnie Boyd -
Thanks
SignatureEarnie Boyd{{ DiscussionBoard.errors[5975674].message }} -
-