Coder Social home page Coder Social logo

sewyu / wordpress-on-bae Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gimhoy/wordpress-on-bae

1.0 2.0 0.0 96 KB

针对百度云BAE修改的WordPress中文版,优化安装过程,支持邮件和附件上传服务,解决页面乱码问题,实现WordPress在百度BAE上的运行,完美实现伪静态。

License: Other

wordpress-on-bae's Introduction

修改:Gimhoy(http://blog.gimhoy.com) 更新地址:http://blog.gimhoy.com/archives/wordpress-on-bae.html 使用过程如有任何问题,也请直接到该页面留言。

这是基于 3.6 中文版修改的 WordPress,可运行在百度云服务BAE上,使用百度云存储bcs来保存图片等,使用百度云消息bcms发送邮件,并在 BAE 上支持伪静态。

修改内容及解决的问题 1.安装过程优化:修改了 WordPress 的安装界面,针对 BAE 去掉了数据库的一些设置,取而代之的是百度云消息的消息队列名的设置。简化安装流程 2.邮件服务的支持:替换了 wp_mail 函数,采用百度云消息来实现邮件的发送。 3.页面乱码问题:在代码中交换 select db 和 set charset 的顺序,来解决 WordPress 在 BAE 运行时的乱码问题。 4.附件上传功能:增加一个云存储的插件,启用该插件后,可以让上传的图片发送到百度云存储上。并同时可以在 WordPress 后台进行管理。 5.支持伪静态:修改BAE中app.conf文件,完美支持WordPress伪静态。 6.Sitemap:自动支持Sitemap.xml和Sitemap.html.

安装前,你需要: 1.拥有一个百度BAE账号,创建一个APP. 2.访问百度云数据库,创建一个数据库(在应用下). 3.访问消息服务,创建一个消息队列. 4.访问云存储,创建一个 bucket.

安装过程中需自行根据提示创建wp-config.php后上传(或使用在线编辑器在线编辑) 安装完成后在插件页面,激活百度云存储插件即可

其他跟在普通空间安装wordpress无差别。

具体安装教程请点击查看:http://blog.gimhoy.com/archives/install-wordpress-on-bae.html | 在BAE上安装WordPress的详细图文教程

wordpress-on-bae's People

Contributors

gimhoy avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.