How can I move a Site?
Permalink
Hi all,
I develope a site under a special domain: new.mydomain.com. When I m ready with the site, I ve to move it to the main domainhttp://www.mydomain.com.
Is it ok to move the Concrete5-Files and Folders from /my/webroot/new/httpdocs to /my/webroot/www/httpdocs? Or is it better to install a fresh version of concrete5?
If moving files is ok, is there to change any configfiles and settings from the old-domain-name to the new-domain-name within concrete5?
Thanks for your advice
trickler
I develope a site under a special domain: new.mydomain.com. When I m ready with the site, I ve to move it to the main domainhttp://www.mydomain.com.
Is it ok to move the Concrete5-Files and Folders from /my/webroot/new/httpdocs to /my/webroot/www/httpdocs? Or is it better to install a fresh version of concrete5?
If moving files is ok, is there to change any configfiles and settings from the old-domain-name to the new-domain-name within concrete5?
Thanks for your advice
trickler
Thank you for the link. It looks good :)
A related issue, if I may.
I built a new C5.8 website to replace an old C5.6 site and wasn’t sure how make the switch to the new site so I contacted tech support at my hosting service thinking I just needed to somehow point my domain to the new site. Tech support moved the old site into a new directory and put the new C5.8 files into the old directory. The site displays properly, but I get a 404 after I enter my username and password.
How can this be fixed?
Thanks.
Alan
I built a new C5.8 website to replace an old C5.6 site and wasn’t sure how make the switch to the new site so I contacted tech support at my hosting service thinking I just needed to somehow point my domain to the new site. Tech support moved the old site into a new directory and put the new C5.8 files into the old directory. The site displays properly, but I get a 404 after I enter my username and password.
How can this be fixed?
Thanks.
Alan
It's hard to tell without any more information but here are a few things you can try.
First see if you can still reach the dashboard. If yes try to empty the cache.
If not, you'll have to delete the cache manually by emptying the folder application/files/cache on your server.
That might solve the problem.
You might also want to check if an old htaccess file from the legacy installation was not left behind and is acting up.
First see if you can still reach the dashboard. If yes try to empty the cache.
If not, you'll have to delete the cache manually by emptying the folder application/files/cache on your server.
That might solve the problem.
You might also want to check if an old htaccess file from the legacy installation was not left behind and is acting up.
Could it possibly be something to do with a canonical URL setting in a config file?
I can’t reach the dashboard. I manually cleared the cache and now get a 500 error after entering my username and password.
.htaccess file contains
# Use PHP7 Single php.ini as default AddHandler application/x-httpd-php70s .php
Did you have 'pretty URLs' enabled prior to moving the site?
Had you specified a canonical URL prior to moving the site?
Had you specified a canonical URL prior to moving the site?
Pretty URLs we’re turned on. I’m not sure about a canonical URL.
I suspect the .htaccess (or equivalent) applicable to the new location needs work.
I have another related issue. The files in my old website were moved to a new directory and I now have a problem with “Writable Files and Configuration Directories” athttp://alanhalley.com/alanhalleyold/....
How do I resolve this issue?
Thanks for any help.
Alan
How do I resolve this issue?
Thanks for any help.
Alan
That's just really weird.
I can have a quick look for you if you want. Feel free to contact me by direct message.
I can have a quick look for you if you want. Feel free to contact me by direct message.
@Godwana, your intuition was correct, htaccess needed some TLC :)
Thank you so much for fixing my .htaccess file, Nour.
Alan
Alan
You're very welcome
Here's a tutorial to help you with that:https://documentation.concrete5.org/developers/installation/moving-a...