How to select different entries Based on the access address

Source: Internet
Author: User
The website itself has a rewrite rule: RewriteRule ^ (. *) $ index. php $1 [QSA, PT, L], I want to follow this address expression www. xxx. comzh-cnoop_555 (number) * select another entry xxx. how does php add rewrite rules? I did not try it many times. The major gods have helped the website itself to rewrite the rules: RewriteRule ^ (. *) $ index. php/$1 [QSA, PT, L],
I want to select another entry xxx. php Based on the address expression www.xxx.com/zh-cn/oop_555 (number )/*.
How do I add rewrite rules?
I did not try it many times.

Reply content:

The website itself has a rewrite rule: RewriteRule ^ (. *) $ index. php/$1 [QSA, PT, L],
I want to select another entry xxx. php Based on the address expression www.xxx.com/zh-cn/oop_555 (number )/*.
How do I add rewrite rules?
I did not try it many times.

You can use the binding model.

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.