On this page
If an article moves to a new URL but remains the same published item, keep its RSS GUID stable. Change the item’s link to the new URL and redirect the old URL. A new GUID is appropriate when you intend to publish a genuinely new feed item—not merely because its address changed.
This guide explains the distinction and how to test a migration. The RSS specification and feed-reader documentation were not available for consultation in this run, so check them and your readers’ behavior before deploying a feed change. The examples below were not executed.
Key Takeaways
- A GUID identifies a feed item; a link tells readers where to open it. They can have different values.
- Keep an existing GUID when moving the same article, even if that GUID contains the old URL.
- Issue a new GUID for a genuinely new item, such as a separate follow-up article.
- Redirect the old URL, but do not rely on the redirect alone to prevent duplicate feed entries.
- Test with representative readers: they may identify, update, and display items differently.
What an RSS GUID does
An RSS item’s <guid> is an identifier that feed consumers can use to recognize the item across feed updates. The <link> is the address a reader can use to open the article. Those roles often overlap, but they are not the same.
The GUID’s isPermaLink attribute indicates whether its value is a permalink to the item. If the attribute is omitted, RSS 2.0 treats it as true. An opaque identifier that is not a URL should therefore use isPermaLink="false". A permalink GUID can remain the old URL after a move; a redirect helps anyone or any software that follows it reach the current page.
A stable identifier is a signal to readers, not a guarantee of identical behavior. Some readers may use other fields or their own stored state when deciding whether to display an item as new or update an existing entry.
Advertisement
Should an RSS GUID change when a URL changes?
Usually, no. Treat the move as an update to the existing item if the new page represents the same publication. For example, changing a slug, moving to a new domain, or reorganizing a site’s paths does not by itself create a new article.
Before the move, a feed item might contain:
<item>
<title>Planning a content migration</title>
<link>https://example.com/blog/migration-plan</link>
<guid isPermaLink="true">https://example.com/blog/migration-plan</guid>
</item>
After the move, retain the GUID and change the link:
<item>
<title>Planning a content migration</title>
<link>https://example.com/guides/content-migration</link>
<guid isPermaLink="true">https://example.com/blog/migration-plan</guid>
</item>
Configure the old address to redirect to the new one. The GUID still identifies the original item, while the link points directly to its current location. This approach also avoids replacing an existing URL-shaped GUID with a new opaque one merely for consistency: changing the identifier during a migration can make an existing item look new to some readers.
When to issue a new GUID
Give a separate follow-up article its own identifier. For example, a newly published migration checklist is a different item from the original planning article, even if it links back to it. A new item can use an opaque, permanently assigned identifier:
<item>
<title>Content migration checklist</title>
<link>https://example.com/guides/migration-checklist</link>
<guid isPermaLink="false">urn:uuid:7d2c4b18-531e-4f61-9ad8-b0f7d8e76293</guid>
</item>
Generate and store a unique identifier for each new item; do not reuse the illustrative value above. Once published, preserve it across feed builds.
An extensive revision is a publishing decision rather than a URL rule. If it replaces the existing article, keeping the GUID generally expresses continuity. If you intend it to be a separate publication, give it a separate GUID and consider explaining its relationship to the original. Some readers may still display or suppress it differently.
Redirects and URL comparison
Set a permanent redirect, such as HTTP 301, from each retired article URL to its intended replacement. Test the destination and avoid redirect loops. Keep redirects for as long as practical: bookmarks, links, and existing URL-shaped GUIDs may still use the old addresses.
A redirect solves navigation, not feed identity. If the feed changes a GUID from the old URL to the new URL, a reader may treat it as another item even though the old address redirects successfully.
URL Diff can illustrate which parts of an old and new address differ—for example, the hostname or path. It cannot decide whether the addresses represent the same feed item; that requires knowing the publication history and intended identity. Do not put private URLs or tokens into an online comparison tool unless you are comfortable sharing them with it.
Advertisement
Test a feed migration
Use a staging feed or isolated reader accounts where possible, and avoid sending test items to production subscribers. Keep a copy of the original feed and a mapping of old URLs, new URLs, and existing GUIDs.
- Record the baseline. Subscribe representative readers to the original feed and note which items they display and whether they are marked read.
- Change only the location. Update an item’s link, retain its GUID exactly, and configure the old URL to redirect. Validate that the feed is well-formed XML and inspect the redirect destination.
- Refresh each reader. Check for duplicate entries, changes to the displayed link, and changes to read status. Allow for reader polling or caching; a refresh may not be immediate.
- Test a separate new item. Publish it with its own stable GUID and confirm how each reader displays it. If you want to explore changing an existing GUID, do so only in an isolated test and compare the results.
- Check after deployment. Monitor feed availability and redirects, and sample the live feed to ensure regenerated items retain their identifiers. If a reader behaves unexpectedly, consult its documentation and investigate its cache or import behavior.
A reader’s treatment of an edited item may depend on its implementation and stored state. Passing this test in one reader does not establish how all subscribers will behave. Avoid assuming that changing a GUID back will remove a duplicate already stored by a reader.
Common Mistakes
- Generating GUIDs from the current URL on every feed build. A slug or domain change then silently changes item identity. Store the identifier independently of the current link.
- Replacing all old GUIDs during a migration. This can cause existing posts to appear as new items for some subscribers.
- Using an opaque GUID without
isPermaLink="false". The omitted attribute defaults totrue, so consumers may interpret the value as a permalink. - Reusing a GUID for different articles. Readers may treat the articles as the same item or fail to show one of them.
- Assuming redirects prevent duplicates. Redirects help navigation; they do not require readers to merge identifiers.
Best Practices
Persist each item’s identifier in the publishing system rather than deriving it anew from mutable fields. For new items, an opaque identifier explicitly marked as not being a permalink can separate identity from location. For existing items, preserve the published GUID even if you would choose a different format today.
Keep the current article URL in <link>, maintain redirects from retired URLs, and test feed changes with the readers important to your audience. If your feed previously omitted GUIDs, test especially carefully: adding them can affect how individual readers recognize existing entries.
Conclusion
A URL change is normally a location change, not a new publication. Keep the existing GUID, update the link, and redirect the old URL. Assign a new GUID when you deliberately publish a distinct item, and verify the outcome in representative readers.
What would your domain sell for?
A free TidyURLs account unlocks the Domain Estimator. It prices a name from 191,011 real domain sales.