Product catalog feed generated content includes localhost for product URL
The generated content for the product catalog feed displays localhost
for products URL references instead of the fully qualified host name.
Problem
Product URLs point tolocalhost
instead of the real
server name because WebSphere Commerce Developer defaults to using
localhost
.Solution
Update the WebSphere Commerce configuration to use a system host name. Update the wc-server.xml file to modify the Hostname attribute.- Edit
workspace_dir\WC\xml\config\wc-server.xml
For example:
<WebServer AdminPort="8002" AuthenticationMode="Basic" DOMPassword="" DOMServerName="" DocumentRoot="" FTPServerName="" FTPServerPort="21" FTPServerPwd="" FTPServerUser="" HostName="hostname.yourdomain.com" IISServerNumber="1" MappedConfigPath="" MappedServerPath="" NESAdminConf="
- Republish the WebSphere Commerce application.