• I have a development wordpress installed in my pc. From my pc browsers I can see images but from my subnet pcs in my enterprise I can’t see the images even the image of the home page of 2022 theme. Can somebody please help me?

    • This topic was modified 3 months, 2 weeks ago by James Huff. Reason: moved to Localhost Installs, since this is a localhost install
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter macosta

    (@macosta)

    I accessed my site from other pc in my subnet, I checked the browser inspector and I realized that the url of the image in the browser starts whith localhost, no matter whether the address of my site is set with the hostname or with the host IP in general settings. Could anybody help me fix that?

    • This reply was modified 3 months, 2 weeks ago by macosta.
    Thread Starter macosta

    (@macosta)

    The problem was that I had set localhost earlier, then I changed it to my hostname, but the guid field in the wp_posts table remained unchanged. I solved the problem this way:

    UPDATE wp_posts SET guid = REPLACE(guid, 'https://localhost', 'https://hostname');
    

    Thanks so much to vadubai for responding very quickly to my request and trying to help me.

    Okay @macosta Good work if you resolved the issue yourself.

    Thread Starter macosta

    (@macosta)

    Hi everyone, Im new to wordpress and I would like to know what is commonly done in wordpress to get rid of these problem. I mean, I am developing my site in wordpress in my pc and I will upload it to a hosting site in the future, that means I will have to change de site url again. What do you normaly do to avoid the problem I had, other than develop the site in the hosting? Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.