Skip to main content

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

  1. Navigate to your blocks.json file

  2. Add your site information including at a minimum the feedDomainURL

    "site_name": {
       "siteProperties": {
         "feedDomainURL": "yoursite.com",
          "resizerURL": "",
          "feedTitle": ""
    }
    
  3. Deploy the updated bundle

More Information

Setting up Sitemap Feed with Outbound Feeds