Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @gioenjoy, it sounds like after moving your site you need to fix featured image urls to remove the blogdaattivare/ segment of the url.

    You can do this in a few ways:

    – Manually go to each page and remove/re-add the featured image
    – Find and replace all instances of ‘/blogdaattivare/wp-content` with ‘/wp-content’. In the past our moderators have recommended a plugin to do just that: https://wordpress.org/plugins/better-search-replace/

    Thread Starter gioenjoy

    (@gioenjoy)

    Is it possible to do it by server command directly?

    I.e.: Can I link /cleaned-newblog/wp-content/uploads/ folder to old and original /wp-content/uploads/ one?

    Thank you.

    Zack Krida

    (@zackkrida)

    Hi @gioenjoy the solutions I offered you work in the following scenario:

    1. The images on your site are broken when you visit pages
    2. Your images are already in /wp-content/uploads/
    3. In the WordPress Admin, images are still pointing to their /cleaned-newblog/wp-content/uploads/ paths

    Based on this link showing an image: https://www.digital-coach.it/wp-content/uploads/2021/02/royal-canin-food-and-care.jpg

    I believe your images are already in the correct place, and the image paths in your database are what need to be fixed. You can use the methods I described above, or some more technical choices:

    – Do a find and replace in mysql or with a tool like phpMyAdmin
    – use the wp-cli search-replace command on your server: https://developer.wordpress.org/cli/commands/search-replace/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to change featured image default folder URL?’ is closed to new replies.