Using WordPress as an Intranet

Using WordPress as an Intranet

Tutorial Details
  • Program: WordPress
  • Version: 3+
  • Difficulty: Easy
  • Estimated Completion Time: 30+ Minutes

When we talk about WordPress we usually associate it with either being a blogging platform or just another content management system, but what about as an Intranet? This tutorial will show you how you can turn your basic installation of WordPress into a robust Intranet for your business.


WordPress as an Intranet

Unless you double as IT support for your office (sometimes the unspoken role of a web developer), you probably already have some sort of an Intranet server, if not – there are ways you can access a local directory via file sharing, but for my example I’m just going to assume a couple of things first:

  • You have Apache, PHP and MySQL already installed and running on your network
  • OR you have a directory on your “cloud” server with WordPress ready to go

Step 1 Decide Where to House Your Intranet

When I was originally toying around with the idea of using WordPress as an Intranet I figured the setup would be minimal, our computers were already connected to a network and “web sharing” could simply be enabled to share files. With MAMP running and WordPress dumped into a directory, we were all able to see the Intranet “WordPress” site. Although this is one way to do it, our Intranet needed to be accessible via other locations, and without an extra IP laying around we decided to host our “Intranet” in the cloud.

Going With the Cloud – Extranet

If you plan to house your Intranet in the cloud, it might be helpful to restrict access to the directory. You can do this a couple of ways:

  • Force login before displaying your website
  • Edit your .htaccess file to restrict outside IP addresses from viewing your website

If your company’s Intranet is going to be hosted in the cloud, you might invoke both of these methods for extra precaution.

Editing the .htaccess File

If you plan to edit your .htaccess file, you’ll need to know your IP address and the addresses of those you wish to allow access to. You can find your IP quickly by going to Google and typing in “What’s My IP?” Once you have the necessary IP addresses, you can start to edit your .htaccess file.

To do this, open your .htaccess file and add the following lines, replacing the IP address with your own.

order deny,allow
deny from all
allow from 111.222.33.44

If you are allowing multiple IPs to access your site, just add another line that allows another IP.

Going Local

If you decide to host your Intranet on your own network, you will want to consider whether or not you want to have access outside of the network (i.e. accessing it securely via anywhere). This will require a static IP that you’ll have to talk with your ISP (Internet Service Provider) to get hold of.


Step 2 Setup Your Network ( MAC OS X | Windows 7 )

In a perfect world, every computer would be able to support the latest and greatest OS versions available and they would automatically upgrade for free – unfortunately, that isn’t the case. These next steps should help you grasp setting up your network. They will likely differ based on which OS you’re running and whether you’re on a PC or a Mac.

Create a Network With Windows 7

As much as a I despise Windows 7 at times, it does make creating a home network fairly easy if you already have devices that support it. Below are very watered down steps for creating a network. For detailed instructions, Microsoft has a quick 6 step process to setting up a network that is easy to follow.

  1. Purchase or find a router and network adapters for each computer you want to use on your network
  2. Setup your router
  3. Connect your computers to the network
  4. Create a homegroup and allow file and printer sharing (found via the Control Panel)

Create a Network With Mac OS X Lion

Creating a network with a Mac is a pretty simple process as well.

  1. Click the AirPort status icon in your menu bar
  2. Choose “Create Network” from the drop down menu
  3. In the pop-up window, give your network a name
  4. Select a channel number from the Channel selection box
  5. On your other computers, click on the AirPort status icon and join them to the network you just established on your other computer

Notes

What I’ve done in the past to provide a WordPress Intranet (on a Mac based network) is enabled web sharing in addition to setting up the network. I have MAMP installed and running while I’m logged in to my computer. I then created a directory in the htdocs of my MAMP application files for our Intranet website. As long as I’ve got the MAMP server on, the other computers within the network are able to access and use the site. This is likely not a practical way to go about it, but just one way to do it.

Step 3 Plugins for WordPress Intranet

