Filter meta request

Why don’t you use wp_query to retrieve posts. Its’s easy to include meta values in wp_query and a safe way to retrieve posts from wordpress database. use this code to switch to the desired blog id and then after retrieving posts switch back to the original blog. <?php /* for global variables, since it is … Read more

Can I use the same Folder name as a Multisite Blog?

By default, yes, you will have conflicts. The default WordPress .htaccess rules look something like this: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress The -f and -d in those lines are important here. They basically … Read more

What is with the one month time limit for sub directory installs for multisite network?

There is nothing happening at one month, and nothing “locks” permalinks. There is no actual difference in the system, the only difference is in the initial multisite configuration interface. When you first define WP_ALLOW_MULTISITE to true, and visit the network screen, you get the initial setup menu which lets you set up the configuration. It … Read more

WordPress multisite with same content

This would take a little bit of work, but you could adapt code from this plugin: http://www.mihaivalentin.com/different-wordpress-theme-depending-of-the-current-user/ First you would point all the domains to the same site. This plugin changes the current theme depending on the user logged in. But you could change the logic to change the theme depending on the referrer address. … Read more

Multisite wp-admin goes to blank screen after forwarding URL

I have had the same issue on each multi-site I’ve installed. When you set up the multisite network for WordPress you were asked to copy some code into the .htaccess file. Change the following line: RewriteRule ^(wp-(content|admin|includes).*) $1 [L] to: RewriteRule (wp-(login|content|admin|includes).*) $1 [L] The first line will ONLY work on the main site url. … Read more