Does. htaccess support converting static URLs to dynamic URLs? Solution

Source: Internet
Author: User
Does. htaccess support converting static URLs to dynamic URLs? I tried several rules but none of them worked. Shape: category-newspage-2.html turn? Category-newspage-2.html ------ solution -------------------- should be no problem, url rewriting does not distinguish between dynamic or static, only care about the url content passed & nbsp; as for the rule. does htaccess support converting static URLs to dynamic URLs?
I tried several rules but none of them worked.
Like:/category-news/Page-2.html turn /? Category-news/Page-2.html



------ Solution --------------------
There should be no problem. url rewriting does not distinguish between dynamic and static. it only cares about the transmitted url content.
As for the rules, I am not clear and have not learned
------ Solution --------------------
What I understand is: do I need to convert a static address to a dynamic address, and then resolve the dynamic address to an address? It's totally unnecessary, right? that's two targeting times?

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.