Hello,
I have moved a site to a new server and am now using a new site URL. The front page of the site comes up OK but all pages using the wayfinder menu give a 404 Not Found message. I have changed all the entries in the config.inc.php files.
The URL appears correctly in the URL bar of the browser and the page exists and can be edited. When clicking VIEW from the manager after editing the same 404 message is returned. Cache has been completely cleared.
Any thoughts?
Thanks
Paste your error log here.
(Manage > Reports > Error log)
Do you have this in the head section of all Templates?
<base href="[[++site_url]]" />
In the Manager's Top Menu, do Manager -> Clear Cache -> refresh URIs.
Also if you haven't already, delete all files in the core/cache directory. Sometimes you also have to clear the browser cache and cookies.
Does it load if you type in index.php?id=2
Deffo not a wayfinder/package issue then. Most likely it is going to be your paths are incorrect somewhere in the config.inc.php.
Check $modx_base_url= '/'; especially as this one always throws me off if my modx is in a sub dir.
I have found the problem - friendly URL's. Turning them off has caused the pages to perform correctly. Transferring the site to an offline server just operating on my intranet must in some way cause them to become a problem.
Thanks for all the assistance.