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

  1. Visitor arrives on your page.
  2. AffLoc detects their country (e.g., Poland — PL).
  3. AffLoc checks: is there a mapping for slug amazon-laptop + country PL?
  4. If yes: Show the PL-specific URL.
  5. If no: Show the default URL.

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.