How can I install wordpress in the firebase hosting?

前端 未结 2 1033
谎友^
谎友^ 2021-02-11 16:37

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.

相关标签:
2条回答
  • 2021-02-11 17:07

    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.

    0 讨论(0)
  • 2021-02-11 17:12

    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.

    0 讨论(0)
提交回复
热议问题