# Created a new site on Local, imported an existing site SQL via AdminNeo, view Local site not shown correctly

**URL:** <https://community.localwp.com/t/created-a-new-site-on-local-imported-an-existing-site-sql-via-adminneo-view-local-site-not-shown-correctly/52290>\
**Category:** Support\
**Created:** [June 10, 2026, 4:13pm UTC](https://community.localwp.com/t/created-a-new-site-on-local-imported-an-existing-site-sql-via-adminneo-view-local-site-not-shown-correctly/52290 "2026-06-10T16:13:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jniles-uw](https://avatars.discourse-cdn.com/v4/letter/j/48db29/32.png) [@jniles-uw](https://community.localwp.com/u/jniles-uw)\
**Post date:** [June 10, 2026, 4:13pm UTC](https://community.localwp.com/t/created-a-new-site-on-local-imported-an-existing-site-sql-via-adminneo-view-local-site-not-shown-correctly/52290/1 "2026-06-10T16:13:59Z")

</div>

### What issue or error are you experiencing?

## I created a new site on Local, imported an existing site SQL via AdminNeo, and the Local site is not shown correctly as the imported site. There are different table format that was imported, I had copied the physical files in the Local Sites \> “newsiteonlocal” example Do I remove the Local table in AdminNeo for the other table to show up the data/site correctly?

### What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

Reviewing AdminNeo data  
shows “customnamewp\_test\_wp…” and Local’s table “wp\_…”  
Do I remove the “wp\_…”?? and other will take its place?

* * *

### System Details

- **Local Version:** The latest copy installed

- **Operating System (OS) and OS version:**  
Windows 11

* * *

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [June 11, 2026, 5:14pm UTC](https://community.localwp.com/t/created-a-new-site-on-local-imported-an-existing-site-sql-via-adminneo-view-local-site-not-shown-correctly/52290/2 "2026-06-11T17:14:05Z")

</div>

Hi @jniles-uw!

Yes, that’s the right approach, but your imported site has a custom table prefix (`customnamewp_test_wp_`) instead of the default prefix (`wp_`). WordPress needs to know which prefix to use which it reads this from `wp-config.php`.

You should be able to fix this in your Local site folder, open `wp-config.php` and find this line:

```php
$table_prefix = 'wp_';

```

Change it to match your imported tables:

```php
$table_prefix = 'customnamewp_test_wp_';

```

Save the file. This tells WordPress to look at the right tables.

Once your site loads correctly with the imported data, then you can safely delete the old `wp_` tables in AdminNeo.

To delete in AdminNeo: select each `wp_` table → click **Drop** (or check all and drop together).

Also you might need to check your Siteurl / Home URL as your imported database likely has the old site’s URL stored in `customnamewp_test_wp_options`. In AdminNeo:

1. Open that `_options` table
2. Find `siteurl` and `home` rows
3. Update both values to your Local site URL (e.g. `http://newsiteonlocal.local`)

If you can’t log in after the switch, check that `customnamewp_test_wp_usermeta` has the right user capabilities row (`wp_capabilities` meta key may need updating to match the new prefix).

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [September 9, 2026, 5:15pm UTC](https://community.localwp.com/t/created-a-new-site-on-local-imported-an-existing-site-sql-via-adminneo-view-local-site-not-shown-correctly/52290/3 "2026-09-09T17:15:03Z")

</div>

Closed on September 9, 2026, 5:15pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
