SAP Knowledge Base Article - Preview

2093565 - When using media.legacy.prettyURL=true, the URL isn't generated correctly in the storefront

Symptom

 

When using media.legacy.prettyURL=true, the URL isn't generated correctly in the storefront.

The "media.legacy.prettyURL=true" uses the "realfilename" attribute to build the URL, otherwise (the "realfilename" attribute is empty) it uses the location.

For instance:

  • if no realfilename is filled, we get:

    /medias/sys_master/images/images/heb/h01/8796300673054.jpg
    
  • if the realfilename is filled with "myfilename", we should get:
    medias/sys_master/images/images/heb/h01/8796300673054/myfilename.jpg
    

 

In the hMC it works correctly, however in the storefront it still displays the URL with the location.

 


Read more...

Product

SAP hybris Commerce Suite 5.2 ; SAP hybris Commerce Suite 5.3

Keywords

SEO , KBA , CEC-COM-CPS-WEB , Store frontend, Web CMS, Accelerators , CEC-COM-CPS-COR , SAP Commerce Core , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.