ModX Revo:更新网站基本URL? [英] ModX Revo: Update sites base URL?

查看:202
本文介绍了ModX Revo:更新网站基本URL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在选择域名之前为客户开发了一个网站。因此,网站网页的网址如下所示:

I developed a site for a client before a domain name was chosen. As a result, the URLs for the site pages look like:

http://host.mynost.net/~tempname/index.php?id=8

现在已经购买了域名,但如果我点击任何Wayfinder链接仍然使用上面的旧路径,而不是,例如:

A domain name has now been purchased but if I click on any Wayfinder links it still uses the old path as above instead of, say:

http://domainname.com/index.php?id=8



我假设这是在config.inc.php文件中配置,但我不确定

I assume this is configured in the config.inc.php file, but I am unsure of what to change.

任何人都能指向正确的方向?谢谢!

Can anyone point me in the right direction? Thanks!

推荐答案

您需要更改 $ modx_base_url ='/' /core/config/config.inc.php ,如果这还不够 - 手动清除 / core / cache / 文件夹。

You need to change $modx_base_url= '/' in /core/config/config.inc.php and if that is not enough - manually clean /core/cache/ folder.

这篇关于ModX Revo:更新网站基本URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