Title: Link Limits
Author: jammycakes
Published: <strong>December 23, 2009</strong>
Last modified: December 23, 2009

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/link-limits.svg)

# Link Limits

 By [jammycakes](https://profiles.wordpress.org/jammycakes/)

[Download](https://downloads.wordpress.org/plugin/link-limits.zip)

 * [Details](https://ewe.wordpress.org/plugins/link-limits/#description)
 * [Reviews](https://ewe.wordpress.org/plugins/link-limits/#reviews)
 *  [Installation](https://ewe.wordpress.org/plugins/link-limits/#installation)
 * [Development](https://ewe.wordpress.org/plugins/link-limits/#developers)

 [Support](https://wordpress.org/support/plugin/link-limits/)

## Description

This plugin rejects outright any comments that contain either (a) BBCode
 [url=…]
tags or (b) more than a predefined number of hyperlinks. As comments of this nature
are almost exclusively spam, this should cut down drastically on the amount of detritus
that Akismet has to deal with, making it easier to check for false positives in 
your spam queue.

### Configuration

The default settings enforce a limit of two hyperlinks per comment.
 To change this,
edit the number in the line just below the copyright notice which says:

    ```
    define('MAX_HYPERLINKS', 2);
    ```

If you set it to zero, it will not allow any hyperlinks. To allow unlimited
 hyperlinks
and only block BBCode, comment out this line.

### Redistribution

Copyright (c) 2007 James McKay
 http://www.jamesmckay.net/

Permission is hereby granted, free of charge, to any person obtaining a copy
 of
this software and associated documentation files (the “Software”), to deal in the
Software without restriction, including without limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so, subject to the
following conditions:

The above copyright notice and this permission notice shall be included in
 all 
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER DEALINGS IN THE SOFTWARE.

### Reporting bugs

When reporting bugs, please provide me with the following information:

 1. Which version of Comment Timeout you are using;
 2. Which version of WordPress you are using;
 3. The URL of your blog;
 4. Which platform (Windows/IIS/PHP or Linux/Apache/MySQL/PHP) your server
     is running,
    and which versions of Apache and PHP you are using, if you know them;
 5. The steps that need to be taken to reproduce the bug;
 6. If possible, any relevant information on other plugins or configuration
     options
    that you may think appropriate.

See the following blog entry for further guidance on troubleshooting and
 reporting
problems:

http://www.jamesmckay.net/2007/04/how-to-report-issues-with-wordpress-plugins/

### For more information

For more information, please visit the plugin’s home page:

http://www.jamesmckay.net/code/link-limits/

The Mercurial repository and issue tracker for this plugin are at:

http://bitbucket.org/jammycakes/link-limits/

## Installation

 * Copy the file `link-limits.php` to your `/wp-content/plugins` directory.
 * Activate the plugin through the “Plugins” menu in the WordPress dashboard.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Link Limits” is open source software. The following people have contributed to 
this plugin.

Contributors

 *   [ jammycakes ](https://profiles.wordpress.org/jammycakes/)

[Translate “Link Limits” into your language.](https://translate.wordpress.org/projects/wp-plugins/link-limits)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/link-limits/), check
out the [SVN repository](https://plugins.svn.wordpress.org/link-limits/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/link-limits/) by
[RSS](https://plugins.trac.wordpress.org/log/link-limits/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Version **1.0 alpha 1**
 *  Last updated **16 years ago**
 *  Active installations **10+**
 *  WordPress version ** 2.0 or higher **
 *  Tested up to **2.8**
 *  Language
 * [English (US)](https://wordpress.org/plugins/link-limits/)
 * Tags
 * [comment](https://ewe.wordpress.org/plugins/tags/comment/)[comments](https://ewe.wordpress.org/plugins/tags/comments/)
   [spam](https://ewe.wordpress.org/plugins/tags/spam/)
 *  [Advanced View](https://ewe.wordpress.org/plugins/link-limits/advanced/)

## Ratings

No reviews have been submitted yet.

[Add my review](https://wordpress.org/support/plugin/link-limits/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/link-limits/reviews/)

## Contributors

 *   [ jammycakes ](https://profiles.wordpress.org/jammycakes/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/link-limits/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.jamesmckay.net/code/link-limits/)