Default Fallback Links
The fallback (default) link is arguably the most important mapping you can set. It ensures every visitor sees a working link, regardless of their country.
How Fallback Works
- Visitor arrives on your page.
- AffLoc detects their country (e.g., Poland — PL).
- AffLoc checks: is there a mapping for slug
amazon-laptop+ countryPL? - If yes: Show the PL-specific URL.
- If no: Show the
defaultURL.
Setting a Default
When adding a mapping, type default in the country field (or select it from the dropdown). This URL will be used for all unmapped countries.
What If No Default Exists?
If you don’t set a default mapping, the shortcode will render a # link for unmapped countries. Always set a default to avoid broken links.
Warning: Never skip the default mapping. Without it, visitors from unmapped countries will see a broken # link.