无标题文档
wdCP系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdCDN系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
wdOS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用教程) wdDNS系统 (介绍,功能特性,运行环境,安装说明,演示,常见问题,使用手册)
注册 发贴 提问 回复-必看必看 wddns免费智能 DNS 开通 本地或虚拟机使 用wdcp 一键包在mysql编 译时"卡住"
AI导航网AI应用网站大全 wdcp官方技术支持/服务 阿里云8折优惠券 无敌云 腾讯云优惠中,现注册更有260代金额券赠送
返回列表 发帖
提问三步曲: 提问先看教程/FAQ索引(wdcp,wdcp_v3,一键包)及搜索,会让你更快解决问题
1 提供详细,如系统版本,wdcp版本,软件版本等及错误的详细信息,贴上论坛或截图发论坛
2 做过哪些操作或改动设置等

温馨提示:信息不详,很可能会没人理你!论坛有教程说明的,也可能没人理!因为,你懂的

[求助] 伪静态不能使用?服务器环境问题?

伪静态规则是多多淘宝客的

  1. location / {
  2. rewrite /index\.html$ /index.php last;
  3. rewrite /sitemap\.html$ /sitemap.php last;
  4. rewrite /userbao-(.*)-(.*)-(.*)-(.*)\.html$ /userbao.php?id=$1&catid=$2&xs=$3&page=$4 last;
  5. rewrite /userbao-(.*)\.html$ /userbao.php?id=$1 last;
  6. rewrite /baobeilist\.html$ /baobeilist.php last;
  7. rewrite /baobeilist-(.*)-(.*)-(.*)-(.*)\.html$ /baobeilist.php?catid=$1&sort=$2&key=$3&page=$4 last;
  8. rewrite /baobei-(.*)-(.*)\.html$ /baobei.php?id=$1&page=$2 last;
  9. rewrite /baobei-(.*)\.html$ /baobei.php?id=$1 last;
  10. rewrite /malllist\.html$ /malllist.php last;
  11. rewrite /shoplist\.html$ /shoplist.php last;
  12. rewrite /article\.html$ /article.php last;
  13. rewrite /user/center\.html$ /user/center.php last;
  14. rewrite /mall-(.*)-(.*)-(.*)\.html$ /mall.php?id=$1&act=$2&page=$3 last;
  15. rewrite /mall-(.*)-(.*)\.html$ /mall.php?id=$1&act=$2 last;
  16. rewrite /mall-(.*)\.html$ /mall.php?id=$1 last;
  17. rewrite /view-(.*)-(.*)\.html$ /view.php?iid=$1&page=$2 last;
  18. rewrite /view-(.*)\.html$ /view.php?iid=$1 last;
  19. rewrite /malllist-(.*)-(.*)-(.*)\.html$ /malllist.php?catid=$1&mall=$2&page=$3 last;
  20. rewrite /article_list-(.*)-(.*)\.html$ /article_list.php?cid=$1&page=$2 last;
  21. rewrite /article_list-(.*)\.html$ /article_list.php?cid=$1 last;
  22. rewrite /read-(.*)\.html$ /read.php?id=$1 last;
  23. rewrite /shoplist-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)\.html$ /shoplist.php?cid=$1&keyword=$2&start_level=$3&end_level=$4&area=$5&px=$6&cpr=$7&type=$8&page=$9 last;
  24. rewrite /list-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)\.html$ /list.php?cid=$1&start_price=$2&end_price=$3&sort=$4&area=$5&guarantee=$6&list=$7&q=$8&page=$9 last;
  25. rewrite /shop-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)\.html$ /shop.php?nick=$1&start_price=$2&end_price=$3&sort=$4&area=$5&guarantee=$6&list=$7&q=$8&page=$9 last;
  26. rewrite /shoplist-(.*)\.html$ /shoplist.php?cid=$1 last;
  27. rewrite /shop-(.*)\.html$ /shop.php?nick=$1 last;
  28. rewrite /list-(.*)\.html$ /list.php?cid=$1 last;
  29. rewrite /tbimg/(.*)\.jpg$ /topic.php?pic=$1 last;
  30. rewrite /list\.html$ /list.php last;
  31. rewrite /huangou-(.*)\.html$ /huangou.php?id=$1 last;
  32. rewrite /huan-(.*)-(.*)\.html$ /huan.php?keyword=$1&page=$2 last;
  33. rewrite /huan\.html$ /huan.php last;
  34. rewrite /coupons-(.*)-(.*)\.html$ /coupons.php?cid=$1&page=$2 last;
  35. rewrite /coupons\.html$ /coupons.php last;
  36. rewrite /cuxiao-(.*)\.html$ /cuxiao.php?id=$1 last;
  37. rewrite /tg-(.*)-(.*)-(.*)-(.*)-(.*)\.html$ /tg.php?city_id=$1&catid=$2&mallid=$3&keyword=$4&page=$5 last;
  38. rewrite /tg-(.*)-(.*)-(.*)-(.*)\.html$ /tg.php\?city_id=$1&catid=$2&mallid=$3&page=$4 last;
  39. rewrite /tg-(.*)-(.*)-(.*)\.html$ /tg.php?city_id=$1&catid=$2&mallid=$3 last;
  40. rewrite /tg-(.*)\.html$ /tg.php?city_id=$1 last;
  41. rewrite /tg\.html$ /tg.php last;
  42. rewrite /tgview-(.*)\.html$ /tgview.php?id=$1 last;
  43. }
复制代码

在rewrite规则管理管理里添加这个规则,没有用哦
http://bbs.meizaina.com

我也是用的多多,把规则放到根目录就可以了,可以使用

TOP

回复 2# 359865306


    怎么放啊?官方提供的.htaccess文件吗???
http://bbs.meizaina.com

TOP

回复 2# 359865306


    你的是lamp还是lnmp啊
http://bbs.meizaina.com

TOP

回复 4# ainan


    lamp~~~~~~~~~~~

TOP

重置一下数据,清空缓存
touch-pens.com

TOP

回复 6# fineusb


   具体点呐
http://bbs.meizaina.com

TOP

返回列表