What should I pay attention to when buying commercial housing?
Xuzhou second-hand housing _ Xuzhou second-hand housing information 2008-10-10 02: 01:23 Author: Wang Jing Source: Text: large, medium and small
The second one won't open.
A question mark is missing at the end of the second address?
The Making of pseudo static Page
We see that the addresses of some websites end in. Htm or. Html, in the format of /html/guide/2/ 1.htm, some are really static pages, and some are from pseudo static.
I have done both static and pseudo static websites, among which pseudo static is easier to make and maintain. So first of all, let me introduce the implementation method of pseudo static. The method I introduced here is not realized by URL rewriting, and it is easier to make and maintain without rewriting complicated URL rewriting rules.
See/for detailed cases. Because pages like "Member Center" need to be logged in to access, they will not be made into pseudo static. Otherwise, it is easy to expose that the "static page" of this website is fake, hehe.
The first step is Apache configuration.
Apache configuration required in/'/>.
Change the website address to your own website address.
The fifth step is to rewrite the link.
The link to the pseudo static page is written like this
& lt? include _ once(" html . PHP "); ? & gt
& lthtml & gt
& lthead & gt
& lttitle & gt quick wizard
& ltbase href = '/'/& gt;
& lthead & gt
& ltbody & gt
& lta href= "。 /" & gt; home page
& lta href = " & lt? =url("guide.php? page = 2 & amptypeid = 1 "); ? >> design guide
& lt/body & gt;
& lt/html & gt;
At this point, our pseudo static page has been completed. Adding multiple pseudo static pages, as long as the program is changed, does not need to rewrite the URL rewriting rules, or multiple sites on the virtual machine need to be made into pseudo static pages, which is particularly simple.
To change back to the dynamic website, just change the content of html.php to.