.htaccess - htaccess two rewrite rules -
i have code in htaccess not passing page variable post.php other working fine.i don't know happening.i new htaccess please help
rewriteengine on rewritebase /blog/ rewritecond %{request_filename} !-d rewritecond %{request_filename} !-f rewriterule ^([0-9]+)/?$ post.php?page=$1 [l] rewritecond %{request_filename} !-d rewritecond %{request_filename} !-f rewriterule ^([0-9]+)/([^/]+)/?$ post.php?id=$1&name=$2 [l]
now thinking if can learn htaccess please can tell me , free resource advance!
i restarted apache server , code works don't know happened satisfied.my code , accurate
i using xampp.it not mine xampp problem
Comments
Post a Comment