jimisun
V2EX  ›  问与答

关于 UrlRewriteFilter 过滤器的使用问题

  •  
  •   jimisun · Nov 1, 2017 · 1830 views
    This topic created in 3143 days ago, the information mentioned may be changed or developed.
    <rule> <note>.../book/1234 instead of .../book.jsp?id=1234</note> <from>/book/([0-9]+)$</from> <to>/book.jsp?id=$1</to> </rule>
    从网上看到这样的使用案例,感觉还是很方便的,的确解决了很多问题,目前我正在做一个图片管理系统(未使用框架非常小的系统),对所有引擎优化方面比较看重,那么......问题来了
    问题 1:http://localhost:8080/urlrewritefilter/url/457983478398 这样的地址(未包含.html 结尾)搜索引擎是否为判定为静态页面
    问题 2:http://localhost:8080/urlrewritefilter/url/457983478398 和 http://localhost:8080/urlrewritefilter/url/457983478398.html 在对于 seo 优化有什么差别
    问题 3:如何使用 UrlRewriteFilter 将 /book.jsp?id=222 设置为 /book/222.html
    问题 4:大家如果对于 seo 优化通常使用什么技术?freemarke?还是什么
    
    1 replies    2017-11-01 21:49:53 +08:00
    jimisun
        1
    jimisun  
    OP
       Nov 1, 2017
    问题 3 已解决
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5975 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 60ms · UTC 06:12 · PVG 14:12 · LAX 23:12 · JFK 02:12
    ♥ Do have faith in what you're doing.