Implement WordPress fixed links and pseudo-static links in Bae

Source: Internet
Author: User
What is Bae?

Baidu application engine (BAE) is a network application development platform based on Baidu's infrastructure. Based on the BAE architecture, developers do not need to maintain any servers, you only need to upload an application to provide services for users. BAE has the ability to transform the standalone lamp architecture into a distributed architecture.

Developers can develop, compile, publish, and debug PHP, Java, and Python applications based on the BAE platform. At the same time, the BAE platform also provides a large number of cloud services to developers, including fetch URL, task queue, SQL, and memcache. More services will be provided in the future. In terms of performance, if developers want to increase service capabilities, they can flexibly adjust the performance by applying for more execution units.

The Bae service allows developers to get rid of tedious environment and service problems during the development of network applications, and focus on business logic.

You can simply upload applications to provide services for users. BAE has the ability to transform the standalone lamp architecture into a distributed architecture.
Developers can develop, compile, publish, and debug PHP, Java, and PYT applications based on the BAE platform. At the same time, the BAE platform also provides a large number of cloud services to developers, including fetch URL, task queue, SQL, and memcache. More services will be provided in the future. In terms of performance, if developers want to increase service capabilities, they can flexibly adjust the performance by applying for more execution units.

Direct focus

Solution 1: For apps. config is modified. This is to modify the text in the root directory. The method is simple, but there are still some problems. For example, the Homepage cannot jump to the Management page, which is a problem that cannot be automatically parsed.

The full text of APP. config is as follows:

handlers:   - expire : .jpg modify 10 years   - expire : .swf modify 10 years   - expire : .png modify 10 years   - expire : .gif modify 10 years   - expire : .JPG modify 10 years   - expire : .ico modify 10 years   - url : (.*)\.css$     script : $1.css   - url : (.*)\.js$     script : $1.js   - url : (.*)\.jpg$     script : $1.jpg   - url : (.*)\.gif$     script : $1.gif   - url : (.*)\.png$     script : $1.png   - url : (.*)\.jpeg$     script : $1.jpeg   - url : (.*)\.php$     script : $1.php   - url : (.*)     script : /index.php

 

Solution 2:

1. log onto the developer platform and select the corresponding version-Configuration

2. Click Add.

3. This is the urlwrite rule on the homepage. For the effect, see www.banysky.net. For the help documentation, see the official website:

The complete configuration is as follows:

The pseudo-static state is finally completed, and Baidu and Google are expected to be included as soon as possible.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.