404 redirecting to home [closed]

If this is not occurring on your local installation: have you checked your webserver’s configuration? Since the locally it works and it seems to work for the 404’s of your subsites of your mainsite I would check this and make sure no plugins are activated during debugging this issue. If you use Apache with mod_rewrite … Read more

Create a page for a theme only

So instead of creating a theme for it i ended up using the template_redirect with an if statement to check the url for a certain thing. function page_redirect() { if ($_SERVER[‘REQUEST_URI’] == $home . ‘/other-sites’) { require(TEMPLATEPATH . ‘/includes/other-sites.php’); } if ($_SERVER[‘REQUEST_URI’] == $home . ‘login’) { require(TEMPLATEPATH . ‘/includes/login.php’); } } add_action(‘template_redirect’, ‘page_redirect’); Simply … Read more

Share DB tables between two blogs on the same WP Multisite installation

You can switch back and forth between blogs on a multisite with switch_to_blog and restore_current_blog. That should allow you to get anything you’d like and make queries as if you were actually on the other blog. Check them out: http://codex.wordpress.org/WPMU_Functions/switch_to_blog http://codex.wordpress.org/WPMU_Functions/restore_current_blog We did a lot of this with one of our recent sites.