Home >Backend Development >PHP Tutorial >How to write pseudo-static rules in windows and linux
anything with The address starting with a number goes to contents.php?w=$1. This $1 represents the previous ([0-9]+) received content, and the following means it is not case-sensitive. So how to use letters:
Just change the number to the range of letters you need. How to represent all word symbols:
Second, the Linux pseudo-static file name is: .htaccess rules:
Any address starting with a number goes to contents.php?w=$1. This $1 represents the previous ([0-9]+) received content, and the following [l,nc] represents case-insensitive. The letter representation is the same as windows How to represent all word symbols:
Through the above method, I believe you already know how to use pseudo-static rules, Just place the above files in the root directory of the space. As long as the space supports the above method, any language, asp, .net, php, jsp can be used. Pseudo-static can make the page URL look refreshing. As for SEO, Zhongshuo Fengyun, I don’t know if it has any effect. |