Hi
My images on a domain mapping site are not appearing...
it seems to be a nginx rewrite issue as doncha domain mapping is installed and network activated with the correct sites configured...
Hi
My images on a domain mapping site are not appearing...
it seems to be a nginx rewrite issue as doncha domain mapping is installed and network activated with the correct sites configured...
i am experiencing this same issue, but (using nslookup) I can verify that the mapped domain and any subdomains all point to the correct IP (i have a wildcard A record in the DNS config).
images are definitely uploaded to the bogs.dir/… path, but are linked from the sites as coming just from the files/ directory.
themes with options can present images for any theme option content that stores the image path in the wp_options table.
this (http://codeblow.com/questions/wordpress-subdomain-multisite-nginx-media-library/ ) seems to indicate rewrites as the culprit… though the config lines in your WP MS + subdomain/domain mapping are somewhat different, they are indeed similar.
if you go to edit the image in the media library, it appears. but the thumbnail is broken and embedding the image on a post/page is broken as the URL it references is incorrect.
ideas?
I will recommend trying with tutorials here: http://rtcamp.com/wordpress-nginx/tutorials/
They are all recently tested and updated. If you still face problem after using above config, please paste your nginx config here. I will have a look at it.
Right you are Rahul, Thanks.
I had a conflict between the Supercache and fastcgi_cache_purge versions…
BTW, I am running multisite in AWS micro instance, with RDS as the backend (no S3! no mysql server!) and your NginX/php-FPM/APC/fastcgi_purge all behind Varnish. Active memory footprint is under 150Mb.
check out http://blog.webjames.co.uk/ec2-nginx-wordpress-varnish-ubuntu/71/
I’m also interested in exploring BatCache, love to see some comparisons but it certainly looks interesting… (http://evansolomon.me/notes/faster-wordpress-multisite-nginx-batcache/)
You might also want to check out the WPMU multidomains+domainmapping plugins… similar to Wordpress MU Domain Mapping. I’d love to read about your thoughts.
Thanks for all the thorough write-ups, I think its a HUGE boon to the NginX/WP community.
conflict between the Supercache and fastcgi_cache_purge
What was the conflict? fastcgi_cahce_purge is nginx module? How did it conflict with a WordPress plugin??
NginX/php-FPM/APC/fastcgi_purge all behind Varnish.
Using Nginx behind Varnish isn’t useful for 1 machine. Varnish should be considered only when you have multiple Nginx server.
You might also want to check out the WPMU multidomains+domainmapping plugins…
I do not prefer their plugins. They are poorly coded. By the way you don’t need any domain-mapping plugin at all to use multiple-domains on WordPress. WordPress has everything multiple-domains need built-in. They just don’t provide UI.
Thanks for all the thorough write-ups, I think its a HUGE boon to the NginX/WP community.
Glad to know that you like it. Thanks.