Support » Networking WordPress » WP Multisite- Domain mapped pretty permalinks not working

  • Resolved ntoqiakt


    Hi guys,

    I know that questions like this have been asked umpteen times, but I’ve been searching for a couple of days and haven’t yet found where the problem is.

    I have a fresh WP Multisite install with subdomains. The only activated plugin is WP MU Domain Mapping (

    Home site and new sites on subdomains work as expected, ie, pretty permalinks working fine, images working, etc.

    However, on domain mapped sites, pretty permalinks don’t work – only default permalinks – and images are broken even in the back end.

    I would appreciate your help.



Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Ipstenu (Mika Epstein)


    Lead Plugin Wrangler

    Double check your .htaccess

    Make sure it’s the subdomain one.

    Hey Mikka,

    Thanks for your reply.

    My .htaccess (in the root of my home site) is the one that WP tells me I should have in the Settings/Network Setup, ie:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]

    Ok… after some more tinkering (read: stabbing in the dark!) I’ve cracked it!

    Just FYI, the whole set up is on a VPS running Debian 6.0.4 with Webmin/Virtualmin

    To set up the WP Multisite subdomains, I set the default site to the WP installation and to fix the problem with the pretty permalinks and images I had to comment out the AllowOverride None in the / and public_html directories.

    (actually, something similar was suggested among other things in a another thread)

    So, basically, I edited the /etc/apache2/sites-available/default to make the above changes and now it’s working just fine!

    Perhaps I missed something in the instructions… but anyway, hopefully this might help someone else too!

    Moderator Ipstenu (Mika Epstein)


    Lead Plugin Wrangler

    Heh. We actually tell you to set AllowOverride to All, but yes, messing with that will getcha. Most hosts have it set up ‘right’ to start with.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WP Multisite- Domain mapped pretty permalinks not working’ is closed to new replies.