Pseudo-static rules affect each other. how can this problem be solved?

Source: Internet
Author: User
Pseudo-static rules affect each other. what should I do? RewriteRule ^/member /(. *)/(. *)/(. *)/(. *)\. html $/member/$1 \. php? $2 = $3 & page = $4 [NC, L]
RewriteRule ^/match/$/member/match \. php [NC, L]
RewriteRule ^/love-store/$/news/love \. store \. php [NC, L]
RewriteRule ^/love-store/(. *) \. html $/news/love \. store \. php? Page = $1 [NC, L]
RewriteRule ^/(. *)/$/index. php? City = $1 [NC, L]
RewriteRule ^/member/$/member/index \. php [NC, L]
RewriteRule ^/consum/(. *) $/member/consum \. php? Backurl = $1 [NC, L]
RewriteRule ^/login/(. *) $/member/login \. php? Backurl = $1 [NC, L]
RewriteRule ^/register/(. *) $/member/register \. php? Backurl = $1 [NC, L]
RewriteRule ^/member/meshis/(. *) \. html $/member/meshis \. php? Id = $1 [NC, L]
RewriteRule ^/member/(. *)/$/member/$1 \. php [NC, L]
RewriteRule ^/member/(. *) \. html $/member/$1 \. php? $2 = $3 [NC, L]
RewriteRule ^/display/(. *) \. html $/member/display \. php? Mid = $1 [NC, L]
RewriteRule ^/member/(. *)/(. *) \. html $/member/$1 \. php? Page = $2 [NC, L]
RewriteRule ^/vip/$/member/vip \. php [NC, L]
RewriteRule ^/search/$/member/search \. php [NC, L]
RewriteRule ^/news/show/(. *) \. html $/news/show \. php? Id = $1 [NC, L]
RewriteRule ^/(. *)/$/news/$1 \. php [NC, L]
RewriteRule ^/about/(. *) \. html $/news/about \. php? Id = $1 [NC, L]
RewriteRule ^/(. *)/(. *) \. html $/news/$1 \. php? Page = $2 [NC, L]

I added the red part of the rule to make a substation pseudo-static, resulting in all the following useless. what should I do? please give me some advice and optimize it
The member news folder exists.


Reply to discussion (solution)

Put the rules in red to the lowest level.

Put the rules in red to the lowest level.


Put it to the bottom test. invalid...

RewriteRule ^/(. *)/$/index. php? City = $1 [NC, L]
Put to the bottom

I put it at the bottom and tried it. Error 404 ..

This is a pseudo-static file under IIS, not from apache ..

No matter where it is, the principle will not change.
The range is small, and the range is large.

No matter where it is, the principle will not change.
The range is small, and the range is large.



Will it be ineffective ..

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.