How to move a concrete5 website from a subdirectory to the root directory of your webserver?
Now, considering you just want to move your website from a subdirectory to the root directory (or the reverse), here is a small doc
https://YourwebSite/PreviousSubDirectory
to
https://YourwebSite/
# This doc is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details, # https://www.gnu.org/licenses/gpl-3.0.en.html
https://YourwebSite/PreviousSubDirectory/index.php/login
chmod -R 777 packages application/config/ application/files/ application/languages
if you have any, edit your .htaccess file:
replace
RewriteBase /PreviousSubDirectory/
with
RewriteBase /
https://YourwebSite/index.php/dashboard/system/permissions/maintenance * Done!
After that, you may check your website, mostly dead links with a tool like linkchecker; a dirty solution would be to make a rewriteRule redirecting your old /PreviousSubDirectory/ to the root directory