Managing Comment Spam with Akismet

Managing Comment Spam with Akismet

SPAM! Everyone hates it in their email. If you’re new to WordPress and blogging platforms, spam exists in the form of comment spam – people (or vermin) leave comments promoting their services or schemes, on a post or page.

So how do you deal with comment spam when it can come in even more often than email spam? Do you have to delete every comment that comes in? Well, the answer to the second question is “no”, and the answer to the first question is, with a plugin called Akismet.

  1. To get started we need to install a plugin. To do this, we’ll start at the Dashboard.
  2. Navigate to Plugins > Installed Plugins.Screen shot of Akismet on plugins menu
  3. At or near the top of the list of plugins that are automatically installed in a new WordPress installation, is Akismet. It is not activated, so part of the process of getting Akismet is Activating the plugin. Before you activate it, however, you need to get something that will be somewhat strange for most people. It’s called an API key. API stands for Application Programming Interface, and it’s a way for programs and services to “talk” to each other. The Akismet plugin requires you to get an Akismet API Key, which is simply a “code” that you supply when activating the plugin. The key is free if you use it on a personal WordPress installation, and it’s available on the Akismet website.screen shot after activating Akismet
  4. Once you arrive on the Akismet for WordPress site, click the Get an Akismet API key button.Screen shot of Akismet web site where you get key
  5. If you have an account at WordPress.com you can sign in with that login and get your key. Otherwise, fill in an email address, a username, and a password to use for a new account. Click the Sign up button to proceed.
    create a wordpress.com account, if you don't already have one
  6. Type in the URL of the site you’ll use Akismet on and click on the Sign Up button under the Personal plan (that is if you want it to be the free version).Select desired Akismet plan
  7. When you get to the next page, the recommended contribution is $36. You can adjust the slider down to $0. The smiley face will begin to frown, but at least your key will be free.
    Also fill in your name and click Continue.
  8. You’re finished with the sign up process for your key, and it will be displayed on the page for you (we’ve blurred ours out).Akismet key
  9. Now follow the steps that they show you for using your new key. You will enter the key in either the Akismet area under Plugins or JetPack (if you have that installed).Akismet key

Acknowledgements

Even though this documentation is openly licensed, we wanted to give thanks to the multiple Universitys and universities that created and contributed to the documentation for Reclaim Hosting’s “Domain of One’s Own” platform and the applications contained therein: The University of Mary Washington, University of Oklahoma, Emory University, Middlebury University and Colgate University (who’s version we adapted specifically for Colgate Domains).

Usage Guidelines for Colgate Domains

Overview

Domains @ Colgate provides managed web hosting services for scholarly and academic use. This service, is intended to address both practical needs for the coordinated hosting of web domains for a more reliable and consistent user experience, as well as support innovative approaches to teaching, learning, scholarship and creative work. Within each domain, a user can install applications to support a range of publishing options and development of curricular projects. Some key use cases include the following:

  • assist faculty in understanding the wide range of web-based applications they can install and use to support teaching and learning.  
  • offer the resources and support for creating dynamic spaces on the web for teaching (course sites), research (lab sites), new forms of scholarly publication (digital  /multimedia formats), and collaboration (inter-institutional).
  • partnering with faculty members to encourage and support their experimentation and creativity for using the web in academically interesting ways.
  • foster a sense of digital imagination that can inform future research, teaching and course development efforts.
  • partner with faculty members who want to engage their students in curricular opportunities to use the web in academically meaningful ways. Connection and reflection are key elements of learning, and students can be supported to connect their learning in unique ways across course-based projects that showcase their interests and learning experiences on the web.

Availability & Use

