How can I install wordpress in the firebase hosting?

主宰稳场 提交于 2019-12-05 11:35:39

问题


How can I install Wordpress in the Firebase Hosting ? I tried to find an article to help me to install but I didn't find one.


回答1:


WordPress requires PHP to run on the server and Firebase Hosting can't run server-side code (no PHP) but only static content (html, images, js, etc). So the answer is, you can't install WordPress in the Firebase Hosting.




回答2:


You can't install the dynamic version of Wordpress. Instead, you can create a static version of Wordpress using a plugin called Simply Static. Check it here: https://wordpress.org/plugins/simply-static/

It will export your site to html so the server won't need to support PHP or any database. It's great to use in simple websites that don't need to be updated frequently.



来源:https://stackoverflow.com/questions/40955512/how-can-i-install-wordpress-in-the-firebase-hosting

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!