Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support dinamiko

    (@dinamiko)

    Hi Angelibiza,

    Looks like images where not copied correctly on new site, can you check if wp-content/uploads/sites/3 folder exist?

    Are you using a plugin to add the images to the slide? if so, which one?

    Thanks,
    Emili

    Thread Starter Angelibiza

    (@angelibiza)

    the is no image copied there … but its has to be copied all the upload images? .. its more than 15gb size.. Its not using the same images ? i mean a share media folder ??

    Plugin Support dinamiko

    (@dinamiko)

    MultilingualPress does not include a shared media folder between sites, when you create a new site based on an existing one, all media files are copied to the new site.

    This is the only time that images are copied, after new site is created there is no more images copied automatically so you need to add images manually on each site.

    If you want to use one single source for images in all sites, you can modify your database doing search and replace like so:
    search for: https://en.welcometoibiza.info/wp-content/uploads/sites/3/
    and replace with: https://en.welcometoibiza.info/wp-content/uploads/

    Important: remember to do a database backup before run search and replace, so in case something went wrong you can restore the database.

    Just keep in mind that this will only work for the images that are already in your site, for the new ones you can simply create a post based on an existing one (Copy source post in language metabox) and it will use origin site image URLs automatically.

    Thread Starter Angelibiza

    (@angelibiza)

    thanks very much
    I understand but after the search & replace everything still the same .. not much changes on the data base ( i used SAFE SEARCH AND REPLACE ON DATABASE WITH SERIALIZED DATA V3.1.0)

    https://en.welcometoibiza.info/sant-josep-de-sa-talaia-san-jose/
    Still looking for https://en.welcometoibiza.info/wp-content/uploads/sites/3/2016/11/San-Jose-Ibiza-1.jpg
    Even if i go to my phpmyadmin and find image id on the wp3_post table the url its https://welcometoibiza.info/wp-content/uploads/2016/11/San-Jose-Ibiza-1.jpg

    Any suggestions ?

    Plugin Support dinamiko

    (@dinamiko)

    Hi Angelibiza,

    Looks like site 3 URL was not replaced correctly, the idea is to perform the search and replace only in the first part of the URL so no needed to add the image at the end of the search:
    search for: https://en.welcometoibiza.info/wp-content/uploads/sites/3/
    and replace with: https://en.welcometoibiza.info/wp-content/uploads/

    In order to search and replace directly in the database you can try our plugin Search & Replace.

    Also if the database is not huge in size, you can try to export the database file (using phpMyAdmin), open the file in your code editor and do the search and replace there, after that import the database again.

    The most important thing to keep in mind is to create database backups on each step you do, that way you can always restore the database if something went wrong.

    Thanks,
    Emili

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Images dont show’ is closed to new replies.