JSESSIONID is automatically appended to every encoded URL when you start a struts application session. This is very useful as it could keep the user’s cookies off but it really cut seo rankings.
Using Tuckey’s url filter is it possible to strip out every jsessionid using this rule for urlrewrite.xml
<outbound-rule>
<name>Strip URL Session ID</name>
<from>^(.*?)(?:\;jsessionid=[^\?#]*)?(\?[^#]*)?(#.*)?$</from>
<to encode="false">$1$2$3</to>
</outbound-rule>
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.

>
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.