- [Isapi_rewrite] # enable disguised static rules
- Rewriterule/(%0-9%%%%.html/contents. php? W = $1 [I]
Any address starting with a number is transferred to contents. php? W = $1 this $1 represents the content received by the previous ([0-9] +), followedIs case insensitive. How to use letters:
- Rewriterule/(%a-z%%%%%.html/contents. php? W = $1 [I]
You only need to change the number to the letter range you need. How to represent all characters:
- Rewriterule/tag _ (. * example .html/search. php? S = $1 [I]
2. linux pseudo-static file names are:. htaccess rules:
- Rewriteengine on # enable disguised static rules
- Rewriterule (%0-9%%%%%.html $/contents. php? W = $1 [l, nc]
Any address starting with a number is transferred to contents. php? W = $1 this $1 represents the content received in the front ([0-9] +), and the [l, nc] in the back indicates that the content is case insensitive. The letter representation is the same as that for windows How to represent all characters:
- Rewriterule tag _ (. * developer.html $/search. php? S = $1 [l, nc]
Through the above method, I believe you already know how to use pseudo-static rules. you only need to place the above files in the space root directory. the above method, as long as space support, any language, asp ,. net, php, and jsp can all be used. the pseudo-static state can make the page url look fresh. as for seo, I don't know whether it works. |