Why Image's Src Shows My Ip

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 лет назад
I've just installed my own nop and everything looks fine. Today i realized that in my source code on homepage every image src contains my ip instead of my domain. Is that a bug or i missed something while modifyng my theme(yep i did a little )?

Here's some example in my source code:

<img title="" alt="Mystore" src="http://xxx.xxx.xxx.xxx/content/images/thumbs/0000083.png">

<img class="nivo-main-image" src="http://xxx.xxx.xxx.xxx/content/images/thumbs/0000086.png" style="display: inline; width: 980px; height: 436px;">

Please help
7 лет назад
Did you setup your store url and host values in : Configuration/Stores?
7 лет назад
Yes i checked again and config looks fine and image src's still contains my ip :(

<img src="myip/image.png"/> instead of <img src="mydomain/image.png"/>
7 лет назад
When you type in your domain name in a browser, are you actually being redirected to the IP address, or are you seeing the domain name in the address bar and just the img src's are the IP?

Can you access your images in a browser like this, or does it redirect to the IP address?
http://www.yourdomain.com/content/images/uploaded/imagename.jpg ..or do you see a 404 error?
7 лет назад
Ok guys i dont know how but somehow all pics src's have been fixed up but only my custom logo ( uploaded from admin panel ) still shows ip in url and source code.
7 лет назад
See this thread, it's likely the same thing: https://www.nopcommerce.com/boards/t/44545/image-source-is-pointing-to-entirely-different-domain.aspx
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.