Appearance
Affiliate Links
Overview
Affiliate links in Converto are managed as a dedicated post type, Affiliate Link. Each affiliate link record holds three things:
- The product it belongs to.
- The destination URL (your real, tracked affiliate URL).
- A pretty link slug that becomes the cloaked redirect URL on your site.
When a visitor clicks a CTA on the product page, they hit /{link_prefix}/{prettylink}/, the theme matches that URL against the affiliate link record, and 301-redirects them to the destination. This pattern is the backbone of the theme's affiliate handling.
The link prefix
The {link_prefix} segment is configurable. Set it in Theme Settings → General under Pretty link prefix. The default is visit, so an unconfigured site routes through /visit/{slug}/. Pick whatever fits your brand - go, out, to, recommend, etc. The prefix can be a single segment with no slashes.
How it works
- You create an Affiliate Link post with the destination URL, the pretty link slug, and the product it belongs to (e.g. Bluehost - Special Offer →
https://bluehost.com/track/aff?id=12345→bluehost-special). - On the product, you open the Affiliate Links tab and add a row that picks this affiliate link and (optionally) overrides the CTA label.
- Anywhere the product's CTA renders - hero, comparison table, product card, pricing tiers, sticky mobile CTA - the anchor's
hrefis set to the pretty URL/{link_prefix}/{slug}/and the link carriesrel="nofollow sponsored noopener"plustarget="_blank". - When a visitor clicks, the theme matches the request against published affiliate link records by their pretty link slug, looks up the destination, and issues a 301 redirect.
Visitor click → /visit/bluehost-special/ → 301 → https://bluehost.com/track/aff?id=12345Why route through a pretty link
- Single source of truth - change the destination URL once on the affiliate link post; every CTA across the site picks it up automatically.
- No raw affiliate URLs in HTML - keeps your tracked URLs out of inspect-element snooping and helps with click-attribution accuracy (some scrapers strip query params from visible links).
- rel attributes auto-applied - every CTA anchor carries
rel="nofollow sponsored noopener"andtarget="_blank"so Google's affiliate-link guidance is satisfied out of the box. - One product, many destinations - because affiliate links are their own post type, a single product can have several (Amazon, Best Buy, Walmart, retailer A/B test). Each pricing tier and deal row can point at a different one.
Creating an affiliate link
- Affiliate Links → Add New in the WP admin sidebar.
- Title - editor-facing label only (e.g. Bluehost - Special Offer, Amazon US, UK Retailer).
- Product - pick the product this link belongs to. Required.
- Link URL - paste your tracked affiliate URL.
- PrettyLink - the slug shown after the link prefix. With prefix
visit, a slug ofbluehost-specialgives/visit/bluehost-special/. Keep it short and unique - two affiliate links can't share the same slug. - Publish.
Naming the slug
Convention: {product-slug} for the main link, {product-slug}-{variant} for additional retailers (e.g. bluehost, bluehost-uk, bluehost-summer). This keeps the pretty URLs predictable and easy to update.
Attaching to a product
Each affiliate link knows which product it belongs to, but the product also needs to opt the link into its CTAs:
- Edit the product.
- Open the Affiliate Links tab.
- Add a row, pick the affiliate link from the dropdown, and (optionally) set a per-row CTA Label.
- Reorder rows - the first row is the product's primary CTA (hero, sticky bar, grid cards). Additional rows can be wired into specific pricing tiers or retailer deals from the Pricing / Deals tab.
- Save.
If a product has no affiliate links attached, its CTA buttons are hidden across the site - better than rendering a button that goes nowhere.
Custom CTA label
Default button text comes from the Visit string in String Translations. To override per affiliate link row, fill in the CTA Label field on that row inside the product's Affiliate Links tab. To override globally, edit the string in Theme Settings → String Translations.
Disclosure copy
FTC-compliant affiliate disclosures are a strict requirement in many regions.
Set yours globally:
- Theme Settings → General.
- Affiliate disclosure field - rich text supported.
The disclosure is surfaced through hero blocks for product, blog, page.
What's next
- See Products for the full product editor walkthrough.
- See SEO & Schema for the schema markup that accompanies affiliate links.