Moving a wordpress blog.
-
Hi
I’ve got a WordPress blog on a server that died… it’s hosted where I work, so they have moved the data to a new server.New Site: http://userweb.port.ac.uk/~duke-wie/blog
Old site:
http://www.tech.port.ac.uk/staffweb/duke-wie/blog (currently re-directs to the new site)Two (or three!) questions:
1: The database.
I’ve followed the instructions on http://www.tamba2.org.uk/wordpress/move – and have managed to update the values for siteurl & home.
I’ve (finally!) managed to get into phpmyadmin & create a backup of the database, prior to braving the dropping all tables & starting over … (from http://www.tamba2.org/wordpress/restore)
However, the question that I have is that it’s a rather large database – with wp_bad_behaviour_log being the main culprit.
Do I *need* that table? (1.4 MB without it, 10.4 with it!)Do I even need to restore the database? The database has been moved over, it’s got the same user name & password as before, so I’ve not had to alter the config file.
2: .htaccess file – new blog
The .htaccess file (on the new site) says:# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /staffweb/duke-wie/blog/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /staffweb/duke-wie/blog/index.php [L] </IfModule> # END WordPress
I’ve tried changing /staffweb/ to /~ – to fit with the new blog, but then in the browser I get error messages saying that I don’t have permission to have see the site.
3: .htaccess (?old site)
The .htaccess file modification
RewriteRule (.*)http://www.newdomain.com/$1[R=301,L]
– should that go in the *old* site, or the new one? I found that on Baz Web’s site – when the other option was installing a plugin on the old site which I can’t do. )I hope that I’ve made it clear …
(Though it’s a pain having to move it, the new server will allow me to have a newer version of WordPress, we had a very old version of php on it…so there are some silver linings!)
- The topic ‘Moving a wordpress blog.’ is closed to new replies.