Hi all!
I was wondering, when I start to make a website for my client, I'll make a folder called "test", so my client can check the website before I'll publish it.
Well, the problem is when I start making a website, I'll make a path something like this: "http://www.something.com/test/. When the website was ready I was trying to publish it, so I tried to move all files to public_html-folder, then I test the site and it didn't work. Then I move files back to /test folder and it worked.
How can I fix that?
Change the installation-folder
Re: Change the installation-folder
Check config.php for any hardcoded paths/url and fix or remove them (these aren't used on a default installation of CMSMS for quite some time and are only needed on special situations).
And, of course, go to the admin console and clear cache.
And, of course, go to the admin console and clear cache.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: Change the installation-folder
Also you need to define
In what way....error messages? Broken links/images?.....it didn't work
Re: Change the installation-folder
Some times when moving to the root of site from subfolder you need to declare the root URL in the config.php file, or run yoursite.com/install/upgrade.php to fix any errant paths...
Re: Change the installation-folder
Clear cache
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -