Looking for something?

You will find your answers here!

    Sorry, we didn't find any relevant articles for you.

    Send us your queries using the form below and we will get back to you with a solution.

    Helpjuice on a subfolder of your website (e.g. / Help)

    If your knowledge base is in a subfolder of your website, rather than a subdomain, this is better for SEO, and your knowledge base can look more 'integrated' in your website. Luckily, setting up for this to happen with Helpjuice only takes a few minutes if you're using NGINX or Apache for your server.

    An example of this in action would be: https://x10hosting.com/support/


    To make Helpjuice run in a subdirectory (subdir) on your site, you may copy the code below, the instructions are as follows

    1. Determine whether you are using Apache or Nginx
    2. Copy the correct code (if you are using Apache, use the Apache code, etc.)
    3. Make sure to replace all parts marked in yellow with your data. Red data is optional and will only change if you want it somewhere other than / help /
    4. Paste the code into your server configuration file
    5. Restart your server


    If you are using Apache and want to run it on / help /:

    First, make sure you have enabled the two required modules:

     sudo a2enmod proxy
    sudo a2enmod proxy_http


    Restart Apache to load your new modules and add the following configuration:

     ProxyPass "/ help" "http://yourAccount.helpjuice.com/"
    ProxyPassReverse "/ help" "http://yourAccount.helpjuice.com/"


    If you are using NGINX and want to run it on / help /

     upstream your account-lb {
      server yourAccount.helpjuice.com fail_timeout = 0;
    }
    
    server {
      listen 80;
      large_client_header_buffers 4 16k;
    
      server name yourwebsite.com;
    
      location ~ ^ / help /?((?<=/).*)?$ {
        proxy_set_header Host yourAccount.helpjuice.com;
        proxy_set_header X-Real-IP $ remote_addr;
        proxy_set_header X-Forwarded-For $ proxy_add_x_forwarded_for;
        proxy_pass http: // yourAccount-lb / $ 1 $ is_args $ args;
        proxy_read_timeout 90;
        proxy_http_version 1.1;
      }
    }
    
    
    
    



    Was this article helpful?

    Still can't find what you are looking for?

    Our award-winning customer care team is here for you.

    Contact Support

    Powered by