Multi site root site installed on subdomain, with child sites as subdirectories

It’s likely because your authentication cookie is set to dev.example.com/site1/ when you login to site1, and naturally the browser won’t pass that cookie for site2. What you can try and do is play around with the SITECOOKIEPATH and ADMIN_COOKIE_PATH, which by default are set as follows: SITECOOKIEPATH to get_option(‘siteurl’) ADMIN_COOKIE_PATH as SITECOOKIEPATH . ‘wp-admin’ So … Read more

.htaccess for Subdomain and Subfolder w/SSL

Typically if your subdomain’s root is the folder with WP installed, then just create a .htaccess file there. That always works for me. Example: public_html -> random etc.. mywpfolder (the wp folder) wp-admin wp-content etc.. .htaccess (create htaccess file here or simply copy/paste the primary one here) EDIT Do you have the other installs in … Read more

Generated URLs don’t reflect accurate URLs.

Site Address (URL) Enter the address you want people to type in their browser to reach your WordPress site. This is the directory where WordPress’s main index.php file is installed. The Site address (URL) is identical to the WordPress address (URL) (above) unless you are giving WordPress its own directory. WordPress will trim a slash … Read more

Not being allowed to use some terms in Add New Site in WordPress

http://codex.wordpress.org/Create_A_Network#Permalinks /blog cannot be used as a new site name. It is relied on heavily by WP for the main site. Everything added to it automatically has /blog as part of the permalink from my understanding You can check out this discussion http://wordpress.org/support/topic/root-directory-blog-for-wordpress-30-main-multisite to see if it helps you out, gives some further options. The … Read more

In a subdomain network, what .htaccess settings can I use to have WP ignore requests to one subdomain?

I found this article: http://codex.wordpress.org/Configuring_Wildcard_Subdomains_for_multi_site_under_Plesk_Control_Panel I had used it originally when setting up the wildcard subdomains on my Plesk server. At first I didn’t need to worry about the webmail section, but now I do, and here’s what I did: $ cd /etc/apache2/conf.d $ mv zzz_horde_vhost.conf zz001_horde_vhost.conf $ /etc/init.d/apache2 restart This way, the Horde config … Read more

Redirect posts to sub domain except pages

I would do this per server configuration. Here is an example for the .htaccess: RewriteCond %{HTTP_HOST} !^blog\.example\.com$ RewriteRule (.*)\.html$ http://blog.example.com/$1.html [L,R=301] You could do this in a WordPress plugin too. Untested suggestion: add_action( ‘template_redirect’, ‘wpse_77279_redirect’ ); function wpse_77279_redirect() { if ( is_single() and ‘blog.example.com’ !== $_SERVER[‘HTTP_HOST’] and ‘post’ === get_post_type() ) { wp_redirect( ‘blog.example.com’ . … Read more

Is it possible to put a site other than #1 as a Multisite top-level domain?

I’ve never changed the main site URL (scenario 1), but I know it’s possible: three relevant links found in a quick search. For the second scenario, although not optimal, the standard procedure applies: install the plugin WordPress MU Domain Mapping park the TLD mynewsite.com in your Control Panel and point it to the folder of … Read more