返回列表 发帖

请教个000空间数据如何优化的问题

收到000发来的信,说是数据缓慢应如何处理呢,不是不按他们的规定去办,只是不知道如何处理,谁给个这方面的教程呢,别再因为这个被删辛苦做的站了
分享到: QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友

TOP

dz7.2和dede的程序

TOP

ip少得可怜啊

TOP

本帖最后由 jlahui 于 2011-3-9 21:57 编辑

000空间不可以用伪静态的,切记啊,不然删你没商量。以下是我试过的,在000空间一定能行,好用,可是在试过的第二天,网站没有了可能造成什么数据缓慢了,谁要不信可以试试,之后告诉站还有没了,呵呵
.htaccess文件里的内容如下。

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteRule ^archiver/([a-z0-9\-]+\.html)$ archiver/index.php?$1
RewriteRule ^forum-([0-9]+)-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2
RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ viewthread.php?tid=$1&extra=page\%3D$4&page=$2
RewriteRule ^profile-(username|uid)-(.*)\.html$ viewpro.php?$1=$2
RewriteRule ^space-(username|uid)-(.+)\.html$ space.php?$1=$2
RewriteRule ^tag-(.+)\.html$ tag.php?name=$1
</IfModule>

TOP

返回列表