url - Multiple mappings in .htaccess files don't work -
i have mapping in .htaccess file
rewriterule outdoors/trees/(.*)/(.*) outdoors/trees/tree.php?tree_id=$1 rewriterule outdoors/parks/(.*)/(.*) outdoors/parks/park.php?tree_id=$1
for reason mapping trees works, 1 parks not. trying have url this: http://www.comehike.com/outdoors/parks/park.php?park_id=1
to redirect 1 looks this: http://www.comehike.com/outdoors/parks/3/parkname
any idea why isn't working redirects showed above?
thanks, alex
the last
flag may work.
rewriterule outdoors/trees/(.*)/(.*) outdoors/trees/tree.php?tree_id=$1 [l] rewriterule outdoors/parks/(.*)/(.*) outdoors/parks/park.php?tree_id=$1 [l]
edit: typo in park_id
rewriterule outdoors/trees/(.*)/(.*) outdoors/trees/tree.php?tree_id=$1 [l] rewriterule outdoors/parks/(.*)/(.*) outdoors/parks/park.php?park_id=$1 [l]
Comments
Post a Comment