E
E
Express7772015-07-26 08:35:50
CMS
Express777, 2015-07-26 08:35:50

After migrating a Modx site, do all internal links lead to the previous site?

Hello.
After transferring the Modx site to the Openserver locale, all internal links lead to the previous site.
For example, if we have a working site Example.com, and the local domain is exp.local, then when you click on the menu or personal account, you get to Example.com.
http://askmeplz.com/ always shows Example.com
config.core.php
core\config\config.inc.php
configured according to instructions https://rtfm.modx.com/revolution/2.x/administering...
Cache cleared.
How to change link to local domain?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Express777, 2015-07-26
@Express777

It turned out to be edited through the contexts
System - Context Management - select the context (in my case web ) - Change the site_url parameter. Be sure to save with the "save" button
Version ModX 2.2.16 Traditional

S
Sanes, 2015-07-26
@Sanes

Update via /setup/
Add
<base href="http://askmeplz.com/">

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question