RSS Feeds Shows Wrong Domain
Symptoms
- localhost.com displays in the xml
- domain name does not appear in sitemap xml
Cause
Domain names need to be defined in your blocks.json file. You will need to set siteProperties for your site. At the minimum feedDomainURL would need to be defined for the links to be built properly. If this does not exist, localhost.com will be substituted by default.
Solution
-
Navigate to your blocks.json file
-
Add your site information including at a minimum the
feedDomainURL"site_name": {"siteProperties": {"feedDomainURL": "yoursite.com","resizerURL": "","feedTitle": ""} -
Deploy the updated bundle