Probably one of WordPress’ best assets is its ability to be expanded on with the use of plugins, which is exactly what we’re going to do next with our Intranet. I do not suggest going “plugin crazy” and installing everything under the sun, but there are a few that get the job done nicely.

WP Document Revisions

WP Document Revisions is a robust document management system. It provides version controlling and was constructed for time-sensitive, collaborative projects. This plugin has a wide range of features, including access control for documents that need to be kept private, password protected, or public. If you need to make this plugin more “customized’ you can easily add custom taxonomies.

BuddyPress

BuddyPress can be a highly beneficial component of a WordPress Intranet site. Its built in functionality for groups and group management, profiles, messaging, blogging, forums and its wide variety of compatible plugins make it a very desirable asset. You could potentially base your entire WordPress Intranet around BuddyPress, giving your organization its own internal “social network” for communication.

CollabPress

CollabPress is an awesome project management plugin for WordPress. This plugin is ideal for Intranets that need to track projects, tasks, due dates, project assignments, activity logging, etc. This plugin also comes prepackaged with BuddyPress group integration – which could make for an even more robust BuddyPress powered Intranet.

Notes

Avoid installing plugins for things that can easily be created yourself, such as custom post types and taxonomies.


Step 4 Themes

When deciding to use WordPress as an Intranet, you should consider developing your own theme. When planning an Intranet “theme,” there are some things you may want to consider:

  • What purpose will your Intranet serve? – House documents, forms, track/check in on projects, activity logging, etc?
  • Who will have access to the Intranet and how much access will they have? – Will employees be able to directly edit, update or add information?
  • What other features are important to incorporate in your intranet? – Feedback forms? Image/File uploading? Client and Employee directories?
  • What custom post types will you need? – Clients? Projects? Departments?

Having a solid plan for your Intranet structure will go a long way in the planning and development of your theme. The more organized and detailed you can get the easier it will be to setup.

Pre-Made Intranet Theme Solution

P2 Theme By Automattic

P2 offers a status-update-like environment and could potentially be a great jumping off point for a WordPress based intranet. P2 provides inline commenting and editing of posts and also allows for real time updating. This could be an ideal solution for those looking for a project based reporting system as an Intranet.


Conclusion

