Skip to content

WordPress and NodeBB on different machines

Solved WordPress
  • @jac That won’t matter. You just redirect at nginx or apache level and it’ll work. The generally accepted standard though is to use a subdomain.

    @phenomlab of course, as you know from previous discussions I do like the sound of a news / general site and then a forum on the side for people to discuss the post in etc, but of course it’s a lot of work. The one plus is obviously if the Nodebb plugin can allow users to login to both services using the same login then that would be advantageous.

  • @phenomlab i dont think who handles its just an idea for my web site. I m going to add blog system and share organic post on it for google mean (SEO). I think wordpress will handle.
    So can you say clearly that system can work on 2 different location and machines?

    @cagatay said in WordPress and NodeBB on different machines:

    So can you say clearly that system can work on 2 different location and machines?

    Technically, but they need to be in the same location, and same subnet. Anything outside of this will lead to performance problems and will cause you more issues than you will set out to solve.

    I personally would not recommend this route as it will make support extremely difficult. There is also the cost angle. The traditional route here is to run both on the same machine which will eliminate the latency and performance issues, and will also keep the costs low.

  • NodeBB and Wordpress should be hosted same machine or we can use speretaly them to integrate?

  • @cagatay they can co exist on the same server. There is integration available, but it really depends on what your requirements are.

  • @cagatay they can co exist on the same server. There is integration available, but it really depends on what your requirements are.

    @phenomlab I wanna create new subdomain as blog.domain.com and located in turkish server and hosted on. My nodebb hosted in hetzner vps and domain.com also.
    My question is; blog.domain.com and domain.com can integrate each other or they should run at same server?

  • @phenomlab I wanna create new subdomain as blog.domain.com and located in turkish server and hosted on. My nodebb hosted in hetzner vps and domain.com also.
    My question is; blog.domain.com and domain.com can integrate each other or they should run at same server?

    @cagatay the immediate issue I can think of here is latency. If you have a server (for example) in Germany and another in Turkey, then any interaction between the two of them will be much slower than it would be if they were on the same server.

    If the transactional activity is for logins for example then this process would be much slower than it should be owing to the servers being in different geographical locations and that could be very noticeable to the user experience depending on where the login endpoint resides.

    The performance will also be impacted depending on what is being transferred. Can you provide a bit more detail ?

  • @cagatay the immediate issue I can think of here is latency. If you have a server (for example) in Germany and another in Turkey, then any interaction between the two of them will be much slower than it would be if they were on the same server.

    If the transactional activity is for logins for example then this process would be much slower than it should be owing to the servers being in different geographical locations and that could be very noticeable to the user experience depending on where the login endpoint resides.

    The performance will also be impacted depending on what is being transferred. Can you provide a bit more detail ?

    @phenomlab I want to run the software running on two different machines integrated with each other. For example, when an article is written in wordpress, it should be shared in nodebb or the user who registered with nodebb should also be considered registered in wordpress.

  • @phenomlab I want to run the software running on two different machines integrated with each other. For example, when an article is written in wordpress, it should be shared in nodebb or the user who registered with nodebb should also be considered registered in wordpress.

    @cagatay There is comments and post sharing for WordPress available in NodeBB. There is also SSO for WordPress (although I haven’t tested this). The question is who handles the registrations and login sessions - WordPress, or NodeBB?

  • @cagatay There is comments and post sharing for WordPress available in NodeBB. There is also SSO for WordPress (although I haven’t tested this). The question is who handles the registrations and login sessions - WordPress, or NodeBB?

    @phenomlab i dont think who handles its just an idea for my web site. I m going to add blog system and share organic post on it for google mean (SEO). I think wordpress will handle.
    So can you say clearly that system can work on 2 different location and machines?

  • @phenomlab i dont think who handles its just an idea for my web site. I m going to add blog system and share organic post on it for google mean (SEO). I think wordpress will handle.
    So can you say clearly that system can work on 2 different location and machines?

    @cagatay said in WordPress and NodeBB on different machines:

    So can you say clearly that system can work on 2 different location and machines?

    Technically, but they need to be in the same location, and same subnet. Anything outside of this will lead to performance problems and will cause you more issues than you will set out to solve.

    I personally would not recommend this route as it will make support extremely difficult. There is also the cost angle. The traditional route here is to run both on the same machine which will eliminate the latency and performance issues, and will also keep the costs low.

  • @cagatay said in WordPress and NodeBB on different machines:

    So can you say clearly that system can work on 2 different location and machines?

    Technically, but they need to be in the same location, and same subnet. Anything outside of this will lead to performance problems and will cause you more issues than you will set out to solve.

    I personally would not recommend this route as it will make support extremely difficult. There is also the cost angle. The traditional route here is to run both on the same machine which will eliminate the latency and performance issues, and will also keep the costs low.

    @phenomlab thank you for information.

  • phenomlabundefined phenomlab has marked this topic as solved on

