Skip Navigation

[Resolved] 1 on 1 copy redirects to wrong site

This support ticket is created 3 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by matthiasV-2 3 years, 2 months ago.

Assisted by: Luo Yang.

Author
Posts
#1934277

We created a 1 on 1 copy of landman.re under landman.shop.
The site landman.shop redirects to landman.re though as it should open on landman.shop.
The database probably contains hard references to landman.re.
As we used the astra theme to build landman.re can someone login to the wp-admin and the myPHPAdmin to analyse and solve this issue please?

#1934643

Hello,

There might be some broken data when you do the copying websites.

I suggest you follow our document to migrate your website:
https://toolset.com/faq/how-do-i-migrate-a-wordpress-site-from-one-domain-to-the-other/

#1934651

This doesn't help. The host made a one on one copy of landman.re.
The fact that landman.shop redirects to landman.re is probably due to hard references to landman.re.
Can you login to the wp-admin and the myPHPAdmin to analyse and solve this issue? That's the question.

#1934855

You just need to follow the document I mentioned above to migrate the website, you can try it yourself, so you will be able to avoid more errors in the future.

Please read the document I mentioned above.
https://toolset.com/faq/how-do-i-migrate-a-wordpress-site-from-one-domain-to-the-other/
section "Manual migration of the WordPress site":
If the URL there is not the URL of the production site, WordPress will always redirect you to the development URL. This data comes from the options table, but I find that the easiest (and safest) way to “fix” it is by entering the correct URL in the wp-config.php file.

define('WP_HOME', 'https://toolset.com');
define('WP_SITEURL', 'https://toolset.com');

section "2. Updating URLs in posts and custom fields":
Use a database editing tool such as PHPMyAdmin. Navigate to the database right database, if you have several. You can back up the database using PHPMyAdmin, using the ‘export’ tool.

These should be able to resolve most cases of this problem.

#1934913

My issue is resolved now.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.