The URL of my copied site is redirecting to the original

The URL of my copied site is redirecting to the original

This guide will: Help you to identify and fix the issue causing your new site's URL to redirect to the original.


This is the most common issue, and can have several underlying causes. We’ve listed them below, along with ways to fix the errors.

The database connection string is wrong

It may be that the connection string of the clone site is still set to use the original site’s database. Check that the database details in the connection string (using wp-config.php for WordPress) match those in the hosting platform.

Check our guide to accessing a database.

The core URL in the database hasn’t updated

If the core URL in the database still contains the original URL, the site will redirect. You can check and update the database using our guide to accessing a database.

The original URL is still present within the application

It may be that you have hard-coded links set to the original URL, which will need to be updated. For WordPress sites, it is worth SSH-ing to the server and running a wp cli search & replace.

Read the guide to accessing your SSH details.

Read how to connect via SSH.

Read about the search & replace command.

If you have followed the above steps and still can’t resolve your site copy issues, raise a ticket with the support team.


Video tutorial:


Still having issues?


Further reading:

  • KB ARTICLE or
  • BLOG LINK