What's the use of pseudo static?
The main thing is to cater to search engine convenience search engine spiders (Spider) to crawl the relevant content on the page!
Convenient for users to visit a good web site if the dynamic users in each other when the transmission of the feeling of trust will not be high, but a look at a static page relative to the user's confidence in the Web page on the top and pseudo static suffixes of the basic similarities to see the same as a static or a true web!
Application of pseudo-static in Phpwind
If you hire a virtual host, make sure that the space supports pseudo static mode, most commonly the. htaccess web-side configuration for Apache. If you are using a stand-alone host, you can configure the support pseudo static mode on the server. First of all, virtual space defaults to support. htaccess custom pseudo static (typically Linux virtual machines). htaccess configuration, save the following code as. htaccess to the server root directory.
Rewriteengine on
Rewriterule ^ (. *)-htm-(. *) $ $1.php?$2
Rewriterule ^ (. *) simple/([tf].+). html$/simple/index.php?$2.html
Independent server, if Win2003+iis, then you need to install a component called: Isapi_rewrite, after installation, edit Httpd.ini file, the contents are as follows:
[Isapi_rewrite]
# defend your computer from some worm attacks
Rewriterule. * (?: Global.asadefault.idaroot.exe ...). * . [F,i,o]
Rewriterule ^ (. *)-htm-(. *) $ $1.php?$2
Rewriterule ^ (. *)/simple/([a-z0-9_]+.html) $ $1/simple/index.php?$2
#Code by Josh @ phpwind 2008-10-08? ([a-za-z]+)
If it's an old version, please put
Rewriterule ^ (. *)-htm-(. *) $ $1.php?$2
This rule should read
Rewriterule ^ (. *)-htm-(. *) $ $1/.php?/$2,
Isapi_rewrite installation Tutorial See: PW Forum IIS set up a static directory tutorial