-
- 39 Posts
Hello. I just finished a huge site using Revolution 2.0. it’s So sweet. I love it.
I need to take a site and duplicate it on another domain. I have backed up the DB and site files. Uploaded them to the new server and imported the DB. I update the config.core.php with the new domain. The front end home page is loading fine, but I can’t get the /manager directory to load. Any suggestions?
perusing forums is where my comp sci degree got me.
-
- 24,544 Posts
Did you run Setup at the new site?
-
- 13 Posts
I had a similar problem.
You need to change the paths in the config file.
See this page:
http://rtfm.modx.com/display/revolution20/Moving+Your+Site+to+a+New+Server
Scroll down to the section about updating config file.
The best way to find out what the paths are is to install a new version of revo on the server then open the core config file in your text editor of choice and copy over the corresponding paths from the new installation to the config file of your old one.
You might have to clear cache once you get into the backend for everything to work properly.
-
- 39 Posts
Quote from: Scipio at Jun 11, 2011, 07:08 PM
I had a similar problem.
You need to change the paths in the config file.
See this page: http://rtfm.modx.com/display/revolution20/Moving+Your+Site+to+a+New+Server
Scroll down to the section about updating config file.
The best way to find out what the paths are is to install a new version of revo on the server then open the core config file in your text editor of choice and copy over the corresponding paths from the new installation to the config file of your old one.
You might have to clear cache once you get into the backend for everything to work properly.
I forgot to mention one thing. I am using a domain alias for the new site. So the site i copied was domain1.com. The new site is being setup for domain2.com. But in order to work on the domain2.com before switching the DNS, I am using my website with a domain alias to preview the site. The url for that is domain2.mycompany.com. I changed the http host in the config file to this. I also updated all the paths to use domain2.com.
After this I ran the setup again and got it to work. Thank you!
perusing forums is where my comp sci degree got me.
-
- 39 Posts
OK. I’ve got it up and working. But something weird is going on with the links.
I’ve turned off friendly URLS. The following is appending to all my links on the site:
domain2.com/?phpMyAdmin=-lBICLEDuDcX2g-SjCEx5Ni18Ke
The links work but this is getting appended.
I did about 4 find/replace queries in the SQL file to replace the names of some content. Any ideas?
perusing forums is where my comp sci degree got me.
-
- 24,544 Posts
That looks like an attempt to hijak your site. Check the index.php file in the root.
-
- 39 Posts
Quote from: BobRay at Jun 13, 2011, 06:05 PM
That looks like an attempt to hijak your site. Check the index.php file in the root.
Looks ok to me. I think it might have been from making change in phpMyAdmin and saving records. I exported the DB and did a find replace for those strings and it looks to be working now.
Thanks again.
perusing forums is where my comp sci degree got me.