I have a site at http://www.dramallamapoker.com but for some reason its redirecting to the server IP http://72.37.245.189. I have to use http://www.dramallamapoker.com/~dramalla/ or http://72.37.245.189/~dramalla to get to the blog. Now the setup is right from the domain side, i believe its just some setting in the script thats actually doing this. I will pay $10 paypal/moneybookers to anyone that comes up with the fix (http://www.dramallamapoker.com pointing to the blog).
Make sure: 1. the WordPress address (URL) in Settings - General is: http://www.dramallamapoker.com/~dramalla/ or http://72.37.245.189/~dramalla 2. the .htaccess has been created and is supported on the server If 1 doesn't work and the answer to 2 is yes post the htaccess file and I'll take a look.
create index.php to / put code to index.php: <?php Header ("Location: http://".$_SERVER['HTTP_HOST']."/~dramalla"); exit; ?> I think here will done
if using 301 move,here will better header("HTTP/1.1 301 Moved Permanently"); Header ("Location: http://".$_SERVER['HTTP_HOST']."/~dramalla");