Dede Total station URL static transformation [070414 correction]_php Tips

Source: Internet
Author: User
1. Copy the include to the Include directory in the Web site.
2, modify the database
To set all documents to dynamic only, you can go to database management and execute the following command:
Update dede_archives Set Ismake=-1
and setting the default value of Ismake to-1 is dynamic.
Set all columns to "use dynamic pages", you can go to database management, and execute the following command:
Update Dede_arctype Set Isdefault=-1
and setting the default value of IsDefault to-1 is dynamic.
3, to join the server rewrite rules, for Apache2, you can add the following in the final httpd.conf file:
LoadModule Rewrite_module modules/mod_rewrite.so
<ifmodule mod_rewrite.c>
Rewriterule ^ (. *)/view-([0-9]+) \.html$ $1/plus/view.php?aid=$2
Rewriterule ^ (. *)/view-([0-9]+)-([0-9]+) \.html$ $1/plus/view.php?aid=$2&pageno=$3
Rewriterule ^ (. *)/list-([0-9]+) \.html$ $1/plus/list.php?tid=$2
Rewriterule ^ (. *)/list-([0-9]+)-([0-9]+) – ([0-9]+) \.html$ $1/plus/list.php?typeid=$2&totalresult=$3& Pageno=$4
</IfModule>
4, after the adjustment is completed
To the Dede background management program, update the home page, complete.
After the transformation of the station: Ark System Station http://www.fz49.com

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.