Ghost Redirects Not Working? Here's Why (And How to Fix It)

Jannis Fedoruk-Betschki
Jannis Fedoruk-Betschki
3 min read

Ghost makes it fairly easy to redirect URLs. This comes in handy when you want to link a shortcut like /workshop to an external Zoom meeting, or redirecting old post URLs after restructuring your site. But there's a catch: once you visit a redirect, your browser remembers it. For quite some time.

How to Set Up Redirects in Ghost

Ghost handles redirects through a redirects.yaml file. You'll find this in Settings → Labs within the Ghost Admin.

The file uses a simple format:

301:
  /old-path/: /new-path/
  /workshop/: https://zoom.us/random

302:
  /temporary-link/: /destination/

To add or edit redirects:

  1. Download your current redirects.yaml from Labs
  2. Edit the file in any text editor
  3. Upload the modified file back to Ghost

More on Ghost's redirects here:

Implementing redirects in Ghost
Avoid broken links by redirecting old URLs to new ones. In this tutorial, learn everything you need to know about Ghost’s redirect process.

Why Your Updated Redirect Isn't Working

You've updated your redirect from one Zoom link to another. You've confirmed the change is saved in Ghost. But when you click the link, you still end up at the old destination. Whoops.

Well, good and bad news.

The good news: this isn't Ghost or Magic Pages.

The bad news: it's your browser 🙃

You've probably set up the redirect as a permanent redirect – with the status code "301". When you first visited that 301 redirect, your browser stored it locally. Now it's not even asking the server. It's redirecting you based on its cached memory.

Purging your CDN cache won't help here because the redirect never hits the CDN in subsequent requests. Your browser intercepts it first.

This affects only you and anyone else who previously visited the old redirect. New visitors will see the correct destination.

301 vs 302: Which One Should You Use?

This is where things get tricky.

  • 301 (Permanent): Tells browsers and search engines "this URL has permanently moved." Browsers cache this aggressively, since the 301 indicates that the redirection is well...permanent.
  • 302 (Temporary): Tells browsers "this is a temporary redirect, check back next time." Browsers are more forgiving for these and it won't be cached as aggressively.

As a rule of thumb: If you might ever change the destination of a redirect, use a 302.

Event links, meeting rooms, promotional redirects – anything that might point somewhere different next week – should be a 302. Reserve 301s for truly permanent changes, like when you've restructured your entire URL scheme after a migration.

How to Fix a Cached Redirect in Your Browser

A quick fix, if you want to see whether the new redirect is working: open the link in an incognito/private window or a different browser. This bypasses your browser cache.

For a more permanent fix in your normal browsing environment:

Chrome

  1. Press F12 to open Developer Tools (before navigating to the URL)
  2. Go to the Network tab
  3. Check "Preserve log"
  4. Navigate to the redirect URL
  5. Find the request in the log, right-click it, and select "Clear browser cache"

Firefox

  1. Open your browser history
  2. Search for the site URL
  3. Right-click and select "Forget About This Site"
  4. Close all tabs with that site first. This won't work with the site open

Safari

  1. Open Developer Tools (enable in Preferences → Advanced first)
  2. Go to the Network tab
  3. Check "Disable Caches"
  4. Reload the page

Does Magic Pages Cache Redirects?

No. Magic Pages's CDN doesn't cache redirect responses. When you purge your domain cache in the Magic Pages portal, it clears cached HTML, CSS, images, and other assets – but redirects pass through directly from Ghost.

The caching that causes these issues happens exclusively in visitors' browsers. There's nothing we can clear on our end to fix a browser's memory of a 301 redirect.

Still Have Questions?

If you're stuck with a redirect issue or need help setting up complex redirect patterns, reach out at help@magicpages.co.

Jannis Fedoruk-Betschki

About Jannis Fedoruk-Betschki

I'm the founder of Magic Pages, providing managed Ghost hosting that makes it easy to focus on your content instead of technical details.

You might also like

Ghost 6 is available on Magic Pages!

Ghost 6 is available on Magic Pages!

Ghost 6 is live on Magic Pages with new features like Social Web and Traffic Analytics—check out how to get started or reach out for help!...

1 min read
June & July 2025 Update on Magic Pages

June & July 2025 Update on Magic Pages

Magic Pages introduced a custom theme add-on for Starter plans at $2.50/month and added email forwarding support to improve newsletter communication....

3 min read
Customer Showcase

Websites powered by Magic Pages

See what real publishers have built with Ghost CMS and Magic Pages hosting.

Start Your 14-Day Free Trial

No credit card required • Set up in minutes