位置:SEO博客 > SEO > 删除Discuz X1.5论坛首页链接的forum.php

删除Discuz X1.5论坛首页链接的forum.php

  Discuz X1.5的SEO做的感觉一塌糊涂,尤其在url方面,一个页面用了N多个url。例如首页,总跳转到forum.php页面,下面是去除forum.php的方法:

  1. 在后台->界面->导航设置->页头导航中,有个内置类型的链接为forum.php的,把后面的单选框即首页选项选上,最后面的可用选项方框的勾去掉,即不打勾;然后添加主导航,名称写你需要显示的名称,例如论坛首页,链接写你的首页绝对地址,并在后面的”可用”选项中打勾。
  2. 把/source/module/forum/目录下的forum_viewthread.php中href=”forum.php”改为href=”./”或href=”绝对地址”。
  3. 把/source/module/forum/目录下的forum_forumdisplay.php中href=”forum.php”改为href=”./”或href=”绝对地址”。

  至于不知道为什么要这么改朋友,请看这里:什么是url标准化

      over~…

本站文章除注明转载外,均为本站原创
转载请注明:文章转载自:郑义文SEO博客
本文标题:删除Discuz X1.5论坛首页链接的forum.php
本文地址:http://www.zhengyiwen.com/1423.html

41 Comments

  1. Posted 2011年04月20日 at 16:24 | Permalink

    不错 学习了

    [回复]

  2. Posted 2011年04月21日 at 16:41 | Permalink

     Discuz X1.5感觉很繁琐,尤其是他的门户那个地方。

    [回复]

    郑义文 回复:

    确实,不过2.0版有了改进,门户那些可以自己选择是否需要。

    [回复]

  3. Posted 2011年04月22日 at 19:14 | Permalink

    URL标准是很重要的··小细节,大作用!

    [回复]

  4. Posted 2011年04月24日 at 22:40 | Permalink

    没有过Discuz系统,,学习下

    [回复]

  5. Posted 2011年04月26日 at 09:31 | Permalink

    博主,可进行discuz二次开发,一起交流下。

    [回复]

  6. Posted 2011年04月26日 at 12:46 | Permalink

    很多年没用那个cms了,当时都是6.0版本。

    [回复]

  7. Posted 2011年04月26日 at 16:02 | Permalink

    还是喜欢pw的

    [回复]

  8. Posted 2011年04月29日 at 18:17 | Permalink

    这样修改是做dz二次开发吗

    [回复]

    郑义文 回复:

    仅仅是小修改,谈不上二次开发。。

    [回复]

  9. Posted 2011年04月29日 at 19:32 | Permalink

    路过来坐坐··

    [回复]

  10. Posted 2011年05月1日 at 09:05 | Permalink

    discuz seo的确感觉不太好.

    [回复]

  11. Posted 2011年05月1日 at 21:53 | Permalink

    最近刚好在装论坛。。

    [回复]

  12. Posted 2011年05月1日 at 23:14 | Permalink

    discuz2.0的的却很好啊!

    [回复]

  13. Posted 2011年05月3日 at 08:42 | Permalink

    不错的方法~~~博主给力~~~

    [回复]

  14. Posted 2011年05月6日 at 11:09 | Permalink

    很不错!~

    [回复]

  15. Posted 2011年05月9日 at 17:13 | Permalink

    DZ对于新手最恐怖的莫过说升级了,每次升级就相当说重新投次胎,如果DZ能做到像博客CMS一样的话,那就相当不错了,

    [回复]

  16. Posted 2011年05月10日 at 15:57 | Permalink

    文章很好,看了半天,终于明白了。

    [回复]

  17. Posted 2011年05月10日 at 17:33 | Permalink

    很给力,加油!

    [回复]

  18. Posted 2011年05月18日 at 17:12 | Permalink

    很专业啊,学习了,

    [回复]

  19. Posted 2011年05月29日 at 18:19 | Permalink

    不错,技术流。

    [回复]

  20. Posted 2011年06月3日 at 02:32 | Permalink

    实用的东西。

    [回复]

  21. Posted 2011年06月9日 at 10:42 | Permalink

    很简便的方法

    [回复]

  22. Posted 2011年06月9日 at 10:43 | Permalink

    对于不懂的人来说 也很方便 比如我 呵呵

    [回复]

  23. Posted 2011年06月17日 at 16:11 | Permalink

    discuz seo的确感觉不太好.

    [回复]

  24. Posted 2011年07月15日 at 16:13 | Permalink

    方法简法。学习了~

    [回复]

  25. Posted 2011年07月22日 at 13:51 | Permalink

    看过后,深有感悟,这篇文章确实很给力,希望作者多写一些这方面的文章。欢迎回访

    [回复]

  26. Posted 2011年07月22日 at 14:35 | Permalink

    学到了,谢谢

    [回复]

  27. Posted 2011年08月8日 at 10:52 | Permalink

    以后用的上,收藏了。

    [回复]

  28. Posted 2011年08月9日 at 15:50 | Permalink

    过来学习下。不知道如何实现静态地址!

    [回复]

    郑义文 回复:

    一般都是用伪静态,论坛用静态不太现实。

    [回复]

  29. Posted 2011年08月9日 at 17:47 | Permalink

    博主是做旅游的》??

    [回复]

    郑义文 回复:

    有做一些旅游的~。

    [回复]

  30. Posted 2011年08月12日 at 16:48 | Permalink

    discuz seo一直不喜欢这个。

    [回复]

  31. Posted 2011年08月15日 at 08:14 | Permalink

    多看看,真的很有好处!

    [回复]

  32. Posted 2011年08月23日 at 18:20 | Permalink

    不知道改了 好还是不好

    [回复]

  33. Posted 2011年09月1日 at 21:20 | Permalink

    学习了,说的挺对的

    [回复]

  34. Posted 2011年09月11日 at 15:17 | Permalink

    恩,这个不错,正好我想做个论坛的。。

    [回复]

  35. Posted 2011年09月14日 at 16:46 | Permalink

    确实,不过2.0版有了改进

    [回复]

  36. Posted 2011年09月19日 at 11:51 | Permalink

    URL标准化确认很重要

    [回复]

  37. Posted 2011年09月21日 at 13:28 | Permalink

    多看看,真的很有好处!

    [回复]

  38. Posted 2011年10月1日 at 10:43 | Permalink

    了解一下。。博主国庆快乐啊

    [回复]

  39. Posted 2011年10月25日 at 13:47 | Permalink

    习惯1.5了 现在正在习惯2.0

    [回复]

  40. Posted 2011年11月2日 at 17:20 | Permalink

    路过,嘻嘻!

    [回复]

  41. Posted 2011年11月16日 at 15:33 | Permalink

    不错~学习了

    [回复]

Post a Comment

Your email is never shared. Required fields are marked *

*
*