joe_mat
Aug 27th 2007, 3:07 am
Hello,
I am having a website where i am having dynamic URL pages in with .php extension.
eg:http://www.mydomain.com/subcategory.php?subcatID=5&subname=nokia-n70
i can have redirection code on. .htacces file like
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^category/([0-9]+)]+)/([0-9A-Za-z]+).html$ subcategory.php?subcatID=$1&subname=$2 [L]
and on php page i having have code that create dynamic pages to static pages.
echo "<a href='http://www.".$DOMAIN_NAME."/category/".$rw_sub[0]."/".
format_str(stripslashes($rw_sub[1])).".html'>".$rw_sub[1]."</A></DIV>";
it is creating my dynamic links to static links.
http://www.mydomain.com/category/5/nokia-n70.html
but when i click on that link i didn't find that pages there because i am not having that static html page on that specific static location.
i just wanna know is it possible to have that static pages there without creating them manually.
like if i have dynamic page as :
http://www.mydomain.com/subcategory.php?subcatID=5&subname=nokia-n70
and it became static as :
http://www.mydomain.com/category/5/nokia-n70.html
but can i have this static page there without make it manually on that location.
Please suggest.
Thanks
I am having a website where i am having dynamic URL pages in with .php extension.
eg:http://www.mydomain.com/subcategory.php?subcatID=5&subname=nokia-n70
i can have redirection code on. .htacces file like
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^category/([0-9]+)]+)/([0-9A-Za-z]+).html$ subcategory.php?subcatID=$1&subname=$2 [L]
and on php page i having have code that create dynamic pages to static pages.
echo "<a href='http://www.".$DOMAIN_NAME."/category/".$rw_sub[0]."/".
format_str(stripslashes($rw_sub[1])).".html'>".$rw_sub[1]."</A></DIV>";
it is creating my dynamic links to static links.
http://www.mydomain.com/category/5/nokia-n70.html
but when i click on that link i didn't find that pages there because i am not having that static html page on that specific static location.
i just wanna know is it possible to have that static pages there without creating them manually.
like if i have dynamic page as :
http://www.mydomain.com/subcategory.php?subcatID=5&subname=nokia-n70
and it became static as :
http://www.mydomain.com/category/5/nokia-n70.html
but can i have this static page there without make it manually on that location.
Please suggest.
Thanks