I had two domains, one full and one sub. I had websites up and running on each of them, planning to replace the (old) full with the (new, WP-generated) sub-domain, which I did, but since then I’ve lost all WP formatting and can’t access my WP dashboard.
To do the migration, I followed this advice, which looked right to me:
[quote]RE: Migrating a website from a sub-domain to a full domain
so… you say you have built a full website… is it with wordpress? if so all you have to do is go to manage domains add blank.com to be fully hosted. then via ftp or shell rename the folder blank.com to temp.blank.com and rename blank.blank.com to blank.com. before you do that though be sure to log into your wp admin and change general setting site url and the other one forget what its called to blank.com since i’m assuming the information would be blank.blank.com. you will not be able to access your wp information until you finish renaming the directory once you do it. [/quote]
The only thing I did differently was that, instead of going into the general settings to change the site url and the home url, I had to do that in wp-config, because I’d already changed the names there due to previous problems.
Then, to put Wordpress in its own directory, I followed this advice:
[quote]Copy (NOT MOVE!) the index.php and .htaccess files from the WordPress directory into the root directory of your site (Blog address). The .htaccess file is invisible, so you may have to set your FTP client to show hidden files. If you are not using pretty permalinks, then you may not have a .htaccess file. If you are running WordPress on a Windows (IIS) server and are using pretty permalinks, you’ll have a web.config rather than a .htaccess file in your WordPress directory. As stated above, copy (don’t move) the index.php file to your root directory, but MOVE (DON’T COPY) the web.config file to your root directory. [Note: I’m not running Windows.]
Open your root directory’s index.php file in a text editor
Change the following and save the file. Change the line that says:
to the following, using your directory name for the WordPress core files:
Login to your site. It should still be http://example.com/wordpress/wp-admin/[/quote]
I went to my site. Now it has no WP formatting, and also, I can’t get into my WP dashboard.
Anybody have any ideas as to what went wrong here?
Thanks for your help.