Solutions for server rewrite

Source: Internet
Author: User
The rewrite on the server is probably to write a regular expression, www. test. com281 jump to www. test. comtest281test. the former of php is simple, and the latter is a directory. considering a lot of files in the future, I would like to ask if there is a better way to do this in August 1. if I do this, is there a way to make the domain name after the jump easier, such as www. test. comtest2-8-1 about server rewrite

Write a regular expression,
Jump to www.test.com/281to www.test.com/test/2/8/1/test.php

The former is simple, and the latter is a directory. considering a lot of files in the future, this is the case in August 1.
Is there a better solution?
In addition, if I do this, is it easier to implement the domain name after the jump, such as www.test.com/test/2-8-1?
I found that the URLs of some large websites seem very pleasing to the eye and how they are implemented ..

------ Solution --------------------
You can use the ID serial number and add the string. suffix.

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.