Ask your WordPress questions! Pay money and get answers fast! (more info)

Using different domains for WP subdirectory installs WordPress

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?

For example:

Main hosting domain is:

www.main.com

A given project's WP subdirector is:

www.main.com/projectA

ProjectA's final domain is www.projectA.com

How do I show www.projectA.com/contact instead of www.main.com/projectA/contact

Answers (2)

2012-12-06

Maor Barazany answers:

You can use [[LINK href="http://wordpress.org/support/topic/multiple-domain-with-multisite"]]this solution[[/LINK]].

2012-12-07

phppoet answers:

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