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?
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.
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!
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!
Glad to hear you got it resolved!