Development (multi)site indexed – recommendations to redirect 301 to correct url?
Add a RedirectMatch to your dev site’s .htaccess to tell Google the canonical addresses are on the new site: RedirectMatch Permanent (.*) http://new.example.com$1
Add a RedirectMatch to your dev site’s .htaccess to tell Google the canonical addresses are on the new site: RedirectMatch Permanent (.*) http://new.example.com$1
I discovered that I was attempting to use register_activation_hook too late in the loading cycle.Moving it outside my class init function to the global scope made it behave as expected.
Run function from parent on child site
According to this codex entry, it is not possible to install WordPress in a sub-directory and use the Sub-domain install. However, you should be able to install WordPress in a sub-directory (example.com/foo) and use the other sub-directories for your networked sites (example.com/bar). Also, check out this entry for more info on installing WordPress in a … Read more
WP multisite network plugin fails to see classes loaded with spl autoload
Filter template_include and use your own templates: add_filter( ‘template_include’, function() { return $path_to_template; }); The $path_to_template should point to file that renders your templates.
personal_options hook on WordPress multisite
I believe I found the solution here: http://codex.wordpress.org/Function_Reference/wp_set_object_terms wp_set_object_terms( $post_id, $terms, $taxonomy, $append ); wp_set_object_terms( 4, $cat_id, ‘example_product_cat’); This is still placed inside of the install.php file. If there is a better solution, please add! Thanks. Roc.
Some Subdomains on a Multisite Install Not Found
In multisite install you can control availability of themes to the sites. network activated theme will be available for use by all sites to enable theme for specific site alone go to Network Admin > Sites > Edit (target site) > Themes (tab) and enable it there