-
AuthorPosts
-
December 3, 2023 at 12:53 pm #1427033
Hello,
We have 2 websites. One in Turkish and one in English, they are in different places independent of each other.
The following page was prepared on the Turkish website. Please check it out, 26 linked pages have been created with this page.
My question to you:
I want to copy the page I linked above and 26 other pages in Turkish and move them to the English website. How can I do this (including the template “hibe-123” which I created as a hotspot)?Thanks
December 3, 2023 at 1:55 pm #1427037Hey tulin88,
I have two solutions, the first is to create a “template” of each page that was created with the Advanced Layout Builder:
and the export the Enfold Theme Options ▸ Import/Export ▸ Export Layout Builder Templates, and then import it to your new site.
The second solution is to Enable the Avia Layout Builder Debugger and copy the shortcode for each page and then paste it into your new site:
But unfortunately both of these solutions will not translate the pages and will not import the images to the new site. For this you will need to go to WordPress ▸ Tools ▸ Export ▸ Media:
and then import the media into the new site using the WordPress import option:
and make sure you Download and import file attachments
Unfortunately you may need to re-choose all of the images for your imported pages because the image URLs in the shortcode will not match your new site and WordPress displays the images based on the Attachment ID, this is a unique ID number for each image, so if your new site already has a image with that number your imported image will get a new number which won’t match the shortcode. You might get lucky and the Attachment IDs all match correctly, such as when a new empty site imports a “demo”, if you are lucky then you could paste the shortcode into a text editor like VScode and perform a search & replace of the domain to match your new site, such as
search for: https://my-old-domain.com/
replace with: https://my-new-domain.com/
and if the Attachment IDs are the same then this will work good, but I expect that you will need to manually re-choose all of the images after you import them, so just be ready to do this.
Someone might have the idea to copy all of the old site images via FTP and add them to the new site via FTP, but this will not work because WordPress will not import the images and add a Attachment ID for them in the database of the new site, so this method will be a waste of time. Perhaps you will find a plugin to do this for you, but if the new site already has a image with a specific Attachment ID, your new imported image can’t have the same Attachment ID, so again this will be a waste of time.
It looks like your site doesn’t have too many images, just the hotspot image so it should be easy for you to do this.Best regards,
MikeDecember 3, 2023 at 2:13 pm #1427039Mike,
Thank you very much for the detailed information,December 3, 2023 at 2:25 pm #1427042Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘moving pages from one site to another’ is closed to new replies.