Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

SEO URL discuz x1.5

[复制链接]
okia123 发表于 2010-11-29 09:11:31 | 显示全部楼层 |阅读模式
Demo: http://discuzviet.net/thread/discuz-x-1-5-viet-hoa-951-1-1.html and more...
Seo Name Box: http://discuzviet.net/68-1/discuz-x1-x1-5.html
Seo Name theread: http://discuzviet.net/thread/discuz-x-1-5-viet-hoa-951-1-1.html




Download file function_core.php upload  to \source\function\Creat file .htaccess vs content upload to root forum:
  1. <Files ~ "^\.(htaccess|htpasswd)$">
  2. deny from all
  3. </Files>
  4. # RewriteEngine
  5. RewriteEngine On

  6. RewriteBase /

  7. # Rewrite
  8. RewriteCond %{QUERY_STRING} ^(.*)$
  9. RewriteRule ^topic-(.+)\.html$ portal.php?mod=topic&topic=$1&%1
  10. RewriteCond %{QUERY_STRING} ^(.*)$
  11. RewriteRule ^article-([0-9]+)-([0-9]+)\.html$ portal.php?mod=view&aid=$1&page=$2&%1
  12. RewriteCond %{QUERY_STRING} ^(.*)$
  13. RewriteRule ^(\w+)-([0-9]+)/(.*)\.html$ forum.php?mod=forumdisplay&fid=$1&page=$2&%1
  14. RewriteCond %{QUERY_STRING} ^(.*)$
  15. RewriteRule ^thread/(.*)-([0-9]+)-([0-9]+)-([0-9]+)\.html$ forum.php?mod=viewthread&tid=$2&extra=page\%3D$4&page=$3&%1
  16. RewriteCond %{QUERY_STRING} ^(.*)$
  17. RewriteRule ^group-([0-9]+)-([0-9]+)\.html$ forum.php?mod=group&fid=$1&page=$2&%1
  18. RewriteCond %{QUERY_STRING} ^(.*)$
  19. RewriteRule ^space-(username|uid)-(.+)\.html$ home.php?mod=space&$1=$2&%1
  20. RewriteCond %{QUERY_STRING} ^(.*)$
  21. RewriteRule ^([a-z]+)-(.+)\.html$ $1.php?rewrite=$2&%1
复制代码
AdminCP >> All >> Seo

Changer



Sace and update cache.


Seo Mod by : Staff http://discuzviet.net


lainade 发表于 2010-12-2 19:33:47 | 显示全部楼层
thx buddy
回复

使用道具 举报

mokeli 发表于 2010-12-2 22:54:58 | 显示全部楼层
本帖最后由 mokeli 于 2010-12-7 20:36 编辑

谢谢。
自己改动了一下,又加上了 1: 汉字转拼音,2: 对URL可设置长度,3: 原来系统URL可以继续访问 .


  1. 鬼魅魍魉
  2. http://127.0.0.1/x15en/GuiMeiWangLiang-thread-14-1-1.html
  3. http://127.0.0.1/x15en/thread-14-1-1.html (原URL可以继续访问)

  4. 鬼 魅 魍 魉
  5. http://127.0.0.1/x15en/Gui-Mei-Wang-Liang-thread-18-1-1.html
  6. http://127.0.0.1/x15en/thread-18-1-1.html (原URL可以继续访问)

  7. :( Who will win Stanley Cup 2010?:( /\%  
  8. http://127.0.0.1/x15en/who-will-win-stanley-cup-2010-thread-21-1-1.html
  9. http://127.0.0.1/x15en/thread-21-1-1.html (原URL可以继续访问)
复制代码
版块URL SEO自己不须要,所以没动还是用原来的
回复

使用道具 举报

182860498 发表于 2010-12-3 01:55:19 | 显示全部楼层
有没有for nginx的规则
回复

使用道具 举报

182860498 发表于 2010-12-3 02:58:05 | 显示全部楼层
function_core.php 不能下载,论坛要注册,关键的是越南语看不懂, 加减的验证没法过
回复

使用道具 举报

longvic 发表于 2010-12-12 01:40:45 | 显示全部楼层

I did it right :) ! Thanks for sharing ! Good Job
My url: http://netdepviet.org/vn/upgrade-from-discuz-7-2-to-discuz-x-1-5-successfully--5708-1-1.html
回复

使用道具 举报

RvG 发表于 2010-12-18 20:06:27 | 显示全部楼层
thank you my friend for sharing
回复

使用道具 举报

adanma 发表于 2011-4-14 02:07:30 | 显示全部楼层
这个插件不错,建议官方集成!!!!
回复

使用道具 举报

abcwangyi789 发表于 2011-4-21 17:09:23 | 显示全部楼层
hey ! my friends !do you have one for the discuz 7.2 ?
回复

使用道具 举报

zwd1852 发表于 2011-11-29 00:52:53 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-5-19 11:27 , Processed in 0.124250 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表