Did this solution help you?
Did you find the suggested solution useful? Why not buy me a coffee? It's a nice gesture, and a great way to show your appreciation 💗

Related Topics
  • Widget | CSS customization

    Solved WordPress
    53
    17 Votes
    53 Posts
    3k Views
    @Sala the only way you can achieve this is to use a robots.txt file and disallow access to those links.
  • Changing H2 color

    Solved WordPress
    5
    3 Votes
    5 Posts
    311 Views
    @Sala Just checked your site. This should work .bs-blog-post .title, .bs-blog-post .title a { color: #ffffff; } It’s worth noting the existing CSS, which uses variables like the below color: var(--head-color); These come under the :root section as below :root { --head-color: #212121; --stext-color: #000; --text-color: #718096; --wtext-color: #fff; --bg-color: #fff; --box-color: #fff; --border-color: #e2e8f0; --wrap-color: #eff2f7; } You can easily override these by using the CSS I provided at the top of this post, or you can change the underlying colours defined in the variables. However, taking this route may mean other objects are styled in the same way, which may not be the desired result.
  • How to fix no img attribute from this code

    Solved WordPress
    7
    1 Votes
    7 Posts
    366 Views
    Yes, I am aware that if users are given the option to enter alt text, some may do so in an abusive manner. For the time being, we’ve adjusted the php script to generate the alt automatically, thus there are no longer any SEO problem with alt images.
  • Fixing YouTube videos css

    Solved WordPress
    8
    2 Votes
    8 Posts
    546 Views
    @phenomlab It looks good, but not anymore. I’ve already lost so much time. Now it’s time to move on
  • Help us fixing the H1 header tags

    Solved WordPress
    12
    6 Votes
    12 Posts
    730 Views
    @Sala I’ve spent some time this morning reviewing your WordPress configuration. The issue of the duplicated h1 tag is being caused by AnsPress - you’ll no doubt recall I warned against using this “plugin” (if you can call it that - it’s terrible) here https://sudonix.com/topic/358/fresher-in-nodebb-install/6?_=1674640646763 AnsPress is well-known in WordPress circles for being one of those plugins you’d avoid at all costs. I used it once - never again. It causes far too many issues, and provided you don’t mind your site suffering as a result in terms of performance, bugs, and the like, then ok. In relation to SEO, see the below https://anspress.net/questions/question/seo-issues/ This was reported in October 2022, and it’s still not fixed. From my own independent review, I also see the following issues [image: 1674648697142-81a553b7-acac-43ab-baeb-13d956c41d5f-image.png] The most damaging of these is content being served on both non-www and www URLS, which needs to be fixed ASAP. You’ll note that the h1 heading appears twice (which you’re already aware of) [image: 1674648806743-8065709b-6664-4a50-9cd4-2ca1e9dbe756-image.png] However, aside from SEO, I see far more important issues that you need to resolve first TTFB (Time to First Byte) - the page is incredibly slow to load - in some cases, it takes 2-3 seconds before any content is shown. This is a killer in itself as more than one second loading time is considered far too high. 301 redirects are missing - in this case, you should have a global redirect so that the content is being served from the same domain at all times. The bottom line here, and the “fix” is to remove AnsPress. Clearly, this isn’t palatable from your perspective as there is significant investment on your side. I know from previous discussions that AnsPress was shipped with the theme you are using, but it’s a below-par plugin in terms of performance and stability. You’ll see below my attempts to get AnsPress working as far back as 2017 - I promptly gave up, because it was such a mess https://theme.co/forum/t/anspress-plugin-with-x-pro-integrity-stack/14015 And finally, one very well respected WordPress resource (wpcrafter.com) parted ways with AnsPress in 2018 for similar reasons, which he clearly stated https://anspress.net/questions/question/very-serious-issue-with-upgrade-to-v4-1-9-multiple-emails-being-sent-out-to-everyone/ [image: 1674650179187-262370bb-7d2b-499e-9d89-fac759b1e42d-image.png] At this point, I would weigh up the investment in AnsPress and seriously consider removing it.
  • Flarum - WordPress Journey

    WordPress
    59
    22 Votes
    59 Posts
    5k Views
    @Sala I will likely need admin access to your site for this.
  • WordPress installation

    WordPress
    6
    0 Votes
    6 Posts
    551 Views
    @phenomlab said in WordPress installation: @jac that plugin is for single sign on between WordPress and NodeBB. The plugin you really need is this Brilliant, that does look good!
  • WordPress & NodeBB

    Solved WordPress
    6
    0 Votes
    6 Posts
    674 Views
    @jac That won’t matter. You just redirect at nginx or apache level and it’ll work. The generally accepted standard though is to use a subdomain.