Php pseudo-static code, which is very simple.

Source: Internet
Author: User
Php pseudo-static rules. it is very simple. at the end of this post, XiAnTianYiChuanMei edited www. xx. comindex. phpwww. xx. comindex. php at 2013-11-0918: 22: 50? &Amp;page2after rewriting www.xx.comindex.htmlwww.xx.com2.html php pseudo-static rules, it is very simple to come with

This post was last edited by XiAnTianYiChuanMei at 18:22:50, January 9 ,.

Www.xx.com/index.php
Http://www.xx.com/index.php? & Page = 2



After rewriting
Www.xx.com/index.html
Www.xx.com/2.html



Apache rules

Share:


------ Solution --------------------
RewriteRule into index.html $ index. php
RewriteRule ^ (\ d1_0000.html $ index. php? Page = $1

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.