开发者

wordpress mu domain mapping problem

开发者 https://www.devze.com 2023-04-06 07:55 出处:网络
i installed Wo开发者_如何学CrdPress mu and WordPress mu domain mapping plugin but the only problem that i have is that i cant park a domain to use for main domain for example my main domain is foo.com

i installed Wo开发者_如何学CrdPress mu and WordPress mu domain mapping plugin but the only problem that i have is that i cant park a domain to use for main domain for example my main domain is foo.com and i want the users to redirect to foo.com by entering bar.com to but after i park bar.com using cpanel it redirects to foo.com/wp-signup.php?new=bar.com

I'm currently using cpanel + WordPress network 3.2.1 + WordPress mu domain mapping plugin


I think you may using shared hosting , If yes then you can only do it with your parent domain


Another method may be to simply direct an A record for bar.com to point to the IP of foo.com web host.

There is actually no use of Domain Mapping in this case as it is a single site. The domain mapping plugin is made for Wordpress MU (Multiple Users) in mind, ie. different sites on different domains with only 1 wordpress installation on the server.


This is a very late reply, but I share the solution with others who have the same problem

This problem might be related to some fields in database, make sure that in the wp_options table, the "option_name" siteurl is set to the right url site, the same for the option_name "home" must be set to the same url site

If the problem is not resolved, then check wp_blogs table, and verify the domain value is well set

Kind regards

0

精彩评论

暂无评论...
验证码 换一张
取 消