Title: boblet's Replies | WordPress.org

---

# boblet

  [  ](https://wordpress.org/support/users/boblet/)

 *   [Profile](https://wordpress.org/support/users/boblet/)
 *   [Topics Started](https://wordpress.org/support/users/boblet/topics/)
 *   [Replies Created](https://wordpress.org/support/users/boblet/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/boblet/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/boblet/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/boblet/engagements/)
 *   [Favorites](https://wordpress.org/support/users/boblet/favorites/)

 Search replies:

## Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Additional Date header DATE_RFC2822](https://wordpress.org/support/topic/additional-date-header-date_rfc2822/)
 *  [boblet](https://wordpress.org/support/users/boblet/)
 * (@boblet)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/additional-date-header-date_rfc2822/#post-4982710)
 * PS Changing `date_default_timezone_set()` breaks CF7’s `_date` and `_time` variables.
   Sigh.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Additional Date header DATE_RFC2822](https://wordpress.org/support/topic/additional-date-header-date_rfc2822/)
 *  [boblet](https://wordpress.org/support/users/boblet/)
 * (@boblet)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/additional-date-header-date_rfc2822/#post-4982709)
 * There seems to be a conflict in the way the `date` header is set between wordpress/
   wp-settings.php#L43
 *     ```
       // WordPress calculates offsets from UTC.
       date_default_timezone_set( 'UTC' );
       ```
   
 * and wp-includes/class-phpmailer.php#L2671
 *     ```
       public static function rfcDate()
       {
       //Set the time zone to whatever the default is to avoid 500 errors
       //Will default to UTC if it's not set properly in php.ini
       date_default_timezone_set(@date_default_timezone_get());
       return date('D, j M Y H:i:s O');
       }
       ```
   
 * (I had `date` set to JST on server and in WP and php.ini, but still got UTC).
 * You can get around this by changing the line in wp-settings.php to your preferred
   timezone as per [http://project-syatiku.com/archives/191.html](http://project-syatiku.com/archives/191.html)
 * Possibly related:
 * [https://core.trac.wordpress.org/ticket/11665](https://core.trac.wordpress.org/ticket/11665)
   
   [https://core.trac.wordpress.org/ticket/11672](https://core.trac.wordpress.org/ticket/11672)
 * HTH
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [what function to detect the site I’m on?](https://wordpress.org/support/topic/what-function-to-detect-the-site-im-on/)
 *  Thread Starter [boblet](https://wordpress.org/support/users/boblet/)
 * (@boblet)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/what-function-to-detect-the-site-im-on/#post-1699332)
 * oh yes 😀
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [what function to detect the site I’m on?](https://wordpress.org/support/topic/what-function-to-detect-the-site-im-on/)
 *  Thread Starter [boblet](https://wordpress.org/support/users/boblet/)
 * (@boblet)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/what-function-to-detect-the-site-im-on/#post-1699330)
 * Hey Anrdea_r,
 * sorry I was using the admin area terminology. maybe I’m being slow, but how would
   I use `get_blogaddress_by_id` to select via blog ID? In the link you provide 
   it states:
 * > Description: Returns the address of the blog specified by ID
   >  Parameters: $
   > blog_id (integer) (required) ID of blog queried.
 * It seems this should be used when I want to know what the blogaddress is for 
   a certain blog ID, not for returning the current blog’s blog ID for evaluation.
   Just in case I tried an if statement:
 * `<?php if( get_blogaddress_by_id(2)) { ?>Yo<?php } ; ?>`
 * This evaluated to true (printed “Yo”) on two different blogs (blog ID 1 & 2).
 * Thanks again for your help, and if I’m misunderstanding something please let 
   me know
 * peace – boblet
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [what function to detect the site I’m on?](https://wordpress.org/support/topic/what-function-to-detect-the-site-im-on/)
 *  Thread Starter [boblet](https://wordpress.org/support/users/boblet/)
 * (@boblet)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/what-function-to-detect-the-site-im-on/#post-1699300)
 * Hey Andrea_r
 * Unfortunately that function requires the site ID, which is the thing I want to
   use as an if loop variable… as I mentioned in my post 😉
 * peace – boblet
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Problems splitting WP2x site into WP3MU subsites](https://wordpress.org/support/topic/problems-splitting-wp2x-site-into-wp3mu-subsites/)
 *  Thread Starter [boblet](https://wordpress.org/support/users/boblet/)
 * (@boblet)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/problems-splitting-wp2x-site-into-wp3mu-subsites/#post-1697391)
 * > It SHOULD have warned you, but if you’d previously changed /blog/ to nothing,
   > then yeah, it corks up the warnings something fierce.
 * I renamed the /blog2/ site to /blog/ before editing core files, as at that stage
   I thought it’d work 🙂 I was unaware of the restriction at that stage. The other
   renaming was to change the root site “blog” page (allowing me to apply a custom
   template) to blog2. When everything went pear-shaped attempts to change this 
   back to “blog” resulted in blog3, blog1 etc post-update.
 * Guess I’ll have to set up a localhost instance and troubleshoot making an /animals/
   site 🙂
 * thanks again
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Problems splitting WP2x site into WP3MU subsites](https://wordpress.org/support/topic/problems-splitting-wp2x-site-into-wp3mu-subsites/)
 *  Thread Starter [boblet](https://wordpress.org/support/users/boblet/)
 * (@boblet)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/problems-splitting-wp2x-site-into-wp3mu-subsites/#post-1697383)
 * Hey again ipstenu 🙂
 * It was a pity that my renaming of /blog2/ to /blog/ got around all the warnings
   and preventions on this, but such is life. I’m more interested in moving page-
   based content on my root site to a subsite, as that seems like it should be possible.
   For example:
 * Root site:
    /animals /animals/cow /animals/cow/bull
 * to
 * MU (sub)site /animals/:
    / /cow /cow/bull
 * Any advice on doing this? my first attempt left me with an empty Apache directory
   index for /animals/, although some content was showing up in /animals/animals/
   etc
 * peace – boblet
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Multisite plus sub-sub-folder install q’s](https://wordpress.org/support/topic/multisite-plus-sub-sub-folder-install-qs/)
 *  Thread Starter [boblet](https://wordpress.org/support/users/boblet/)
 * (@boblet)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/multisite-plus-sub-sub-folder-install-qs/#post-1642877)
 * [@ipstenu](https://wordpress.org/support/users/ipstenu/) thanks for your help!
   I read it soon after you posted but am only just replying…
 * I tried it and it seems to have worked without destroying anything. Unfortunately
   my plan was to make sites that included a / in subsite site addresses (e.g. /
   my/folder/) and I now see that’s not allowed
 * > Can’t you move it at least in sub-folder level?</p>
   > Nope — not my server, but keep in mind the main server’s sub-sub-folder maps
   > to a different website’s subdomain, so I guess that does make it installed 
   > at root 😉
   > > What do you mean by “running of a sibling folder”?
   > typo — should have been in not of. again that’s the strange server setup; current
   > website (on subdomain) is also running out of a sub-sub-folder on the main 
   > server
   > > You might want to consider turning your main site, the one installed in root
   > > now, to Multisite, and then importing the other ones as sub sites?
   > again, the main site is not something I have anything to do with, but that’s
   > what I’m doing for this site. Unfortunately because the sites must all be subdirectories
   > I won’t have quite the freedom I hoped with URLs (a /folder/ sub-site is ok,
   > but not a /my/folder/ site). Oh well.
   > **New question:** using /%cateogry%/%postname%/ and nested categories I made
   > a two-site IA;
   >  /blog/ /site/2009/
   > It’d be nice to split these into two subsites;
   >  /blog/ /2009/ (as I can’t use/
   > site/2009/ with multisite)
   > Any thoughts on a plan of attack? (I’m leaving it in the too hard basket for
   > the moment 😉

Viewing 8 replies - 1 through 8 (of 8 total)