Show Sidebar Log in
Commons In A Box Logo
  • Home
  • About
    • Project Team
    • Logos and Graphics
  • Showcase
    • CBOX Classic Showcase
    • CBOX OpenLab Showcase
  • Demo
  • Get Started
  • Documentation
    • Technical Guide
    • CBOX Classic Guide
    • CBOX OpenLab Guide
  • Support Forums
    • CBOX Classic
    • CBOX OpenLab
    • Developers Forum
  • News

Group Admins

  • Profile picture of Scott Voth

CBOX Classic Support

Public Group active 4 months ago

This group provides support for Commons In A Box Classic, our original software for community-building. Register for an account or log in to commonsinabox.org, then join the group and post your question here.

Renaming a group's blog to something different

  • This topic has 2 replies, 3 voices, and was last updated 9 years, 10 months ago by Christian Wach.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • June 29, 2015 at 10:57 am #5691
    Basem Aly
    Participant

    One of our network users would like to rename their Group’s associated blog to a different name than the group. To do this I was thinking of editing some of the database tables (wp_blogs, wp-posts, wp_31_options).

    Should I do a blanket search and replace for the old URL, or change the tables by hand? Is that advisable, or would this cause problems?

    June 30, 2015 at 10:11 am #5695
    Scott Voth
    Keymaster

    Hi @haystack / @r-a-y

    See above.  Can you provide some advice to @baly on changing site URLs.  Thanks.

    July 6, 2015 at 5:56 am #5709
    Christian Wach
    Participant

    Hi Basem,

    If you want to edit the raw data, you’ll need to be very careful as there will be references to the blog scattered all over the place. Please do this on a copy of the site to be safe. Search and replace on all possible variants of the blog’s full URL and slug (or subdomain) should do the trick – however, be aware that if the blog’s slug/subdomain isn’t unique to it and it alone, then global search/replace could mess other items up. Since the blog ID wouldn’t be changing, most programmed linkages and assets should be unaffected. Proceed with caution and do lots of searching before you do any replacing. Did I mention that you should do this on a copy of the site to be safe?

    The simplest (and probably most reliable) way would be to export the group blog content, unlink the existing group blog from the group, create a new group blog, then re-import the content. This wouldn’t recreate the activity items in the group, but is the least technical method for renaming that I can think of. It might then be possible to search-and-replace on just the BuddyPress activity items table to point legacy items to the new blog.

    Either way, I’d do this on a copy of the site first.

    Cheers, Christian

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In
Group logo of CBOX Classic Support
  • Home
  • Forum
  • Announcements
  • Docs
  • Members 287
  • Send Invites

Groups

Newest | Active | Popular | Alphabetical
  • Group logo of CBOX Classic Support
    CBOX Classic Support
    287 members
  • Group logo of CBOX Pioneers
    CBOX Pioneers
    71 members
  • Group logo of CBOX Developers
    CBOX Developers
    40 members
  • Group logo of CBOX OpenLab Support
    CBOX OpenLab Support
    22 members
  • Group logo of CBOX-OL Testing Partners
    CBOX-OL Testing Partners
    12 members

CBOX has its roots in the CUNY Academic Commons, which in turn was made possible through funding from The City University of New York itself.

CUNY Logo

CUNY Academic Commons Logo

City Tech logo

The Commons In A Box was made possible through the generous support of the Alfred P. Sloan Foundation.

Alfred P. Sloan Foundation Logo

NEH Logo

The CUNY Graduate Center has directly contributed to the CUNY Academic Commons, housing the project since its inception, and has contributed to CBOX through its GC Digital Initiatives.

CUNY Graduate Center Logo

CUNY Graduate Center Digital Initiatives Logo

Powered by Commons In A Box
css.php
Skip to toolbar
  • About WordPress
    • WordPress.org
    • Documentation
    • Learn WordPress
    • Support
    • Feedback
  • Log In
  • Register