Requests for access to use Domains @ Colgate is limited to current Colgate faculty members for teaching and research related purposes. Approval for student use is limited to direct curricular application (coursework, undergraduate research, faculty directed work, etc.), and requires the support of a faculty member, who is considered the data owner for the domain. Use of the domains service is governed by Colgate’s Acceptable Use Policy (http://www.colgate.edu/offices-and-services/information-technology/privacy-and-security/acceptable-use-policy).

Request & Approval

When a user browses to http://colgate.domains and fills out the Request Form, the form is sent to the ITS service desk and directly routed to the staff who administer Colgate Domains. Members of the Colgate Domains queue are composed of Services and Shared Infrastructure and Learning and Applied Innovation team members. Upon review of the request, the ITS team member will verify that the user is a current Colgate faculty member by using the Colgate directory. When a new site is created, their new domain is named, http://username.colgate.domains. For instances where faculty members want students to have their own domains (for academic / research purposes), faculty members can follow a similar process as above and provide the names of student users for account creation.

Managing Domains

Twice a year, prior to the start of each academic term, the Services and Shared Infrastructure team will export a listing of domains. Since all the domains will begin with a Colgate username, it will be trivial to match those domains to current Colgate users. For the list of domains who do not match to a current Colgate user, ITS will create an archive on Google drive and remove the website from the Domains platform. When a faculty member leaves the university, they can request to take their website(s) with them and ITS will provide them a compressed file of their cpanel account.  In instances where, there is a site with legacy content of institutional value that is not longer active, ITS will work with the University Archivist to explore ways to store and archive the site.

Currently, there is no service to scan for websites that are operating in a way that is inconsistent with the Policy on Acceptable Use of Electronic Resources. Any Colgate student, faculty, or staff can create a website using the Google Sites platform. Domains@Colgate would operate just like the monitoring of Google Sites. If any website is reported that is operating outside the Acceptable User of Electronic Resources, ITS will suspend the Domains@Colgate account.

Signing Up

Review the Guidelines

Before you get started, we recommend that you review our information about Choosing a Domain Name.

The Sign-Up Process

Once you’ve reviewed the guidelines, you can proceed to the sign-up page.

  1. Click the “Get Started” Button
  2. You will be redirected to login for verification. You will use your Colgate username and password to log in.

Colgate Login Enter your Username and Password

Create Your Free Subdomain

  1. Enter the subdomain name you want for your Colgate Domains website. When you’ve found an available subdomain, click the button labeled Click to Continue.
    Continue button
  2. Review your subdomain and contact information. It should be your first name, last name, and Colgate email. Click Sign Up.
    Sign Up button

After you click Sign Up, you will see a page letting you know that your domain is ready. You will then be redirected to the cPanel where you are on your way to creating your own Colgate Domains space.

Setting Up Subdomains

A subdomain is one way of organizing and separating content on your site. To create a subdomain, use the following steps:

  1. Login to colgate.domains with your Colgate username and password to access your cPanel.
    Colgate Login Enter your Username and Password
  2. Once logged in, you’ll be at the homepage of your control panel. The easiest way to navigate the panel is using the search feature in the top right panel. Click the Search box and type “subdomains” (without the quotes). When you press enter, you will automatically be taken to the Subdomains page. Or, you can scroll down and click the Subdomains button on the cPanel.
    screen shot of subdomains application
  3. Choose a name for your subdomain and type it into the Subdomain box. Just like top-level domains, subdomains can only contain numbers, letters, and hyphens, and the best subdomains are simple, short, and descriptive.
    screen shot of creating a subdomain
  4. Once you’ve typed in a name, cPanel will automatically populate the Document root field for you. This will create a folder to contain your subdomain’s files. You’ll usually want this folder to match the name of your subdomain, so it’s easy to identify where different files live in your account. You might want to change the document root if you already have a folder in your account that has the same name as the subdomain you are trying to create, although this should be rare. Once you’re done, click Create.
    screen shot of create subdomain screen
  5. Once you’re done, click Create. If everything went well, you should see a message that your subdomain was created successfully.
    screen shot of success window

Your subdomain will now be available as an option for automatic installation of various software (WordPress, MediaWiki, etc). If you prefer to install web applications manually, you can do so in the document root (folder) you created in step 5.

Video Tutorial & Ideas

Understanding Accounts & Passwords

One aspect of colgate.domains that users may find a bit complicated at first is understanding the different accounts (and associated passwords) that you can manage as part of your participation in the project. This article outlines the types of accounts that you are likely to have, what they are for, and how you go about resetting passwords on each of them.

Your cPanel Account

When you first sign-up for your domain and hosting, a cPanel account will be generated that provides you with access to your slice of the colgate.domains Web server. Your cPanel account is automatically associated with your Colgate username. Therefore, your Colgate user name will grant you access to your cPanel account.

Your Application Administrator Accounts

Every time you install a new application in cPanel, an Administrator Account for that application will be created. You will likely use these accounts very often – every time you need to login to your application to manage the associated Web site, you will use this account.

For example, if you install WordPress to manage your Web site, every time you need to add content to WordPress, change your theme, approve comments, etc. you will use this account to login.

Usually, you will be given the opportunity to choose the username and password for that account. We recommend choosing something that you are likely to remember but that is strong and secure.

Upon installation, you will likely receive an email confirming the user-id/password combination you chose. It will also have information about how to access the login page for that application. You may wish to make sure you don’t delete this message.

Depending on the application you’re working with, managing and resetting the password for this account will vary. If you’ve used Installatron (in cPanel) to install the application, however, you can always review the account credentials:

  • Login to cPanel through https://colgate.domains/dashboard/
  • Click the Installatron icon in the Software/Services section.
  • Find the application you installed under My Applications.
  • Click the Edit button (this looks like a blue wrench).
  • Scroll down to find the Administrator Username and Password.

In addition, most applications should have some kind of password reset link on the login page.

Other Types of Accounts

In addition to the three account types outlined above, there are a few other kinds of accounts you may have as part of colgate.domains:

  • FTP: If you set up FTP on your account, you will need to set up an account.
  • Application User Accounts: In addition to the Administrator Account that you set up when installing an application, most applications will also let you set up user accounts.

Subdomains vs. Subdirectories

When you’re first getting started with a new space on a new Web host, you might think of yourself as owning a small “territory” of the Web. Everything you place in your public folder on the server becomes available for anyone on the Web to see (assuming they know the address of your site and the files you’ve placed there).

If you’re just putting up a handful of static, HTML pages which you want to make available to colleagues, friends, or family by sending them links, then working with this large, unorganized space may work. But as soon as you get to the point where you want to organize your site, you’re going to need a new strategy.

Consider this scenario: you want to have a personal blog on your new Web space, where you share pictures and short written pieces with family, friends, and colleagues. In addition, you’re working on a large research project that requires you to build a Web-based repository of digital images related to your discipline. You want to use one application (say, WordPress) to manage your personal blog. For your research project, you’ve settled on another open-source application (Say, Omeka). Both of these are applications that need to be installed on your Web host, but you can’t just put them both at your main domain name – if you did, both sites would quickly experience conflicts and errors. You need to cordon off separate spaces for your different Web “properties.”

There are two primary strategies for parceling up your Web space. You can create subdomains or subdirectories. But before you can understand the difference, you need to first understand what we mean when we talk about your root domain.

Root Domain

Let’s say you’ve registered a new domain for colgate.domains called yourdomain.com. Anything that is stored at this core URL is considered to be at the root of your domain: Nothing comes before the address or after the address. You can certainly decide that you simply want to have a single site on your Web host (say a blog running WordPress), and you can set that blog up at your domain’s root. To get to your site in this scenario, users would simply go to yourdomain.com.

Subdomains

When you want to do more than just have a single site at the root of your site, you need to decide now to organize your space. One way to do so is by setting up subdomains.

You’re already familiar with the concept of subdomains, even if you don’t know it. Consider Colgate University’s  Web site at http://www.Colgate.edu. As you browse parts of that site, you’ll notice that the domain changes. When you’re looking at your department Web site, say the site for IITS at http://iits.Colgate.edu, the URL is no longer just Colgate.edu. Now the root of the url is iits.Colgate.edu, indicating that you’re on the part of the site that is dedicated to information on Instructional and Information Technology Services.

If you browse to the Moodle page at http://moodle.Colgate.edu, you’ll notice that the domain changes again, this time indicating that you’re in the Moodle page of the Colgate University’s site.

As you can see the domains serve two purposes: they help to organize the site from a technical perspective, but they also serve as indications to the users that they are in a new/different space.

As you work on your site, you’re welcome to create as many subdomains as you like, and in each subdomain you can actually create a distinct, individual Web site.

Subdirectories

The alternative for organizing your space is to simply set up subdirectories. These function much like file folders on your computer. Instead of creating a blog at blog.yourdomain.com you would place it in a subdirectory called “blog” making the address yourdomain.com/blog. Setting up subdirectory is really easy. You can create folders on the fly when installing applications (like WordPress), and you can also manually create them in your file browser.

There is one particular issue you need to be aware of. Let’s say you’ve installed WordPress to be your primary blog at yourdomain.com. Later, you decide you want to create another image gallery site on your site, and you want to place it at yourdomain.com/gallery. But, if for some reason you’ve already created a page on your WordPress site called “Gallery” then the url yourdomain.com/gallery will already be taken. If you try to create a subdirectory of the same name, you’ll get a conflict and errors.

Tips & Review
  • Subdomains are generally a cleaner, more elegant solution to organizing your site. You’re less likely to get conflicts or errors. However, when using subdomains the process is slightly more complicated: You must create subdomains first, before you can install anything in them.
  • Subdirectories don’t create as pretty URLs as subdomains, but they’re easier to set up. They can, however, result in conflicts with existing Web pages.
  • As soon as you create subdomains or subdirectories to organize your site, you need to consider how people are going to find them. If you’ve created a new primary blog at blog.yourdomain.com, and someone goes to just yourdomain.com, they won’t see that new site. It is possible to set up redirects to avoid this issue. You can also always create links from pages on one subdomain of your site to another.
  • If you really just need one site, sometimes installing at the root of your domain is the easiest thing to do, at least as you’re getting started. You can always add more pieces to your territory later with either subdomains or subdirectories.
Tutorials

Privacy

What you put up in your plymouthcreate.net space rests entirely with you. You can choose not to pick a domain that reveals your name. You can use a pseudonym on your actual site. However, when you sign up through the default process, your name does get published as part of the public record about your domain name. Anyone can find it by looking up details about the ownership of that domain name through a public “Whois” request.

This is NOT an issue if you’re already planning on using your name openly on your site (in your domain name or elsewhere). This option is aimed, specifically, at those who, for whatever reason, feel they want to take every precaution to hide their identity on their site.

What Can You Do with Your Account?

Your ability to do things on Colgate Domains is dictated to a large degree by the limits of your imagination. That said, there are some technical requirements and limitations that you should be aware of and might want to review.

To spark your imagination, here are some ideas that might help you get started:

Install a Web Application in Your Space

Colgate Domains makes it very simple to install certain Web applications in your Web space. Web applications are just special software that run on a Web server. Usually they allow you to build and manage a Web site. The kind of site you can build depends on the type of application you install. Here are some examples of applications that you can easily install within the colgate.domains Web hosting interface:

WordPress LogoWordPress: WordPress is a blogging application. While it allows you to quickly and easily set up a blog, it also comes with a set of features that really make it possible to set up any kind of basic Web site without much difficulty. We have resources available that are focused on installing and using WordPress.

Mediawiki LogoMediawiki: If you’ve ever browsed or edited Wikipedia, you’ve already used Mediawiki. It is the open-source wiki software that runs the online encyclopedia, and you can install it on your Web space. It’s a good choice if you’re interested in publishing documents and then collaborating with others on them. We have instructions for installing Mediawiki.

ZenPhoto iconZenPhoto: This application is a good choice if you’re looking for a way to share images in your Web space. It’s also a quick install through Installatron in cPanel onto your Plymouth Create Web space.

OwnCloud iconOwnCloud: If you’ve used DropBox, the concept of OwnCloud will be familiar. It allows you to upload and access files from anywhere with Web access. You can also share those files and sync them to your devices. This Web application is another quick install through Installatron in cPanel.

These are just a FEW of the open-source applications that are available to you in your Colgate Domains Web space.  We encourage you to read more about what Web applications are and which ones are available to you through this project.

Organize Your Site with Subdomains and Folders

Through this project, you’ve received a domain name that you can actually subdivide and organize anyway you like. One easy way to organize your domain is to create subdomains, in which you can then install other applications. In addition, you can just set up subfolders for your site (which can also have their own applications installed in them). Here’s an example of how you might organize your site (using the subdomain vs. the subfolder approach)

Subdomain Approach Subfolder Approach
yourdomain.com (“root”) Install WordPress as your “main site” yourdomain.com (“root”)
course1.yourdomain.com Install a second WordPress instance for a course you’re taking yourdomain.com/course1
photos.yourdomain.com Install ZenPhoto for a public photo gallery of your photos yourdomain.com/photos
docs.yourdomain.com Install MediaWiki for a club you belong to that wants to collaboratively edit its bylaws yourdomain.com/docs
files.yourdomain.com Install OwnCloud so you can access your files on your laptop and at work yourdomain.com/files

This is just an EXAMPLE of a way to organize your site and then use different sections to do different things. There is no one solution to this challenge, and what you do should be driven by what makes sense to you. To start, you may just want to install one thing at the “root” of your domain, and then let the rest evolve as you get to know more about what’s possible.

Map Your Domain (or a Subdomain)

If you already have a digital presence that you’d like to pull into your Colgate Domains space, domain mapping is an option you may wish to explore. This allows you to assign your domain (or a subdomain) to another service. Some services that work with domain mapping are:

When you map a domain, users who visit your URL will automatically see your space on one of these services. It’s a great way to incorporate your activity elsewhere into your domain, and it might be a good first-step if you’ve already established a presence somewhere else and just want to point your new domain to that space.