用VirtueMart 给客户做了一个简单的网上购物网站,在本地测试后没问题,可是发布到服务器后,好像指向的链接都不对了

用VirtueMart 给客户做了一个简单的网上购物网站,在本地测试后没问题,可是发布到服务器后,好像指向的链接都不对了,之前的很多网站都是用同样的方法在本地做好后上传到服务器的,没发生这样的问题,是不是用VirtueMart 有什么设定呢? bignosestudio.com/FTP/888
已邀请:

~~~~~~~~~ - 上帝给我的使命,就是证明你们都不是最糟糕的

赞同来自:

找到解决的办法了,
Virtuemart是Joomla的商城组件,在Joomla迁移后,需要更改一下virtuemart.cfg.php其中的网站地址:
virtuemart.cfg.php在administrator\components\com_virtuemart目录下:
大概在第34行
代码:
// these path and url definitions here are based on the Joomla! Configuration
define( ‘URL’, ‘http://localhost/’ );
define( ‘SECUREURL’, ‘http://localhost/’ );
将localhost改为新的网址,否则Virtuemart打不开。

要回复问题请先登录注册