No install when moving site
Permalink
Hey guys,
I had my test site on a subdomain of a different site. I then moved my site to it's domain and when I got it to work, the site opened the homepage with no install and none of the links to other pages work. I'm pretty new to Concrete5 and would appreciate your help. Thanks for your time,
Dan
I had my test site on a subdomain of a different site. I then moved my site to it's domain and when I got it to work, the site opened the homepage with no install and none of the links to other pages work. I'm pretty new to Concrete5 and would appreciate your help. Thanks for your time,
Dan
When I installed copied the site on the new domain, I exported the database via phpmyadmin and imported it to a new database I created on the new domain. The external links are working, but links to other pages, such as the navigation, are not working.
I figured it out. I had pretty urls enabled and had never added the code where I needed to so it was throwing off all of my links. Stupid of me.
Did you update the database info when you migrate off of the test site? To clarify, when you install C5, part of the installation process requires you to define your database. So while your C5 files are hosted on your webhosting, the content of the site is written to the database.
A common oversight is when you moved the C5 files to the current hosting, the database remain the same. Whether it's intentional or accidental, C5 is pulling the data from the test database, hence the installation process was not propagated. This puts us at the crossroads because you need to determine whether or not the data from the test site should be carried over to the new hosting. If so, you don't need to mess with database; if not, you'll need to create a new database for the new install (Don't drop the current table as you might need it later on.)
As far as your links not working, how are the links structured in the site? Are you using absolute urls? (ie. <a href="http://www.yourdomain.com/page/"> as oppose to <a href="/page/">)
-Jeff