zoukankan      html  css  js  c++  java
  • Ultimate SEO URLs静态网址时标点符号自动忽略,如何解决?

    Ultimate SEO URLs静态网址时标点符号自动忽略,如何解决?

    Ultimate SEO URLs静态网址转换时,产品名products name里含有的标点符号会被自动忽略
    如:设置的Products Name: AA-BB-CC
    静态网址 转换为:http://xxxxxxx.com/aabbcc.html, 中间的“-”没有了
    或者 设置的Products Name: AA/BB/CC
    静态网址 转换为:http://xxxxxxx.com/aabbcc.html, 中间的“/”没有了
    这样忽略了标点符号后,对于SEO的精确匹配还是有影响的,

    如果你想它不过滤特殊符号 就把includes\classes\seo.url.php中的 557行$pName = $this->strip($result->fields['pName']); 中的 改为$pName = $result->fields['pName']; 就可以了

    你把$pName = $this->strip($result->fields['pName']); 上面两个case语句也删掉

    里那么复杂。后台有Ultimate SEO URL设置。就那么几项,每一项都改改,看看出现什么效果就出来了。你这个问题很简单

  • 相关阅读:
    rwkj 1337
    poj 1002
    map
    vector
    sort排序
    sort函数
    poj 2945
    poj2388
    rwkj 1422搜索(素数环)
    poj2503
  • 原文地址:https://www.cnblogs.com/waimaole/p/2789447.html
Copyright © 2011-2022 走看看