I use one hosting account through GoDaddy for many projects. I use subdirectory installs of wordpress for these projects. I can assign these projects' domains to the subdirectory, but when I click on another page in the site, the URL shows my main hosting package followed by the subdirectory. How do I show my project's proper domain throughout?
Main hosting domain is:
A given project's WP subdirector is:
ProjectA's final domain is www.projectA.com
How do I show www.projectA.com/contact instead of www.main.com/projectA/contact
This is a problem related to your .htaccess file . You can solve this problem in two ways .
one is by changing configuration in .htaccess file and other is by changing your permalink structure .
choose any other permalink structure then my-domain.com/post-name
my-domain.com/?p=123 and other structure will work