IBM Support

JR50926: SitemapGenerate job combines search terms into a single SEO URL in the sitemap XML files

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • The SitemapGenerate job may combine related search terms into
    one URL.
    
     Here is the class being used:
     com.ibm.commerce.search.facade.datatypes.SearchTermAssociationT
    ype
    
     An example of the entries in the SRCHTERM table would be:
     3074457345616685668 1 term1 0
     3074457345616685668 1 term2 0
     3074457345616685668 1 term3 0
     ...
    
     Below is an example of the search term URL generated in the
    sitemap XML file:
         <url>
          <loc>http://www.URL.com/shop/searchterm/term1, term2,
    term3</loc>
          <changefreq>daily</changefreq>
          <priority>0.7</priority>
         </url>
    
     Each search term should have its own URL as follows:
     <loc>http://www.URL.com/shop/searchterm/term1</loc>
     <loc>http://www.URL.com/shop/searchterm/term2</loc>
     <loc>http://www.URL.com/shop/searchterm/term3</loc>
    

Local fix

  • Users can modify the SEOSitemap.jsp file to tokenize the comma
    separated search term result set before the URLs are generated
    

Problem summary

  • USERS AFFECTED:
     WebSphere Commerce users on v7.0 who define search terms in
    Management Center and also use SitemapGenerate to create SEO
    URLs.
    
     PROBLEM ABSTRACT:
     SitemapGenerate job combines search terms into a single SEO URL
    in the sitemap XML files
    
     BUSINESS IMPACT:
     Wrong search term SEO URLs sent to search engines.
    
     RECOMMENDATION:
    

Problem conclusion

  • Modified SEOSitemap.jsp file to split the comma separated search
     term result set before constructing the search term SEO URLs.
    The updated SEOSitemap.jsp file can be deployed to your
    application in the following path:
     WC_eardir/Stores.war/<store_name>/SEOSitemap.jsp
    
     Also modified the SEOURLPatterns-Search.xml to update the
    search term token patterns to accept additional characters such
    as upper case characters, numeric characters and so on.
    
    
     -------------------------------------------------------------
     The latest available maintenance information can be obtained
    from the Recommended Fixes for WebSphere Commerce technote:
     http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR50926

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    YesSpecatt / Pervasive

  • Submitted date

    2014-07-30

  • Closed date

    2014-09-29

  • Last modified date

    2014-09-29

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
29 September 2014