»  Knowledgebase  »  Content Management  »  Safely Change Page or Post URL / Permalink / Slug

Safely Change Page or Post URL / Permalink / Slug

by | Mar 30, 2020 | 0 comments

When you create a new page, post, prodict or other content type within WordPress, a new web address (often known as a permalink) is created automatically from the content title. (The section of the web address relating specifically to that piece of content, created automatically is called the 'slug').
Changing this is very straightforward. Once the content has been published, you can simply edit the slug within the post edit window

The Problem with Changing Slugs / Permalinks

The problem with this is that once you have changed the web address, anyone visiting the old address will receive a "404 - page not found" error: This may not be a problem if noone is visiting that page. But if the page has already been indexed by Google, anyone visiting from the Google listing will no longer get to your original page, they will get a page error instead. Worse still, if Google checks the page and get the '404 - page not found' error, it may remove the page from it's index all together and you will have to wait for the page at the new address to be re-indexed and start ranking. This can take a long time!

Install Redirection Plugin

To prevent these scenarios, simply set up a 301 redirect. To do this, install and activate the Redirection plugin by John Godley. There are other plugins that will do the same thing, but this is simple to use and our preferred plugin for this task.

Add New Redirect

Navigate to Tools > Redirection and select Add New.
  • Set the Source URL to the original page name (you should leave out the domain name, eg use /old-url not https://www.example.com/old-url)
  • Set the Target URL to the full URL of the new page
  • Select Add Redirect
  • Now anyone - including Google and other search engines - will be safely redirected to the new web address and won't receive the '404 - page not found' error


    Submit a Comment

    Your email address will not be published.

    UK WordPress Support

    We are a team of UK based WordPress experts offering WordPress help & support, WordPress site management and maintenance, content management services, one to one WordPress training and consultancy.

    Need to chat? Contact Us Now!

    WordPress Maintenance

    Let us manage your plugin and theme updates, keep your WordPress website site running smoothly and your visitors happy!

    WordPress Care Plans
    from just £35 / month!

    One to One WordPress Training

    We provide one to one WordPress training to individuals and companies all over the World!

    Whether you are developing new skills for business or working on a personal project, we can support you, and your first trial session is free!

    Book an initial WordPress Orientation Session

    Get the WordPress Management Guide

    Get the WordPress Management Guide

    Sign up to our newsletter to receive our insider guide to managing WordPress in [currentyear], free to your inbox.

    You have Successfully Subscribed!