PDA

View Full Version : .htaccess rewrite for temporary url with wordpress install



madelike
11-02-2009, 05:20 PM
I've installed wordpress under a domain name that I'm going to move over after the the new install is ready for primetime, but need wordpress to be able to work with the temporary url (with ip address and tilde) during setup.

I'm assuming I get get this to happen with the .htaccess file but I'm not sure what to change exactly.

Please note: I don't need to test out an installation locally as a completed site is already ready at another location. I'd prefer not to move over the database as the host has been hacked and will be importing from a wordpress .xml file.

felgall
11-02-2009, 05:57 PM
It is easier to just update the hosts file on your own computer to point the domain to the new copy just for you while everyone else who doesn't have the entry in their hosts file does a DNS lookup to find the old copy. That way your setup doesn't need any change on the server at all.

madelike
11-02-2009, 06:00 PM
Thanks Stephen,

Any details on how to do this?

Amanda

madelike
11-02-2009, 06:22 PM
Nevermind...I decided to change it in the database...