• Resolved chipeater

    (@chipeater)


    Hello,

    Can anyone advise whether it is possible to have a ‘second slug name’ for any particular web page. In my situation, I had a page named potteries-oatcakes, which I distributed a URL out to a number of folk. I’ve subsequently felt it necessary to rename the page / slug as staffordshire-oatcakes, but don’t want to send out a new URL to folk I’ve previously sent the page link to.

    My question is whether there’s anywhere in WordPress that I can set potteries-oatcakes as an ‘alias’ to staffordshire-oatcakes? I’ve looked on the Quick Edit screen as a start, and can’t see anything obvious on there.

    I’m using WordPress v6.6.1 on Bluehost, with the Sinatra theme.

    Here’s hoping, David

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @chipeater, you can achieve this by setting up a 301 redirect in WordPress. This will allow the old URL (potteries-oatcakes) to redirect to the new one (staffordshire-oatcakes) without breaking the link for anyone who has the original URL.

    Here’s how you can set it up:

    1. Using a Plugin:
    • Install a plugin like Redirection or Simple 301 Redirects.
    • Once installed and activated, go to the plugin’s settings.
    • Add a new redirect: Set the “Source URL” to /potteries-oatcakes and the “Target URL” to /staffordshire-oatcakes.
    • Save the changes.
    1. Manually Editing .htaccess:
    • If you’re comfortable editing your .htaccess file, you can add the following line:
      Redirect 301 /potteries-oatcakes /staffordshire-oatcakes
    • This will achieve the same effect, ensuring that anyone who visits the old URL is automatically redirected to the new one.

    Using a redirect ensures that anyone using the old URL will seamlessly be taken to the new page without any issues, and you won’t need to send out a new link.

    Thread Starter chipeater

    (@chipeater)

    Thanks ever so much for your clear and comprehensive response.

    I used the Redirection plugin and am extremely satisfied.

    Thanks again ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.