WordPress Chinese URLs do not support Apache rewrite. Chinese ipage does not support Chinese.

Source: Internet
Author: User

WordPress site, good space in China, just limit capacity...

Translation to the IP age space outside China, but found a fatal problem: Chinese URLs are not supported !!!

Http://my.oschina.net/cart/

 
<! Doctype HTML public "-// IETF // dtd html 2.0 // en"> <HTML>  
What should we do?

Http://my.oschina.net/cart/

I sent a ticket to a foreigner. The foreigner said that the technology was working hard to solve the problem and directed a blind path to me the next day...

Finally, I am helpless. Please do it yourself!

 
Problem Analysis: space does not support Chinese characters, so we must bypass Chinese characters. Clever people think of URL encoding.

Http://my.oschina.net/cart/

 
Solution: 1. the URL is URL-encoded twice to bypass Chinese characters when the browser is opened: <a href = "<? PHP echo urlencode ('template');?> "> Template </a> 2. in index. at the top of PHP, reverse your url: $ _ server ['request _ URI '] = urldecode ($ _ server ['request _ URI']); // to solve ipage.com not support the Chinese

Apache rewrite does not support Chinese URLs!

TIPS: smart colleagues will find that this will affect Seo indexing. The URL is encoded twice. The best way is to find a service provider!

This is what the service provider has not done !!!

Http://my.oschina.net/cart/



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.