dobsonrob
Member
Posted 2 years ago #
Ok, so this is confusing.
Here's my old site:
http://www.teamheatwave.co.uk/wordpress/wp-login.php
For tedious reasons (the site got hacked at the server, can't contact the guys who set it up for the teamheatwave lot, etc) I bought a new URL (team-heatwave.com) installed WP, installed the theme, etc.
But - have a look at the source on the first link. For some reason, all the code is redirecting to the new .com site. Which is on a completely different server. There should be no connection from the old to the new. Any ideas?
byronyasgur
Member
Posted 2 years ago #
did you move the database or installation from the old server - if you did then there there are two references to the base url (not relative) in the database in the _options table - you'd need to change these using phpmyadmin
dobsonrob
Member
Posted 2 years ago #
I exported the database from within WP, then cnp'ed (as I couldn't get onto their FTP) the theme php's one at a time. The odd thing is that it's the old site which is pointing to the new one; when (in theory at least) I didn't amend anything on the old site, just made the new one on a seperate server, as a new WP installation.
Anyway, it's resolved now - I got onto the cpanel, added in an index.html with a javascript redirect to the new site. New site is now completely divorced from the old one, so should be ok. Odd though.