Hello
Here is the thing. I have developped a MODX site for the client. During the development the site was installed into a folder like www.site.com/modxsite because the old site was running in the main folder.
Now when the new site is ready I wanted simply to redirect the url to the folder when the modx site is installed. So on the host admin panel I edited the folder that is attached to the domain. So from www.site.com pointing to the main folder it now points to /modxsite folder.
However when I change that, clean cache and load the www.site.com page I get a page without any styles and when I view it's source i see all the links pointing to www.site.com/modxsite/assets, instead of www.site.com/assets. I have changed .htaccess Rewrite Base from /modxsite to / but it does nothing.
All help I see on the forums is where people really move modx files from folerd to folder. But I didn't do that I just wanted to point the domain to the existing modx folder but to no avail :/
What I am doing wrong???
Kind Regards
====================
montagproject
First, try manually deleting all files in the core/cache directory and clearing your browser cache and cookies.
Check your .htaccess file to make sure the Rewrite Base is set to /.
You can try running www.site.com/setup to see if that straightens out the paths (assuming that the setup directory is there and not empty). If not you'll have to edit the four config files to correct all paths and URLs:
core/config/config/inc.php
config.core/php // in the MODX root
manager/config.core/php
connectors/config.core.php
After doing that, manually clear the core/cache directory again.
If the old subdirectory is still there, rename it by putting an X at the beginning, so you'll know if MODX is still looking there for things.
OK Thanks a lot!! I'm gonna make a site backup and try to do these changes and see if it helps.
Kind Regards
====================
montagproject