Ghost · · 4 min read

Affiliate Links: Cloaking Your Links Within Ghost

Exploring how you can use the redirects.yaml file within Ghost to build pretty links for affiliate offers making tracking easier and cloaking them from visitors.

Affiliate Links: Cloaking Your Links Within Ghost

For most who come from a system like WordPress they will be used to having to add plugins to manage links, but within Ghost the power is already there through use of the redirects.yaml file contained within the Lab section.

Basically this file is going to control how specific redirects work within your Ghost site, when you 401 redirect you would also utilize this file. Becoming comfortable with this can allow you to make specific 301 redirects to get "pretty" urls for affiliate links.

Read next

We Thrive On Visitors Just Like You - Donate Today

He Knows SEO is a membership based site with chosen content published for free. If you can't become a member today if the content helps you resolve an issue please donate below to help us keep growing!