WHM - 0.0.0.0/~sitename/

Permalink
I was waiting for DNS propagation and decided to build using the IP address thinking I could just switch to the domain once it is ready. Now the home page works but when I click on any of the site links it adds "domain.com/~sitename/contact" instead of "domain.com/contact." Is there a way to correct this behavior without reinstalling?

 
CygnetMidwest replied on at Permalink Reply
CygnetMidwest
Do you have your site installed in a ~sitename directory? If so, that's why it's doing this. The only way to change that would be with htaccess I believe.
captimulti replied on at Permalink Best Answer Reply
Thanks for the reply. No, it's installed in public_html directory.

I was able to resolve it though. I enabled Pretty URLs from System & Settings while I was working from the /~sitename/ address. So it wrote to the .htaccess file that way. I simply updated it without the /~sitename/ and it resolved.

Thanks again!
CygnetMidwest replied on at Permalink Reply
CygnetMidwest
Glad to hear you got it resolved!