mrdee 1 Report post Posted October 29, 2011 (edited) This one is tricky to explain, but nevertheless a very difficult one for me, so I would love to get help on this one.I have just set up hosting for nanna, and I have backups of her files on the previous hosting.It concerns a Wordpress blog.I copied all the files to her hosting space (her new hosting space, that is) and adjusted the database login details.When I opened the site in my browser, I saw the text and (sort of) layout appear, however, without any graphics.When I clicked a link, I got "Google Chrome cannot find the page at ...... (The old URL of her blog, which no longer exists)".Obviously, my first thought was "Oh my goodness, I will have to go through all those files to change all appearances of the old URL to the current URL". (And I probably might still have to).However, then, it also dawned on me "I have set up the database (via the SQL), I have copied all the files, but I have not installed Wordpress on the hosting yet", so I went on to Fantastico to do so, however, after I had entered everything and pressed the button to start installing, Fantastico returned this: Install WordPress (2/3)The installation can not be completed:- You chose to install in the main directory of the domain nannaskitchen.co.cc, but there are conflicting filenames, therefore we can not proceed. Following filenames already exist in the main directory of the domain nannaskitchen.co.cc (path="/home/nannaski/public_html/").You must manually remove these files before proceeding with auto-installation:wp-adminwp-contentwp-includesfantversion.phpindex.phplicense.txtreadme.htmlwp-activate.phpwp-app.phpwp-atom.phpwp-blog-header.phpwp-comments-post.phpwp-commentsrss2.phpwp-config-sample.phpwp-config.phpwp-cron.phpwp-feed.phpwp-links-opml.phpwp-load.phpwp-login.phpwp-mail.phpwp-pass.phpwp-rdf.phpwp-register.phpwp-rss.phpwp-rss2.phpwp-settings.phpwp-signup.phpwp-trackback.phpxmlrpc.phpClick on the browser's Back button to fix reported errors. Of course, my main concern is now: will I have to remove all the original Wordpress files after all the work I went through?And secondly, if I do, how do I get all the right data from the old Wordpress Blog in place?Has anyone got an answer how I should go about things, and in what order?Please help, as I would not want to have to start completely from scratch again.I will be ever so much obliged if someone could help me. Edited October 29, 2011 by mrdee (see edit history) Share this post Link to post Share on other sites
mrdee 1 Report post Posted October 29, 2011 Attention: Update to the previous Sorry about having to do it like this, but I could no longer edit the previous post, so here it goes:I have now managed to adjust the URLs and the email address in the SQL file, with which I updated the MySQL database.However, I still have a few concerns: Although all the data and the files seem to be in place, I am concerned about the fact Wodpress might not be installed Also, the URL is followed by /# in the browser bar, is that just a detail or does it need correcting If it needs to be corrected, how am I supposed to do this? In order to be a bit more specific, especially to point 2: The URL to the site is "http://nannaskitchen.co.cc/;, but when I type it into the address bar, it comes out as "http://nannaskitchen.co.cc/;, although, both seem to work.I am a bit concerned about the "#" bit, so, if anyone can help, please get in touch, also about whether or not Wordpress is installed.Thank you in advance. Share this post Link to post Share on other sites
k_nitin_r 8 Report post Posted November 24, 2011 Hi!I visited the website today and it seems to be working normally. I guess you got the help you needed.Moving WordPress between different domain names is the hard part because unlike some other content management systems, WordPress generates absolute URLs, even for the CSS stylesheets! There are ways around it by writing up a plugin for turning the absolute URLs into relative URLs through the WordPress API.The URLs that appear in the database often contain the URL of the posts and are absolute URLs as well, though another developer once mentioned that WordPress does not use those URLs but a few plugins do so you've got to check if any of your plugins are pointing to the wrong URL. WordPress has the domain name within URLs in several different places but you should be able to find them all in the SQL scripts that you use to export data from the database. Share this post Link to post Share on other sites