简体   繁体   English

如何在iis管理器中更改图像的链接?

[英]How to change link of images in iis manager?

i had created a magento website. 我创建了一个magento网站。 When I had created this site locally through localhost the link was - http://localhost:3115 当我通过localhost在本地创建此站点时,链接为http://localhost:3115

Now that I changed it the link is http://www.localhost.com 现在,我将其更改为链接http://www.localhost.com

But now my images and other links go to the old url - http://localhost:3115/ 但是现在我的图像和其他链接转到旧的网址http://localhost:3115/

How can I tackle this issue. 我该如何解决这个问题。 please help 请帮忙

you have to change in databse just go to phpmyadmin and open table core_config_data and find web/unsecure/base_url column and web/secure/base_url you find your old url just replace with your new url and clear your cache.. 您必须更改数据库,只需转到phpmyadmin并打开表core_config_data并找到web/unsecure/base_url column and web/secure/base_url您会发现旧的url只是替换为新的url并清除了缓存。

在此处输入图片说明

First, Please clear Cache 首先,请清除缓存

if it doesn't works than: did you changed the base url for your magento to the new one ? 如果不起作用,那么:您是否将magento的基本网址更改为新网址? if you have changed base url from old to new than images should work if you used correct code standards for magento template. 如果您已将基本网址从旧更改为新,则如果您为magento模板使用了正确的代码标准,则图片应该可以使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM