NextGEN Gallery by Photocrati won't allow images to be uploaded when domain mapping is active

NextGEN Gallery by Photocrati doesn't work when domain mapping is enabled. I can't create new galleries and upload images. I get 0 images uploaded. If I disable domain mapping, it works. Please help.

  • jeffjdjmedia

    Thank you very much. Here is my .htaccess;

    # BEGIN optimizeMember GZIP exclusions
    <IfModule mod_rewrite.c>
    	RewriteEngine On
    	RewriteBase /
    	RewriteCond %{QUERY_STRING} (^|\?|&)optimizemember_file_download\=.+
    	RewriteRule .* - [E=no-gzip:1]
    </IfModule>
    # END optimizeMember GZIP exclusions
    
    Options FollowSymlinks
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
  • Jack Kitterhing

    Hi there @jeffjdjmedia,

    Hope you're well today and thanks for the additional information.

    Can you try taking out this part please

    # BEGIN optimizeMember GZIP exclusions
    <IfModule mod_rewrite.c>
    	RewriteEngine On
    	RewriteBase /
    	RewriteCond %{QUERY_STRING} (^|\?|&)optimizemember_file_download\=.+
    	RewriteRule .* - [E=no-gzip:1]
    </IfModule>
    # END optimizeMember GZIP exclusions
    
    Options FollowSymlinks

    Which will then leave you with

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    Thanks!

    Kind Regards
    Jack.