Six Apart Blog

Dollarshort

Our co-founder and President Mena Trott has been sharing her stories on her personal blog Dollarshort since 2001.

Six Apart News & Events

Enabling TypeKey on Your Weblog

Given the recent rash of comment spam attacks that are causing significant increases in server load and affecting a wide variety of Movable Type installations, we've republished the following Knowledge Base article on the Professional Network site. Movable Type Knowledge Base articles are typically available to users with paid licenses who have logged in to the "Your Account" link on the Movable Type website, but the following article is available free of charge and does not require a login to view.

Professional Network members have access to the full Movable Type knowledge base as part of the members' license for Movable Type.

Getting Started

Enabling TypeKey on your site requires a special token which must be added to your Movable Type weblog configuration.

1) Set up your TypeKey token

Downloading Movable Type creates a TypeKey profile and generates the required token. Log in to TypeKey with the username you registered when downloading Movable Type.

You can find the TypeKey Token in Account Preferences under Your Weblog Preferences. Copy this token and paste it into your Movable Type weblog, into Weblog Configuration > Preferences, and remember to save this change.

In the TypeKey profile, enter the URL of your Movable Type site in the text box and save your profile. This URL should be the full domain name where you have installed Movable Type, followed by a trailing slash:

http://www.example.com/

2) Make sure your comment links work correctly

The post comment link in the Main Index (and Category and Date-Based) archive templates should point to your individual archive page:

<a href="<$MTEntryPermalink$>#comments">Comments</a>

If you have set your Preferred Archive Type in Preferences to Individual, <MTEntryPermalink> will automatically point to the proper Individual Entry page. If you have chosen another archive type to be Preferred, you can use:

<a href="<$MTEntryLink archive_type="Individual"$>#comments">Comments</a>

3) Set up your templates

3.0 provides a new tag which will generate all of the required comment posting logic in your template. You can use this tag to replace your existing comments form code:

<MTCommentFields static="1">

You should review the new default templates and use them as guidelines for upgrading your existing templates.

Further Reading:

1 Comments
Pozycjonowanie said:
May 4, 2007 7:41 AM

Thanks for great tutorial Guys. Greetings

Leave a Comment