php - .htaccess Rewrite Rules conflict -


i have .htaccess file written follows:

rewriteengine on  rewriterule ^/?([^/.]+)$ display.php?category=$1 [b,l]  rewriterule ^gallery/([^/.]+)/?$ gallery.php?category=$1 [l] rewriterule ^([-_\+a-za-z0-9,]+)$ displayitem.php?item=$1 [l]  rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^([^/]+)/([^/]+)/([^/]+)/?$ displayitem.php?item=$1&start=$2&page=$3 [l,qsa] 

the problem occurs while displaying displayitem.php?item=$1. when try execute command, page stay on previous page , displayitem.php not found.

this weird. if comment out following line:

rewriterule ^/?([^/.]+)$ display.php?category=$1 [b,l]  

which used pass utf-8 character, works fine , rules executed , parameters passed. however, utf-8 character not passed correctly , echo page not found.

please help!! thanks.


Comments

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -