Getting Anspress to work on a multi domain site

3.39K viewsIssues
0
  1. I’m trying to get this great Q&A plugin to work on a multi domain WPML site.  The idea is to create a Q&A for each language using categories.

Here’s the setup:

there are 4 languages, 4 domains with 4 base-pages for Anspress:

domain1.com/question/, domain2.com/question/, domain3.com/question/, domain4.com/question/

Setting the base page to one of the domains works great: all 3 pages will show the Anspress question list in the correct language. All links nicely go to correct domain.  So far so good.

Here is where it get’s inconsistent:

  1. The ask form (domain#.com/question/ask/) shows on all domains in the correct language except for the main domain (domain1) where it reverts back to domain1.com/question/.
  2. The single question page shows correctly on the domain of the base page, while giving a 404 on other domains except for the main domain (domain1) where it again reverts back to domain1.com/question/

Does anyone have an idea why this is happening and how this could be fixed?  What is inconsistent is that the /ask/ page is working correctly on all domains (except domain1), but the single question page does not.

It would be great to have this great plugin working on a multi-language multi-domain site.

Bart

0

Hello Bart,

AnsPress does not work well with multi lang plugins. I am working on it. Also make sure AnsPress is enabled in main site to get it work on main domain.