How to Create a WordPress Intranet for the Organization

Do you wish to develop a WordPress intranet for your organization? WordPress actually powerful platform with a great deal of versatile choices that means it is perfect to be used as your organization’s intranet. In this specific article, we’ll show you how exactly to produce a WordPress intranet for your organization while maintaining it personal and secure.

Creating a WordPress intranet for the company

What is Intranet or Extranet? Why Utilize WordPress as Your Intranet Platform?

Intranet or Extranet is really a communications platform utilized by an organization for communication, file sharing, announcements, as well as other organizational tasks.

WordPress is an excellent platform to construct your organization’s intranet or extranet. It is easy to maintain, open supply, and gives you use of tens and thousands of WordPress plugins to include new features when needed.

An intranet operates for an organization’s personal community. Typically, an office IT system is connected via cable or wireless community adapters. One computer regarding the system can be utilized as the web server and host a WordPress web site.

Proceed with the guidelines within our guide on how to install WordPress on a Windows community using WAMP or install WordPress on a Mac computer using MAMP to begin your WordPress intranet.

Having said that, an extranet is definitely an intranet platform accessible to a more substantial system or public internet. In plain English, this might be a web site publicly accessible but limited to authorized users just.

It really is particularly of use if for example the company is distributed across different geographical places.

To create your WordPress extranet, you’ll desire a WordPress web hosting account and a domain name. Afterwards, you are able to install WordPress and then work it to be used as your organization’s intranet.

Once you have set up WordPress as your intranet, the next phase is to convert it as a communications hub for the organization.

To accomplish this, you’ll be using several WordPress plugins. We are going to demonstrate the fundamental setup that will serve whilst the foundation for your WordPress intranet to cultivate and meet your organization’s objectives.

Starting BuddyPress as Your WordPress Intranet Hub

BuddyPress is just a sibling task of WordPress. It converts your WordPress web site right into a social network. Check out regarding the things a BuddyPress driven intranet may do:

  • You’ll be able to to invite users to join up on company intranet
  • Users will be able to produce extensive user profiles
  • Task channels enable users to follow along with latest updates like Twitter or Facebook
  • It is possible to create individual groups to sort users into divisions or teams
  • Users can follow both as buddies
  • Users can send personal messages to one another
  • You can include new features with the addition of third-party plugins
  • You’ll have actually numerous design choices with WordPress themes for BuddyPress

To get going, first you will have to install and trigger BuddyPress plugin. For more details, see our step-by-step guide on how best to install a WordPress plugin.

Upon activation, mind over to Settings » BuddyPress web page to configure plugin settings.

BuddyPress settings

For complete detailed directions see our guide on the best way to turn WordPress into a social network with BuddyPress.

Secure Your WordPress Intranet with All-in-One Intranet

If you’re managing a WordPress intranet on local host, you’ll be able to secure it by restricting use of interior IPs inside .htaccess file.

But if you should be running an Extranet, then your users might be accessing the intranet from various companies and IP details.

To make sure that only authorized users access your organization intranet, you need to make your extranet personal and available to only users.

For that, you’ll should install and stimulate the All-in-One Intranet plugin. For lots more details, see our detailed guide on how to install a WordPress plugin.

Upon activation, mind over to Settings » All-in-One Intranet page to configure the plugin settings.

All in a single Intranet settings

First you will need to check out the box next to ‘Force website become entirely private’ option. This can make all pages of one’s WordPress site completely private.

The only thing this plugin will not make private may be the files within uploads directory. Don’t worry, we’ll show you just how to protect it later on in this article.

Next, you’ll want to give a Address where you would like users to be rerouted when they’re logged in. This may be any page on your intranet.

Lastly, you can immediately logout inactive users after a specific amount of minutes.

Don’t forget to click on the save changes button to keep your settings.

Securing Media Uploads in your WordPress Intranet

Making your website entirely private does not influence media files. If some one knows the exact URL of the file, they can access it without the limitation.

Let’s modification that.

For better security, I will be redirecting all demands built to the uploads folder to a easy PHP script.

This php script will check if a person is logged in. If they’re, then it’ll serve the file. Otherwise, the consumer may be rerouted toward login page.

