Content · Complete guide
Update a WordPress Post Without Changing Its URL: Step by Step
Refreshing a published post without breaking its address is simple, as long as you know which field to leave alone. Here is the method, from the block editor to revisions.
In this article 7 sections
- 01 · What determines the URL of a WordPress post: the slug
- 02 · Update your post in 6 steps without touching the URL
- 03 · A practical example: updating a published guide without changing its address
- 04 · Checking the result and rolling back with revisions
- 05 · Other settings that can change the URL
- 06 · Common mistakes to avoid
- 07 · Practical tips for stress-free updates
In short: To keep the same URL, leave the post's Slug field untouched, edit the content in the blocks, check the preview, then click the update button. Next, compare the public address with the one you noted down, and keep revisions as a safety net.
Correcting an outdated paragraph in a post published long ago seems harmless. Yet a field touched by mistake can change the page's address, and any links pointing to it will then lead to an error. This guide shows you how to update your content with peace of mind, with a check at every stage.
What determines the URL of a WordPress post: the slug
The short answer: it's the slug that makes up your post's address. In WordPress, it controls the permalink (the permanent address) of the post or page. As long as you don't change it, the URL stays the same, no matter how many times you republish the content.
The slug: the last part of the address
According to the WordPress.org documentation, the slug is the last editable part of the permanent URL. It is appended to the site address according to the configured permalink structure. The Slug/Permalink field thus links the post's URL name to its public address.
One condition applies: your permalinks must not be set to "Plain" mode (addresses with parameters, such as a post number). In addition, a draft must have been saved for the slug to be editable in the editor. For a post that is already published, this condition is naturally met.
Why changing the slug changes the URL
The %postname% tag in a permalink structure is populated by the post's slug. If your structure includes %postname%, changing the slug therefore changes the URL. The field itself is unobtrusive, but its impact is immediate.
The key takeaway
To keep the same URL, do not change the post's Slug/Permalink field. Everything else in the content can be edited freely.
Update your post in 6 steps without touching the URL
The method below applies to the WordPress block editor. Depending on your plugins, or if you use an alternative editor, the exact interface may differ: adapt the labels, not the logic.
Steps 1 and 2: open the post and note the URL
Open the published post from the list of posts in your site's admin area.
Open the settings with the Settings icon at the top right, then find the Post tab. Note the current value of the permalink/slug field and copy the full URL for checking purposes.
The sidebar groups the post's global settings: permalink, featured image, categories, tags, template and publishing options. They are separate from the settings of the selected block, which helps you avoid confusing the two panels.
Steps 3 to 5: edit, preview, update
Edit the content directly in the blocks: text, images, links. Do not touch the Slug field.
Check the result using the View menu. There you will find the Desktop, Tablet and Mobile previews, as well as "Preview in new tab", which opens the content in a new tab.
Click the update button to save and republish.
The preview may vary depending on your theme and plugins. Treat it as a serious check, but not as an absolute guarantee of the final display.
Step 6: check the public address
Open the post online and compare its URL with the one you copied in step 2. The two must be strictly identical.
This comparison takes a few seconds. It is what turns an intention ("I haven't changed anything") into certainty.
A practical example: updating a published guide without changing its address
Let's take a fictional guide, published long ago, with a short slug: guide-installer-extension. Here I assume a permalink structure that uses %postname%, so the address looks like https://www.exemple.fr/guide-installer-extension/. Three changes are planned: an outdated paragraph to rewrite, an image to replace and an internal link to add.
In order, here is what to look at:
On opening: the slug displayed in the sidebar, noted down, and the full URL copied.
During editing: you rewrite the paragraph, replace the image within its block and insert the link in the text. The post panel remains untouched.
Before publishing: the Mobile preview lets you check that the new image doesn't overflow and that the link displays correctly.
After the update: you open the post online and compare its URL with the one you copied at the start.
Now imagine that the title becomes "Installing a WordPress plugin: the updated guide". Changing the title does not require changing the slug. The two are separate fields in the editor, and the slug should stay as it is. You simply need to check in the sidebar that its value hasn't changed before clicking update.
Watch out
A slug that no longer quite matches the new title is not a problem in itself. Realigning it with the title is precisely what would change the address.
Checking the result and rolling back with revisions
A handling error is not permanent. WordPress saves revisions of saved drafts and published updates. These versions can be compared and restored.
Comparing two versions
The revisions system highlights additions, deletions and changes between two versions. To access it, open the sidebar, select the Post (or Page) tab, then click the number of revisions. You can then see precisely what changed and when.
Restoring an earlier version
Choose the version you want, then click Restore. Restoring reinstates the selected revision. Since WordPress 7.0, accessing revisions opens a new screen, whereas earlier versions keep the classic screen. The logic remains the same in both cases.
Please note
This feature depends on the site's configuration. If revisions have been disabled or limited, the history may be missing or incomplete. Check it before a major edit, not afterwards.
Other settings that can change the URL
The slug is not the only possible culprit. Depending on the active permalink structure, the address may depend on other post data.
Permalink structure and categories
The global structure can make the URL depend on the date or the category. The available tags include the following:
Tag | Data concerned |
|---|---|
%day%, %hour%, %minute%, %second% | Time of publication |
%post_id% | Post ID |
%postname% | Post slug |
%category% | Post category |
%author% | Post author |
If your active structure includes %category%, the category displayed forms part of the URL. Where there are several categories, WordPress states that the category used is determined alphabetically. This dependency does not apply to a structure limited to the post name or ID. So before changing the categories, the publication date or the structure itself, check Settings > Permalinks.
Why you should protect the URL of a published post
Permanent URLs are used for links from other sites, social media, emails and Google indexing. Changing the structure or the slug changes the address that visitors and search engines use to reach the content. This is why WordPress recommends not changing permalinks, especially for posts that are already published and may have inbound links.
Common mistakes to avoid
Changing the slug at the same time as the title, for the sake of consistency. The title can change; the slug should not.
Changing the global permalink structure to "clean up" addresses: the effect applies to all published content.
Changing the category or the publication date without checking whether the active structure includes them.
Not checking the URL after the update. A mistake discovered later costs far more than an immediate check.
Relying on an interface that differs because of a plugin or an alternative editor: read the labels before you click.
Practical tips for stress-free updates
A few habits are enough to make this a safe, routine task:
Copy the URL before making any changes and compare it after publication.
Always use the preview before updating, particularly the mobile view.
Use revisions as a safety net, checking that they are enabled on your site.
If you manage a lot of content updates, you may also be interested inSEO automation on WordPress and Shopify, which handles repetitive tasks. It does not replace human oversight: deciding what changes in a post, and what should stay stable, remains an editor's job.
Read also: Automating SEO post creation on WordPress: the pipeline step by step.
FAQ
Open the post, note its URL, edit the content in the blocks without touching the Slug field, check the preview, then click the update button. Finally, compare the live address with the one you noted.