Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #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.

    Hibe türkiye haritası

    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

    #1427037

    Hey tulin88,
    I have two solutions, the first is to create a “template” of each page that was created with the Advanced Layout Builder:
    Enfold_Support_4063.jpeg
    and the export the Enfold Theme Options ▸ Import/Export ▸ Export Layout Builder Templates, and then import it to your new site.
    Enfold_Support_4065.jpeg
    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:
    Enfold_Support_4067.jpeg
    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:
    Enfold_Support_4069.jpeg
    and then import the media into the new site using the WordPress import option:
    Enfold_Support_4071.jpeg
    and make sure you Download and import file attachments
    Enfold_Support_4073.jpeg
    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,
    Mike

    #1427039

    Mike,
    Thank you very much for the detailed information,

    #1427042

    Hi,
    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘moving pages from one site to another’ is closed to new replies.