First you’ll want to create a new file on your desktop employing a plain text editor like Notepad. You then should duplicate and paste the following code and save your self the file as download-file.php on your own desktop.

require_once('wp-load.php'); is_user_logged_in() || auth_redirect(); list($basedir) = array_values(array_intersect_key(wp_upload_dir(), array('basedir' => 1)))+array(NULL); $file = rtrim($basedir,'/').'/'.str_replace('..', '', isset($_GET[ 'file' ])?$_GET[ 'file' ]:'');
if (!$basedir || !is_file($file)) { status_header(404); die('404 — File maybe not discovered.');
} $mime = wp_check_filetype($file);
if( false === $mime[ 'type' ] && function_exists( 'mime_content_type' ) ) $mime[ 'type' ] = mime_content_type( $file ); if( $mime[ 'type' ] ) $mimetype = $mime[ 'type' ];
else $mimetype = 'image/' . substr( $file, strrpos( $file, '.' ) + 1 ); header( 'Content-Type: ' . $mimetype ); // always deliver this
if ( false === strpos( $_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS' ) ) header( 'Content-Length: ' . filesize( $file ) ); $last_modified = gmdate( 'D, d M Y H:i:s', filemtime( $file ) );
$etag = '"' . md5( $last_modified ) . '"';
header( "Last-Modified: $last_modified GMT" );
header( 'ETag: ' . $etag );
header( 'Expires: ' . gmdate( 'D, d M Y H:i:s', time() + 100000000 ) . ' GMT' ); // Support for Conditional GET
$client_etag = isset( $_SERVER['HTTP_IF_NONE_MATCH'] ) ? stripslashes( $_SERVER['HTTP_IF_NONE_MATCH'] ) : false; if( ! isset( $_SERVER['HTTP_IF_MODIFIED_SINCE'] ) ) $_SERVER['HTTP_IF_MODIFIED_SINCE'] = false; $client_last_modified = trim( $_SERVER['HTTP_IF_MODIFIED_SINCE'] );
// If sequence is empty, return 0. If you don't, try to parse as a timestamp
$client_modified_timestamp = $client_last_modified ? strtotime( $client_last_modified ) : 0; // create a timestamp for our latest modification...
$modified_timestamp = strtotime($last_modified); if ( ( $client_last_modified && $client_etag ) ? ( ( $client_modified_timestamp >= $modified_timestamp) && ( $client_etag == $etag ) ) : ( ( $client_modified_timestamp >= $modified_timestamp) || ( $client_etag == $etag ) ) ) { status_header( 304 ); exit;
} readfile( $file ); 

Now connect with your internet site utilizing an FTP customer. When connected, upload the file you merely designed to /wp-contents/uploads/ folder on your site.

Next, you will need modify the .htaccess file within website’s root folder. Add the next rule at the bottom of your .htaccess file:

RewriteCond %{REQUEST_FILENAME} -s
RewriteRule ^wp-content/uploads/(.*)$ download-file.php?file=$1 [QSA,L]

Don’t forget to truly save your modifications and upload the file back into your internet site.

Now all user demands towards media folder is sent to a proxy script to test for verification and redirect users to login web page.

4. Incorporating Types to Your WordPress Intranet with WPForms


The primary goal of a business intranet is communication. BuddyPress does a great job with task channels, opinions, and personal texting.

However, often you’ll need certainly to collect information independently in a poll or survey. You’ll should also sort and store that information for later on usage.

That’s where WPForms comes in. It is the best WordPress type builder available in the market.

Not just it allows you to effortlessly produce beautiful kinds, additionally saves individual reactions inside database. You are able to export responses for any form in to a CSV file.

This allows you to definitely organize form reactions in spreadsheets, print them, and share among your colleagues.

Extending Your WordPress Intranet

Chances are you should have a perfectly capable intranet for your company. However, while you test the working platform or start it for users, you might want to add brand new features or ensure it is better.

There are plenty of WordPress plugins that can help you are doing that. Below are a few tools that you could desire to add right away.

That’s all for the present time.

Develop this short article helped you create a WordPress intranet for your company. You may even desire to see our a number of most useful WordPress widgets for the site.

In the event that you liked this informative article, then please contribute to our YouTube Channel for WordPress video lessons. You can also find us on Twitter and Twitter.