Having a WordPress based Intranet can improve your workflow and often times your communication with your employees. It allows important company resources and project information to become readily available.

Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
  • Pingback: Using WordPress as an Intranet | Shadowtek Hosting and Design Solutions

  • Brendan

    Great article – one suggestion – a recommendation for an Active Directory integration plugin. There seems to be a few in the Plugin Directory and I haven’t figured out which way to go yet.

    Also does anyone have a recommendation for a themeforest wordpress plugin ideal for an intranet. A search for intranet doesn’t come up with much.

    • Brendan

      Oops – I meant a themeforest wordpress *theme

    • http://www.facebook.com/people/Chris-Charlwood/582596052 Chris Charlwood

      I’ve got a few client examples of our Simple Intranet themes and plugin. I like StudioPress.com themes, myself, both corporate and enterprise are popular with my clients. See http://www.simpleintranet.org/clients

  • TallTaleMathTeacher

    Good read, and an interesting use of WP. But I have several criticisms.

    1. As a cheap solution, last resort, temporary solution, or pet project, this all sounds like a fun experiment. But I would not recommend using WP as a permanent, serious Intranet solution.

    2. This tutorial was kind of a tease, and it left a lot of questions and blank spots to anyone who isn’t comfortable with server and network admin concepts. It would have been better as a 2 or 3 part tutorial with one part discussing the server/network elements in detail. And what little network/server concepts were touched on were done so so spottily that I think they’d be very confusing to any newbies.

    3. The use of the term “intranet” can be tricky. I can’t tell if you’re using it to refer to just a website people would use intra-company to share and work, or somehow use WP as an actual server environment that becomes the brain of an isolated inside Internet, which I doubt WP can even be (truly).

    4. Any office that uses web developers as their IT technicians is doing something seriously wrong. IT professionals and specialists are reasonably different beasts from web developers, or even run-of-the-mill programmers.

    5. The seemingly obligatory Windows bashing was unnecessary. We get it. Young hipster developers and designers of today all use Macs and live at Starbucks. I don’t mean to judge, but is this what we should always expect from the many guest writers on popular blogs, since so many of them are pegged as experts even though most of them can barely buy booze and haven’t even finished college yet?

    • http://wp.envato.com/ Japh Thomson
      Staff

      Hi TallTaleMathTeacher, we’re glad you found the article to be a good read. Thanks for your detailed response!

      1. It’d be great to hear your rationale as to why you would recommend against using WP as a serious intranet solution.

      2. Things could’ve been clearer, if this was to be a detailed “how to” article, but really the objective was to introduce the concept. Environments vary so widely that more specific information would likely be useless to most anyway.

      3. This is one of the beauties of WordPress. Either scenario is a possibility! A single site as an intra-company communication tool, or use of WordPress Multisite for a full intranet.

      4. Offices are many and varied in size and setup. Sometimes IT is one person, and so they may fill many roles. Other times, each potential role may have several IT staff. Let’s not assume that simply because we’re talking about intranets, we exclusively mean huge companies.

      5. There was no ill-natured Windows bashing in this article. I used Windows as my primary operating system for over 10 years, and there was many a time when “despise” would exactly describe how I felt towards it. These days I’m a Mac user, and there are certainly times I “despise” Mac OS X too! I get that it can be a sensitive topic though, so we’ll try and steer clear of any comments that can be misinterpreted like that. There’s also no need for retaliatory author bashing.

      • Alistair

        Have yet to read the full article but did spot a bit of emotive language here.

        Save it for the portfolio please.

      • http://jai.no Jaidev Kristiansen

        Thanks for the tut.

        I must admit that I was a bit sad to see how short it was. Was running over here thinking “Finally!”. However, this tut simply scratches the surface of the surface – telling us that, yes, wp is neat for Intranet, and here are some plugins and themes you can use.

        We did actually set up a cloud Intranet for a company with 350+ employees using BuddyPress (BP). It was a very very very hard struggle. You see, BP is not good as an Intranet! It is more like a social network. You have to turn off most of its core functionality – the group and messaging system has some very strange restrictions. To make it short: We did it once – and never again…

        By the way – If you truly are a skilled developer, and not some 3 year post grad from The Super Duper Web Design School, where day 1 is “How to tweek your mac to open .rar files..” –

        then use Linux – and you never despite! At least you know there is a heart behind Linux, not just money ;)

        Hope this is the start of a more comprehensive tut on the same subject.

        In respect,
        Jaidev.

        • https://twitter.com/seojeek Alex

          Great comment. I walked into a BuddyPress site on my intranet and my first thought was “No, no, no, no, no”.

          It’s so bloated and you play by their rules. Unprofessional if you ask me.

          If you’re serious about implementing WordPress at the business-intranet-level, you need to consider the specific needs of the business and optimize around them.

    • Sarah Morrow

      I definitely agree with you on several points and appreciate your feedback. To touch on a few things you mentioned,

      - This would have made for good 2 or 3 part article, because there are many grey areas that could have been explained in more detail.

      - I used the term “intranet” as a means to explain something used “intra-company” which actually your term “intra-company” may have been a better choice than intranet. Regardless, the concept for this article was to explain that there are ways to use WordPress as a simple “intra-company” tool.

      - Finally, I apologize for the Windows bashing. Having used both systems, I find that there are some things Windows can do better Macs and vice versa. Also, as far as not being old enough to buy booze or finish college, I find that “obligatory” youth bashing unnecessary.

      • http://wp.tutsplus.com Jack

        Please edit this article to replace the term “intranet” with “intra-company tool” or another more appropriate phrase. An “intranet” is a very well defined term with decades of usage that refers to a physical computer network belonging to a single entity. From Wikipedia:

        “An intranet is a computer network that uses Internet Protocol technology to share information, operational systems, or computing services within an organization. The term is used in contrast to internet, a network between organizations, and instead refers to a network within an organization.”

        Emphasis on computer network in the above. WordPress is a software service that may optionally run within an Intranet (or LAN), but is definitely not itself a network (i.e. a collection of computer hardware components connected via a communication medium).

        Hate to be a stickler for semantics, but as a Network Engineer and a Software Developer, I couldn’t make it through the intro to this post without cringing.

        • http://wp.envato.com/ Japh Thomson
          Staff

          Hi Jack, thanks for your comment. I think it’s easy enough to understand that this article is referring to the web component of an intranet. Also, it does not necessarily mean only a single site, but could be several WordPress installations all interlinked, or even one or more Multisite installs.

  • http://www.vannaamen.nl Richy

    Great Aticle,

    I am working on a intranet wordpress setup right now!
    My client wanted a simple way to share documents, news and reports and it works fine for them.
    The client (soho) is very happy and it took me just a few hours to customize it to their needs.

    Like in your article I have used access restriction.
    And the following plugins (sofar)
    - Peters login redirect
    - A5 Custom Login Page
    - Connections
    - Contact Form 7
    - Custom admin bar
    - Network Privacy
    - Simple Local Avatars
    - User Role Editor
    - BackWPup

    Now I just need to educate the superuser(s) in how to add content and away we go!

    • https://twitter.com/seojeek Alex

      Is search an important piece of your site? If you’re sharing documents and reports I would imagine so. If that’s the case, what are you using?

      • Daniel Schutzsmith

        Alex, I’d imagine he is using the stock search capabilities already available in WordPress. I’m working on an intranet project right now and we’re hooking up Apache Solr to WordPress so we can search within word documents and pdfs.

  • dj

    @japh… yea we get it. While I probably wouldn’t have used the exact words “TallTale” used for #5, completely independently, even before I read his comment, I was also “offended” by Sarah’s gratuitous slam of Windows and had determined to comment on it when I finished reading the article. It’s as if some, especially amateur, authors feel they must throw in a slam or two at Microsoft in order to be seen or accepted as a big league author. It’s definitely NOT unique to this post OR this author; but, unfortunately, not uncommon on Envato sites (I read a lot of them). And I hope you can read from what I’ve said that I don’t believe most of it is malicious or maybe even intentional.

    IE6 is gone! None of us liked it – well, at least after IE7 came out. But the completely needless “disclaimer” (from either a literary, informational or moral aspect) was unwarranted; and, especially in the case of setting up a network, untrue. From someone who has set up home networks and “played” with computers probably longer than (from the avitar photos) the author (or, sorry, even you) have owned one – I can tell you that it was a lot easier setting up a home network on windows systems long before it was on the Apple. So, especially on this topic, there was no call for the statement.

    Then, once I had read “TallTale’s” comment, I had determined there was no need for one from me; until, reading your comment and felt the need to commend you on your stated intention to “steer clear.” I assume, as the site manager/editor, you read and act as editor on all posts prior to their publication. Especially now that your “awareness” is heightened it should be easy to kick those kind of gratuitous, “editorializings” back to the author in all educational tutorials. So, thanks – It’ll make tuts+ a gratuitous bashing free zone.

  • http://awdl.co.nz Jason Koning

    Ok, I couldn’t care less about the Windows vs Mac debate – let’s just drop it.
    I’m more concerned about creating & using WordPress as an Intranet/Extranet solution.
    It’s never going to be a viable alternative to SharePoint, nor am I wishing it could or can be.
    I’ve used SharePoint, & disliked the experience.
    I have a client (less than 20 users) who have a WordPress public facing site (which they love) & they now want to build a new Intranet (it’s currently old, ugly & out-of-date, & using an old proprietary CMS).
    One decision maker is keen on SharePoint, another thinks it’s overkill for what they require.
    I’m inclined to agree with the later.
    However there’s no getting away from the fact that they are on a Windows network, want robust document management, use it (the new Intranet) outside of their network etc.
    I need to be able to provide a solution that integrates with their Windows network, uses a single login etc, perhaps could even take advantage of Outlook in some way (email, calendars etc).
    I was already looking at the above plugins (except for Collabpress) which I’d never heard of.
    I’m also now investigating Active Directory Integration.
    It’s going to be quite a process I’d imagine, & I intend to document it.
    But in the meantime, if anyone has any real world experience creating a WordPress Intranet solution – I’d love to hear about it.
    These kind of projects shouldn’t be about the platform, but about a solution that works for the client irrespective of the platform developed on or used by the client.

    • https://twitter.com/seojeek Alex

      Hey Jason, I’m working on a similar project and they already have Sharepoint. Do you know if Sharepoint has any commenting capabilities?

      Let me know how it’s coming.

  • kabong

    I like the concept. Quick and easy and probably a good use for temporary setups. Just a quick note for those who want to or need to edit the .htaccess file to allow/restrict IPs. If you use DHCP, the lease may change on your address from time to time, so you may want to include a range of likely IP addresses.

  • Pingback: The CA picture of the day | Open Knowledge

  • http://joelmturner.com Joel Turner

    To get back to it, I think this a great concept and idea. I love the idea of using wordpress for this since most of my time is spent in wordpress anyway. It would be an easy to maintain, easy to teach way of keeping a team up to date. The other bonus is you can get out what you put into it.

    Thanks again Sarah for your concept and idea on how to get it started.

  • Ben Tupper

    I’m transitioning a company away from Share point and into WordPress for intranet use. SharePoint tries to be absolutely everything to everyone and in casting such a broad net ends up being a very mediocre overall product. Front end modifications using web standards (CSS) is horrendous and the backed is so convoluted it will take you weeks if not months to teach users to use it. Its a horrible product. On the otberhand if you want a framework with great extensibility and ease of use on the back end and simple to customize on the front end go with WordPress.

    • https://twitter.com/seojeek Alex

      Hi Ben, thanks for your insights on Sharepoint. My client is using Sharepoint for document sharing and we’re slowly switching over to a hosted WP site instead.

      Are you using anything special for search? Does your intranet host PDFs? Can you index them on WP?

      Keep me posted – I’d like to network with a lot of people on this topic. Thanks!

  • http://www.wpgetready.com Fernando

    I’ve been working in many business with intranets; many of them are simply terrible, with hand-coded solution or half-way implementations. WordPress for intranets could improve a lot of business, so this article is a mind opener to me. Great idea.

  • Sani Aliyu

    Interesting the way some are taking the focus away from the article. WordPress is extensible and with such a large and thriving community, why can’t some WP developers create an intranet solution like ‘OpenAtrium’ with Drupal? Seems to me there’s a huge market for this!

  • Pingback: Tweet Heat - The hottest Tweets of the Month [April 2012] | Inspired Magazine

  • Pingback: Best of Tuts+ in April 2012 | DigitalMofo

  • Pingback: Best of Tuts+ in April 2012 - Milk-Break

  • Pingback: Best of Tuts+ in April 2012 | CS5 Design

  • Pingback: Best of Tuts+ in April 2012 | Omega Pixels

  • Pingback: Best of Tuts+ in April 2012 | Clixto7

  • Pingback: Best of Tuts+ in April 2012 | Shadowtek Hosting and Design Solutions

  • Pingback: Tweet-Parade (no.18 Apr-May 2012) | gonzoblog.nl

  • http://www.tropixel.com.au/services/web-design/wordpress/ Florian Stotz

    I think there’s nothing wrong with using WordPress as an intranet solution. Quite the opposite I think…whilst Sharepoint is a MASSIVE and very powerful app I think it is almost too big and complex for most organisations. We just delivered a very robust and awesome intranet to one of our customers and they are ecstatic with the results. It holds over 6000 files and over 300 users access it on a regular basis without any issues.

    • Susith Jayamanne

      Hi Florian,

      I’m currently considering using WordPress to build an internal site for the organisation that I work for and doing some research whether this is a viable solution. There are quite good ideas on this post, but I was more interested about your comment. Also looking at your company profile it looks like you’ve got quite a bit of experience of using WP for intranet solution. I would love to hear more from you about your experience, because I’m at the moment trying to convince our IT team “just because it’s free and open source… doesn’t mean there’s major faults in the system”.

      my email address is susith.jayamanne@ntlworld.com.

      thanks

  • Pingback: Tweet Heat – The hottest Tweets of the Month [April 2012] « iTechTunes

  • http://software.kyyba.com Gaurav

    I’ve toyed with the idea of intranet with WP, but have been apprehensive due to security risks. For WP based intranet that is hosted (on bluehost or dreamhost type hosting provider) there should be very good security in place, since hacking into WP based websites i is quite common. Of course it’s possible to avoid this risk but only with “expert knowledge” of how to secure wordpress installation.

    We finally went with a simple/small solution called Papyrs. It leaves a lot to be desired but takes care of most things for a small company intranet needs. I’m not associated to Papyrs but have interacted with the dev team number of times when they were developing the product and found them very proactive & accommodating for our needs. Also their products is on google apps marketplace so it becomes easier to integrate it and make it available to all the employees if a company uses google apps.

    We are still searching for an ideal solution which should be a combination of a secure system + document management (upload/download/with versioning) + simple work flow + internal messaging + controlled page access based on roles & groups + integration with google docs/drive from within the apps + capability to view updates from FB & twitter as well as post updates to FB/Twitter from within intranet + company wide calendar (google or any other) integration with little setup + capability to let external partners to access selected areas/documents + web based editing capability for intranet users to add/update content and upload/download files/images/videos + cloud hosted + everything under the sun :-). I now this is a lot to ask but in reality that is what would make a intranet useful for a team of 50 people in our company.

  • Pingback: WordPress som intranet | WordPress

  • Pingback: Intranet/Extranet com Wordpress

  • http://www.wordpressguru.com.au/ Wordpress Dev

    This is another amazing post on the site. And it shows under creative ideas, you can use WordPress for various purpose.

    I used to quiet cautious when playing with htacess files and selecting plugins. But with proper studies, they can be handy and time saver.

    I am refering to one of the tutrorials in this site, about htaccess configuration that helped me speed up one of my wordpress site.

  • Pingback: Bruke Wordpress som Intranett | Nybrott Consulting

  • LA RICH

    Great Article

    I’ve set up a small WP intranet in my company and its fantastic. Most People have it set as there home page ( by choice ) as I have integrated all our other web app’s in to it.

    Had a look at BuddyPress when i was setting it up, but it doesn’t suite my business.

    Most basic intranet setup
    Web server ( locked to local network only IP’s )
    WordPress
    Andy Blue Theme By Matteo Turchetto

    • LA RICH

      “suit” my business

  • http://www.simpleintranet.org Chris Charlwood

    I’m a big proponent of WordPress for intranets (or extranets). I’ve setup one for a 500 person college coaching organization with great results. Yes, there was a lot of custom work to be done, but most of the core functionality was used with a selection of plugins. In fact, I’ve just completed a half dozen intranets now and have a developed an all in one plugin using the latest twenty twelve theme to get companies up and running with core intranet functionality.

    At the end of the day, BBpress is a bit too bloated for basic needs, which is really an activity feed on the home-page (ala Facebook) where employees can post current comments/projects etc. I’ve added Events, a robust custom employee directory (searchable of course) and extended user profiles… I encourage you to take a look at http://www.simpleintranet.org.