This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Tagged: Exception
This topic contains 6 replies, has 2 voices.
Last updated by Mihai Apetrei 1 year, 10 months ago.
Assisted by: Mihai Apetrei.
Author | Posts |
---|---|
August 5, 2023 at 2:08 pm #14158733 | |
jonC-12 |
I am trying to: Link to a page where the issue can be seen: I expected to see: Instead, I got: And I can't figure out how to fix it. |
August 8, 2023 at 7:36 am #14167117 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Hi there. Before this ticket gets assigned to my colleagues, I will try to help. It seems that the URLs were not overwritten/replaced with the new domain after the migration. My recommendation is to use the Duplicator plugin when you are migrating the site between the testing and live environments. - https://wordpress.org/plugins/duplicator/ Documentation can be found here: Here is a small tutorial on how to use Duplicator: This should help you perfectly migrate your website while maintaining the exact same setup and also taking care of the search and replace process so that the old links will be overwritten with the new URLs of the new domain you are migrating to (in case you are also changing the domain and not only the server). I hope that you will find this helpful 🙂 I use only Duplicator each time I want to migrate WP websites. They also have a premium version but if you don't have a huge website with a huge database, the free version should work fine. Another option is to use a "search and replace" plugin that you can use for searching the database for all the old wpengine staging environment and replace all of them with the new live/production domain (hidden link) Please let us know how things go. Mihai Apetrei |
August 8, 2023 at 2:55 pm #14170243 | |
jonC-12 |
I have already migrated the site so I don't know if a migratino plugin will help me at this point. I tried using the plugin Better Search & Replace but it's unable to find that URL string and returns no results? My guess is that WMPL tables do not work with that particular plugin? Do you have another one you recommend? I'm happy to do search and replace to fixt the issue, but the plugin will need to be able to read WPML tables. Thanks! |
August 8, 2023 at 3:08 pm #14170457 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Hi there. Better search and replace (https://wordpress.org/plugins/better-search-replace/) is one of the most popular ones. You would need to search in all tables for "trucampersstg.wpengine.com" and replace with "trucampers.com". Or you can use the adminer plugin (https://wordpress.org/plugins/pexlechris-adminer/) or phpmyadmin (as shown in the article URL that I will share with you below): Also, make sure that, if you have a caching plugin (or if there's any server caching active), that's completely cleared. Mihai |
August 8, 2023 at 4:42 pm #14171355 | |
jonC-12 |
Sorry, still not having any luck, plugins are not finding it and I tried querying the following tables below as well and it's not finding it anywhere. The link works fine on the English (native) page so I can't seem to figure out where the Spanish page is getting that URL from. Please assist or escalate. Eran Helzer already has access to my site if that's easier. Thanks! Queries I have tried: SELECT term_id, meta_key, meta_value SELECT user_id, meta_key, meta_value SELECT field_type, field_data SELECT id, name, value SELECT ID, post_title, post_content |
August 9, 2023 at 9:43 pm #14178573 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Hi there. No worries and thank you for the update. I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it. Our Debugging Procedures I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site. Privacy and Security Policy We have strict policies regarding privacy and access to your information. Please see: **IMPORTANT** - Please make a backup of the site files and database before providing us access. - If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link I will be waiting for your response. Mihai |
August 10, 2023 at 8:20 am #14180045 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Hi there. Thank you for the credentials. It seems that the header was built here and a button with a custom link was added: I was able to find the string here, in WPML > String Translation: Then, I replaced the translation with something else, just to overwrite the current value, and then I re-added the URL that you mentioned. Now, it seems that the correct URL shows up on the Spanish version. Please check from your side, too, and let me know if things are fine now 🙂 Thank you! Mihai |
August 10, 2023 at 1:47 pm #14182931 | |
jonC-12 |
Looks good now, thanks so much! |