Trendingat

02Home & Garden · Updated

How to Change a URL: Update a Link or Web Address

Short answer

Edit the address where it is managed

To change a URL, edit it in the website, document, or account that controls it, then save and test the new address. If changing a live page’s URL, set up a redirect from the old address.

FirstFind where the URL is managedExplained in: Step-by-Step
Live pagesRedirect the old addressExplained in: Step-by-Step
After savingTest the new linkExplained in: Step-by-Step
Reading time6 min7 sections, about 1,480 words

How to Change a URL: Update a Link or Web Address

A URL is the web address used to open a page or resource. “Change a URL” can mean editing a link in a document, changing a page’s address on a website, or updating a domain name. The right steps depend on which one you mean. This guide covers all three, with extra care for public pages: changing an address without a redirect can leave visitors and search engines at a dead end.

What You’ll Need

  • Access to the place that controls the URL, such as a website editor, content management system (CMS), hosting dashboard, or document.
  • The exact new address, checked for spelling, punctuation, and the correct destination.
  • For a live website page, permission to edit redirects or help from the site administrator or hosting provider.
  • A way to test the address, such as a browser in a private window or a different device.

Step-by-Step

  1. Identify what you are changing. Decide whether you are editing a clickable link, changing a page’s path (the part after the domain), or replacing the domain itself. A link in a document can usually be edited directly. A public page or domain change also affects visitors who saved or shared the previous address.
  2. Copy the current URL. Open the existing page or link and copy its full address from the browser or editor. Save it somewhere safe before making changes. You will need the old address to test it and, for a moved page, to create a redirect.
  3. Prepare and check the new address. Write down the intended URL and confirm it points to the right page. For a page path, use a short, readable phrase that describes the page. Avoid accidental spaces, misspellings, or extra punctuation. Website systems may convert spaces or uppercase letters automatically, so check the final saved version rather than assuming it matches your draft.
  4. Edit a link in a document or message. Select the linked text, open the editor’s link option, replace the address in its URL or destination field, and save. In a website menu or button, open the relevant item in the site editor and update its link target. The menu names and button locations may differ slightly by version or service. Keep the visible link text accurate; changing the destination does not necessarily change what readers see.
  5. Change a page URL in your site editor. Open the page settings or publishing details and look for the page address, slug, or permalink field. Replace only the intended part, review the complete address, and save or publish the page. Menu paths and labels may differ by version. Check that the page is still published and that its title and content have not changed unintentionally.
  6. Redirect the old page address. If the old URL was public, create a permanent redirect from that exact old address to the closest matching new page. Many CMS platforms provide a redirect tool; otherwise, your host or site administrator can explain the supported method. Avoid sending every old URL to the home page when a relevant replacement exists. Keep the old address available in the redirect rule, and do not redirect a page to itself or create a chain of redirects.
  7. Update links you control. Replace the old address in site navigation, buttons, page text, email templates, and other materials you can edit. A redirect helps visitors who use older links, but updating internal links sends people directly to the new page and makes the site easier to maintain.
  8. Test both addresses. Open the new URL in a private browser window or on another device. Confirm it loads the intended content, uses the correct secure address (https), and does not require an unintended sign-in. Then open the old URL and confirm it redirects to the right destination. If you only changed a link in a document, click it after saving to confirm its target.

Changing a domain: Replacing a site’s domain is a broader migration, not just a page edit. Confirm that the new domain is configured for the site and its security certificate, plan redirects from the old domain, and update internal links and important account settings. Ask your hosting provider or site administrator for platform-specific instructions before switching a live site.

Common Mistakes

  • Changing a live URL without a redirect: Old bookmarks, search results, and shared links may stop working. Redirect the old address when a page has moved.
  • Redirecting to the wrong page: A redirect should lead to the same content or its closest useful replacement, not an unrelated page.
  • Editing the visible text instead of the link target: The words shown in a link and the destination URL are separate fields. Check both.
  • Forgetting internal links: A redirect can conceal old links, but updating navigation and page references avoids needless detours.
  • Using an incomplete address: Check the final destination, including the domain and whether the page path is correct. Do not assume a similar-looking URL is the same page.
  • Publishing before checking: A typo can send visitors to an error page. Review the saved address and test it before sharing it.

Tips

  • Keep a simple record of the old URL, new URL, and redirect destination. This makes later troubleshooting easier.
  • Use stable, descriptive page paths. Avoid changing a URL repeatedly just to make small wording changes.
  • When sharing a new address, copy it from the published page rather than retyping it.
  • For a page that has moved, link directly to the new address in future materials even if the redirect works.
  • Use the site platform’s documentation or support for its exact redirect and publishing controls; interfaces vary.

Troubleshooting

The new URL shows an error. Check that the page was saved and published, then compare the address character by character. Confirm the page path belongs to the correct domain and that the page is not private or restricted.

The old address does not redirect. Check that the redirect rule uses the exact old path and points to the complete new destination. Look for conflicting rules or a redirect loop. If you cannot see redirect settings, contact the site administrator or hosting provider rather than repeatedly changing the page address.

The page loads but shows old content. Open the address in a private window or another browser to rule out a saved page or browser cache. If it still shows the wrong page, verify the published page and redirect destination in the site editor.

A link still opens the old destination. Reopen the document or page editor and inspect the link target, not just its visible text. Save the change, then test the link from the published or shared version.

The site is unavailable after a domain change. Check the domain and hosting configuration with the responsible administrator or provider. Domain settings can take time to update across networks, but a persistent failure needs provider-specific investigation. Do not remove the old domain or its redirects until the new site has been verified.

Frequently Asked Questions

Can I change a URL without changing the page?

Yes. You can change a page’s address while keeping its content, but visitors using the old address need a redirect to reach it. Update links you control as well.

Will changing a URL break the old link?

It can. Without a redirect, the old link may lead to an error. A working redirect sends visitors from the old address to the new one.

Is a URL the same as a domain name?

No. A domain is the main site name, while a URL can include the domain plus a specific page path and other details. Changing one page’s path does not necessarily change the domain.

How do I change a URL in a document?

Select the linked text, open the link-editing control, replace the destination address, and save. The exact steps depend on the app, so check its help if the link control is not obvious.

How can I tell whether the change worked?

Open the new address and confirm it reaches the intended page. If the old address was public, test that it redirects correctly too.

Do I need a redirect when changing a private link?

Usually not if no one else uses the old address and it is not publicly accessible. For a public page or a link already shared with others, a redirect is the safer choice.

Further reading: Google Search Central. Details can change, so check the official page for anything that matters to you. Spotted a mistake? Tell us. How we write an answer.