How to disable admin access on new site registration for user in Multisite?
Try function admin_default_page() { return ‘/new-dashboard-url’; } add_filter(‘login_redirect’, ‘admin_default_page’);
Try function admin_default_page() { return ‘/new-dashboard-url’; } add_filter(‘login_redirect’, ‘admin_default_page’);
1 – I cannot say if it’s the best way or not. I can say that I don’t have a better idea, so if it works, then I’d say it’s the best 🙂 2 – You found a plugin 3 – Not that am aware of, but you could possibly create a plugin that adds … Read more
As per the instructions for setting up WordPress MU Domain Mapping, sunrise.php needs to be placed directly in your /wp-content directory. It’s not a plugin in the traditional sense, so can’t be placed in mu-plugins (or even plugins for that matter). Setting up this plugin can take a bit of manual work so take care … Read more
I just tested this on my local with a fresh subdmoain setup. Here’s my setup: Created subdomain.test Added site: demo1.subdomain.test with the admin user demo1 Added site: demo2.subdomain.test with the admin user demo2 Now, if I go to http://subdomain.test/wp-login.php and login, I get the following results: User demo1 logs in to http://subdomain.test/wp-login.php and is redirected … Read more
I just checked if my WP Traffic Tools (http://www.wptraffictools.com) does this, and it does not. I thought about changing to the way you wanted, but the potential to bring unwanted overhead onto sub-blogs that do not share common links causes me to stop. But… if you were to edit the file /wp-traffic-tools/wp-cloakme.php, replacing the following: … Read more
1) WordPress MultiUser (WPMU) was the term used before WP3. WPMS is for version 3 and newer. 2) Subsite posts appearing on the main site is built into BuddyPress. You will need to install BP to your multisite setup for this to work. 3) There are several plugins that achieve this either through a) a … Read more
What you’re asking for is very easy with this plugin: http://premium.wpmudev.org/project/domain-mapping/ It does cross-domain cookie syncing with all of your sites on one Multisite installation. I’ve used this a couple times and it works dandy.
The solution to that was pretty simple. I just replaced get_posts() with a simple new WP_query() : $query = new WP_query($args); I guess now you have a ready-to-implement function for pagination ^^
I don’t use MU and I can’t test this right now but… If you started with a fresh 3.8.1, then your .htaccess file should look like this (per the Codex): RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] # add a trailing slash to /wp-admin RewriteRule ^wp-admin$ wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} … Read more
Solved. Just for completeness I add a rule to the web.config file : <rule name=”WordPress Rule 2″ stopProcessing=”true”> <match url=”^([_0-9a-zA-Z-]+/)?(wp-comments-post.*)” ignoreCase=”false” /> <action type=”Rewrite” url=”{R:2}” /> </rule>