Dede static modification of the whole site URL [070414 correction]. 1. Copy include to the include directory on the website. 2. modify the database and set all documents to "dynamic only". you can go to database management and run the following command: updatedede_a 1. Copy include to the include directory on the website.
2. modify the database
Set all documents to "dynamic only". you can go to database management and execute the following command:
Update dede_archives set ismake =-1
Set the default value of ismake to-1, which is dynamic.
Set all columns to "use dynamic pages" to go to database management and execute the following command:
Update dede_arctype set isdefault =-1
Set the default value of isdefault to-1, which is dynamic.
3. add server rewrite rules. for Apache2, you can add the following to the end of the httpd. conf file:
LoadModule rewrite_module modules/mod_rewrite.so
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
4. after adjustment
Go to the DEDE background management program and update the homepage.
Station after transformation: Fangzhou system station http://www.fz49.com
Bytes. 2. modify the database and set all documents to "dynamic only". you can go to database management and run the following command: updatedede_a...