I am setting up a multiblog. In sub-blogs that mapped on a different domain, permalinks work with only "default" values. They broke if set to other valid values.
My main domain name is abc.com
I have three subdomains: aaa.abc.com, bbb.abc.com, ccc.abc.com
Everything works fine.
Now, I need to map bbb.com to bbb.abc.com (for example).
I've tried two methods: using the MU domain mapping plugin, and following the instructions there.
In both cases, I get the exact same behavior:
- Everything seems to work.
- Domains are correctly setup and map correctly
- Links on blogs work if set to "default" (p=123)
- Permalinks on non-mapped sites (ccc.abc.com) work
- on domains that are mapped (bbb.com) permalinks break if set to anything but default (yyyy/mm/post_name).
I've read countless threads, tried to modify my htaccess one thousand times, both trying the old markup, the new one, and several custom ones I found on different posts.
I've tried one million different custom permalinks (I'm pretty sure any kind permalink will not work).
this is my configuration for this domain name (the relevant part at least):
<VirtualHost *:80>
ServerAdmin root@localhost
ServerName abc.com
ServerAlias *.abc.com
ServerAlias *.def.com
ServerAlias *.ccc.com
ServerAlias *.bbb.com
ServerAlias *.ghi.com
DirectoryIndex index.html index.htm index.php
DocumentRoot /my_root/
RewriteCond %{HTTP_HOST} ^www.abc.com$ [NC]
RewriteRule ^(.*)$ http://abc.com/ [R=permanent,L]
<Directory /my_root>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
What can I do?