I have periodically experienced some weird glitches with the [(site_url)] tag after some website transfers... e.g some pages updated with the new url, some still with the older

(I cleared the cache, edited configuration both in admin and config.inc.php).
Where is this value fecthed ?
Didn’t find it in modx_system_settings....
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
check your config.inc.php file
Standard Disclaimer
I could be totally wrong.
I did, nothing I can configure there, I wouldn’t touch this :
if($base_path==""||$base_url=="") {
$a = explode("/manager",str_replace("\\","/",dirname($_SERVER["PHP_SELF"])));
Should I use [(base_url)] instead of [(site_url)] ?
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
-
MODX Staff
- 10,725 Posts
Unless you’ve hardcoded it somewhere, this should be determined automatically by the relative location of the config file to the /manager directory. Make sure you didn’t upload cache files for documents that are no longer writable (666) and that the cache directory is in fact 777. Otherwise, I’d say you may have your old path being stored in actual content somewhere in your pages? If you can be more specific about where it’s getting the older values...??
No it was not hardcoded, you were right about the cached files, I uploaded some that did not belong here
Thanks !
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id