PHP pseudo-Static after the page all the links are to be manually modified?

Source: Internet
Author: User
PHP pseudo-Static after the page all the links are to be manually modified?
After my site is set pseudo-static, Static, dynamic address manual input can be accessed, but do not manually enter the foreground or dynamic address, I want to change the dynamic address to static? Is there any other way?

If I use pseudo-static. So all the links inside me have to be changed?
such as home page to change to home
???
Wouldn't it be a big project?

The link in my program is this:
">******

I set the pseudo-static rule that the display should be Inter_ "id". html. To achieve this, it do I link the dynamic address to the Web page to modify it?


------Solution--------------------
Yes, it's a lot of work.
Because you didn't plan to use pseudo-static at first.
------Solution--------------------
You can only change the link in the page.
------Solution--------------------
Let's change it manually.
------Solution--------------------
No way, this can only be changed manually.
------Solution--------------------
Your dynamic and pseudo-static URLs should have some rules, right? Write your own regular use the tool to replace it in bulk.
------Solution--------------------
Reference:
your dynamic and pseudo-static URLs should have some rules, right? Write your own regular use the tool to replace it in bulk.

This is a good choice, this tool you can also use PHP to write their own, but, in general, similar to the problem in the program before the beginning of writing should be considered good, or leave a posterior, you can choose whether to enable pseudo-static and so on! Otherwise it will definitely cause a lot of rework later!
------Solution--------------------
Programmers use programs to solve problems.
------Solution--------------------
I don't know how you changed it, but it's easy.
1, traverse all files to identify the href attribute should be all right?
2, the value of the href attribute from the shape such as "inter.php?shd= "Replace" "Is it supposed to be easy?"
3. Write a function URL returns a static address based on the outgoing parameter, which may be slightly more difficult

At this point, the problem of address generation has been solved once and for all
After you want to change the form of static address (or even change back to dynamic address), just modify this URL function can be
  • 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.