Skip to main content

How to replace an old page by new one and keep the same URL?

You have an existing page which you want to replace by a new page, but you want the new page to have the same URL as the old page to don't lose the ranking in Google. Make sure that the parent and th…

Sebastien Moreews
Updated by Sebastien Moreews

You have an existing page which you want to replace by a new page, but you want the new page to have the same URL as the old page to don't lose the ranking in Google.

  1. Make sure that the parent and the slug of the new page are the same as the ones of the old page.
  2. Publish the new page. When published, you will see that the end of the URL of the new page countains a "-0".
  3. Add a "1" at the end of the slug of the old page and unpublish it.
  4. Go back to the new page and publish it again, the "-0" should be gone from the URL and the URL of the new page should be the same as the one of the old page.

Be careful, while you have made sure that the URL of the new page is the same as the one of the old page for SEO purposes, the internal linking inside Drupal is based on the ID of the pages not on their URL!

To be sure that the creation of the new page hasn't created any broken link, please run Monsido on your website once the old page has been unpublished and the new page published. It will detect if there are still any broken links from by example blog pages, overview pages ...

How did we do?

What do I have to do if "index.php" appears in the URL of my page?

Why my external link doesn't work?

Contact