Skip to content

Experience site URL path prefix not valid

Detection

  • RegExp: Error (.*) The value for urlPathPrefix in (\w+) isn't valid

Examples

  • Error Partners The value for urlPathPrefix in DigitalExperienceConfig isn't valid. Check the value and try again.

Resolution

The URL path prefix of site {1} in {2} is not accepted by the target org: wrong characters, or already used by another site.
- Use a prefix made of letters and digits, unique in the target org
- If the prefix must differ between orgs, write the value of each org with an xml-value replacement rule (https://sfdx-hardis.cloudity.com/salesforce-devops-config-replacement-rules/)
- If the deployment holds Site.com items (SiteDotCom) of the site, remove them from your sources

Comments