Here's a simple WordPress plugin that automatically converts Amazon.com links to include your affiliate code. Make sure to replace YOUR_AFFILIATE_CODE with your actual Amazon affiliate code.

1. Create a new folder in your WordPress installation's wp-content/plugins directory. Name it amazon-affiliate-linker.

2. Inside the amazon-affiliate-linker folder, create a new PHP file called amazon-affiliate-linker.php and add the following code:
```php
<?php
/*
Plugin Name: Amazon Affiliate Linker
Description: Automatically convert Amazon.com links to use your affiliate code.
Version: 1.0
Author: Your Name
*/

function add_amazon_affiliate_code($content) {
    $affiliate_code = 'YOUR_AFFILIATE_CODE';

    // Regular expression pattern to match Amazon links
    $pattern = '/(https?:\/\/www\.amazon\.com(?:\/|%2F)(?:[\w-]+)(?:\/|%2F)(?:dp|gp\/product|exec\/obidos\/ASIN)\/|%2F)([\w]{10})(\/|%2F|\?|&|%26|\s|"|<)?/i';

    // Replace the matched Amazon links with your affiliate code
    $replacement = '$1$2/?tag=' . $affiliate_code . '$3';
    $content = preg_replace($pattern, $replacement, $content);

    return $content;
}

// Hook the 'add_amazon_affiliate_code' function to 'the_content' filter
add_filter('the_content', 'add_amazon_affiliate_code');

?>
``` 
3. Save the file, and then go to the WordPress admin dashboard.

4. Navigate to the 'Plugins' menu and find the 'Amazon Affiliate Linker' plugin in the list. Click the 'Activate' link to enable the plugin.

Once activated, the plugin will automatically convert Amazon.com links in your posts and pages to include your affiliate code. Note that this plugin does not handle shortened Amazon links (e.g., amzn.to) or links to other Amazon domains (e.g., Amazon.co.uk). You may need to modify the regular expression pattern and the replacement string to handle these cases if needed.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence