[solved] Migration error - can't get the redirect to subfolder out of it -
I am totally baffled.
Made a site in a subfolder ../site
Site is finished, I want to migrate to its final destination.
removed the /site from
$GLOBALS['TL_CONFIG']['websitePath'] = '';
Like I did one 100 times before.
HOWEVER, the site keeps on redirecting to .../site
There is nothing (as far as I can see in my root page of the site that redirects to subfolder ../site
What am I doing wrong?
I had the same issue on moving Contao 2.11.17
Quote:
Originally Posted by
Triskal
This has happened to me couple of times. I'm not certain why exactly this happens. Try deleting pathconfig.php. After you've deleted it, run the installer again. The installer should automatically generate it again with the correct setting.
I ran into the same issue today. I had checked in the localconfig.php file to ensure that the path to Contao had been removed, and each time I went to the backend Settings to remove the development path to Contao, it kept coming back!
Thanks for your solution. I downloaded the system/config/pathconfig.php file and edited the following line
// Relative path to the installation
return '/~egisasso';
TO
return '';
I don't recall seeing this before, but I'll be upgrading the site shortly and this should clear the issue up going forward.