Support » Networking WordPress » How to multisite wordpress in one database?

  • Hasral

    (@hasral)


    Hi there, Keep healty.

    I want to make multisite wordpress, but in one database so that I easily manage my site.

    I want to plug the lates post on the main website, but the main posts of sub domains.

    example:
    domain. com (main)
    one.domain. com (sub-one)
    two.domain. com (sub-two)

    if I post in the sub-one, I want to show well in the main (latest posts) on the main page. if you click on it will lead to a sub-domain.

    see the flow of the kompas. com, I want to make a website like that using wordpress.

Viewing 5 replies - 1 through 5 (of 5 total)
  • mako445

    (@mako445)

    Hi there and welcome to wordpress forums

    First of all, check the Codex and learn how to create a Network in WordPress. This will help you from the core to understand how it works.

    https://codex.wordpress.org/Create_A_Network

    This is a pretty straight forward process and not much different than a normal WordPress Install.A few more lines of code in the wp-config.php a few others changes on the file structure and the good thing is ” Worpress will take care of the most for you” or guide you clear during the process.

    By running a Network you are already using the same database:

    there are 11 tables in a single installation of WordPress to store your content and settings, when you enable multisite nine of this tables will be duplicate for every site you create inside the network so if you got a lot of site you got as well a lot of tables. that way the content for each site is separate.
    if you are creating a Multisite (Nwtwork in an existing wordpress site this post will be of help

    https://premium.wpmudev.org/forums/topic/convert-wordpress-site-to-multisite

    There are 2 options for each new site you create, you can either use a subdomain structure as you mentioned in your post, or you can use folder structure, again, the link above to the Codex will answer this in detail.

    ” if I post in the sub-one, I want to show well in the main (latest posts) on the main page. if you click on it will lead to a sub-domain. “
    You want to check buddypress as well, when enable in a multisite enviroment there are “global news” or “post for the Network as widgets to bring content or latest post from to the main site. The plugins repository might have some other plugins you want to check.

    i hope this helps, and if you have any doubt you can always come back here !

    #happycoding

    Hasral

    (@hasral)

    @mako445 Thank you for the information you gave me, and it was very helpful.

    But I’ve read about multisite be some information and I have not received specific information as possible. among friends here are still many who ask about multisite wordpress.

    mako445

    (@mako445)

    Hello,

    There is plenty of documentation the Codex is the right place to look , now here on the WordPress forums you can always come back, i am glad it helped you.

    Zane Matthew

    (@zanematthew)

    @hasral,

    I want to make multisite wordpress, but in one database so that I easily manage my site.

    just to be clear, as others have posted, WordPress multisite uses one database, with multiple tables.

    It sounds what your looking for is shared content across multiple websites, WordPress multisite might not be needed. There’s also key questions to take into consideration.

    For shared content look into;

    * ManageWP
    * Use an RSS reader (or the WP JSON API) to pull in content from one site to the other

    Concerns;

    * Search engines may lower your ranking if content is exactly the same on each site, as it may be seen as a form of plagiarism.

    Hasral

    (@hasral)

    @mako445 Thank Mako … 🙂

    @zane Matthew Thanks your answer for me.

    I understand now about multisite. if I multisite same as kompas. com, I use:

    * ManageWP
    * Use an RSS reader (or the WP JSON API) to pull in content from one site to the other ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to multisite wordpress in one database?’ is closed to new replies.