WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've asked this question on the plugin support page but can't get an answer :/

Is it possible to use the domain mapping plugin to map domains in Wordpress (multisite) that are mapped to domains with a subdirectory?

I can get foo.example.com to map fine, but I can't get example.com/foo to map from blogs.mywebsite.com/bar I get a redirect back to the the route of the site blogs.mywebsite.com.

I'm using the latest wordpress and the latest install of the wordpress domain mapping plugin.

Is what I'm trying to do achievable?

share|improve this question

Essentially, no. If you look at how that plugin stores its mappings:

mysql> desc wp_domain_mapping;
| Field   | Type         | Null | Key | Default | Extra          |
| id      | bigint(20)   | NO   | PRI | NULL    | auto_increment |
| blog_id | bigint(20)   | NO   | MUL | NULL    |                |
| domain  | varchar(255) | NO   |     | NULL    |                |
| active  | tinyint(4)   | YES  |     | 1       |                |

There simply is not a place to put a path.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.