• Resolved joelreed

    (@joelreed)


    First of all I’d like to thank the developers of WP Latest Posts for creating a super useful plugin.

    I have one query that relates to the ‘Default Image’ (/wp-latest-posts/img/default-image-fpnp.png) which appears when a post doesn’t have an associated ‘Featured Image’. I built my WordPress website on my localhost server and then migrated the project live. Since then, this ‘Default Image’ pathway is pointing to my localhost URL as opposed to the live website files.

    I inspected the file located at ‘\wp-content\plugins\wp-latest-posts/wp-latest-posts.php’ and updated the DEFAULT IMAGE pathway explicitly to my live website address, but this has made no difference?

    Is there a customization option hidden away somewhere where I can get this file pointing to the correct server. Please note, all my other website’s links, media and database references have been migrated properly and are pointing to the live pathways.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author JoomUnited

    (@joomunited)

    Hi,

    Thanks for contacting us and for reporting.
    Can you please share an URL where you see this problem?

    Thanks.

    Thread Starter joelreed

    (@joelreed)

    Plugin Author JoomUnited

    (@joomunited)

    Hi,

    As I’m not not able to reproduce that, could you create an account on JoomUnited website, I’ll activate an access to support so we can take a look right at your website to fix that. It’s really important that we fix this for everyone ??

    Please proceed and give me your ID here, on this post, I’ll open the support access then you can post a request.

    https://www.joomunited.com/login-register?view=login

    Cheers,

    Thread Starter joelreed

    (@joelreed)

    Hi,

    Many thanks for that offer, but I was able to solve this issue myself eventually. What I did was run a full search on my WordPress installation’s MYSQL database for the term ‘localhost’ and I was able to find the exact row in the database where this problem was occurring. As I specified previously, all my other files and links were pointing to the live website, so this was an easy search to carry out.

    The meta_key target was ‘_wplp_settings‘, which is part of the ‘wp_postmeta‘ table. To find this exact row, you can go to ‘Search’ within MYSQL, tick the ‘wp_postmeta’ table (only) and then search for the term ‘dfd‘, which forms part of the default image’s title.

    From there, it was a case of simply overriding the localhost pathway with the live one, which I did via the Search & Replace plugin. I made sure I backed up my database safely first. Then it was a case of importing ‘wp_postmeta’ and all is well again, as you can see on my website.

    I hope that’s useful for anybody else who finds themselves in the same predicament. Maybe this all stemmed from installing the plugin on local and FTP’ing the plugin files live?

    Plugin Author JoomUnited

    (@joomunited)

    Hi,

    This is exactly what we would have done. Thanks for sharing.
    This problem will be addressed in a future version not to happen again.

    Cheers,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Default image pointing to localhost URL pathway’ is closed to new replies.