iinnovations wrote:Lob0426 wrote:Your existing pages will be in the /usr/share/nginx/www folder. The WordPress Posts and Pages are stored in the MySQL database. How do you propose to link them into one site?
It's possible, but the rewrite rules would be a mess.
WordPress uses PHP not HTML.
Wordpress uses PHP to generate html. To be clear, everything you read on the page you are currently looking at is html. It is the language of your web browser. However you generate it, it is generated. This is why WP can be ungodly slow. It takes time to run php to read a database for all sorts of data that it jams together, using a theme, to generate the pretty html pages.
Linking the pages: Yes it is possible, but do you have the ability to do it? I am pretty sure he doesn't, I know I don't. But I explained an easy way to get the same effect.
WordPress uses PHP not HTML:
Trying to keep the explanation simple.
The difference is not in what you are seeing. It is in what WordPress USES, it uses PHP, it is shown to the world HTML. So there was nothing incorrect about my statement. WordPress uses PHP not HTML to build ITS pages.
I transfered my pages into WordPress and had to strip away some of the formatting and code from an HTML editor. WordPress did not display it properly. In fact it was easier to copy just the text over and edit it in WordPress to add the images or code back in. WordPress likes plain text and then uses its own "code" to display images or code or URL's. So been there done that.
When you use a cache such as WP FastCache or Total cache it converts the pages to static HTML page files and serves them outside the database. This increases their serve speed. Average serve time for my pages full of pictures is about 3.5 seconds per. Part of this time is due to looping from my use of DynDns. Can it be faster? Yes. Does it need to be? No. Not for a personal site it doesn't.
He wants to have static pages and be able to use WordPress because it is easy. He can do that by using WordPress, but not in its usual way. Then the cache serves the pages as static HTML.
It is the online editor that makes WordPress easy. You can edit or create pages from anywhere on any device. Using an iPad right now. Some of my pages were created on an iPhone, some on a netbook, some on my desktop. I can even use my UBUNTU based CNC system to create Pages. An Android device, yes. That is why people don't care about slow.
I have used WordPress, and other sites, on a server (my Atom 330 server 2003(WHS)) and a Panda Board ES (UBUNTU). Serve times about 1 second per page and 1 seconds per page. I have also used online hosting. So WordPress is not unusually slow. Again not for a personal site.
If you want fast then pay for a website. You have a time critical website that needs to serve numerous connections simultaneously (concurrent) then don't use a Raspberry Pi. If you want convenient and cheap then build a site on a Raspberry Pi and host it from home. WordPress makes it easy, not fast!