Smart AI Linker
AI-powered internal linking and silo structuring plugin using DeepSeek API.
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/moizxox/smart-ai-linker/archive/refs/heads/main.zipA powerful WordPress plugin that uses advanced AI to automatically create meaningful internal links and manage content silos, significantly improving your site's SEO, content organization, and user engagement.
🚀 Key Features
AI-Powered Internal Linking
- Smart Content Analysis: Automatically analyzes content to identify optimal linking opportunities
- Context-Aware Suggestions: Uses DeepSeek AI to generate relevant, natural-sounding anchor text
- Automated Link Insertion: Adds up to 7 relevant internal links (configurable)
- Bulk Processing: Generate or update links across multiple posts at once
Content Silo Management
- Silo Creation & Management: Easily create and organize content silos
- Bulk Silo Assignment: Assign multiple posts to silos in one go
- Auto-Silo Assignment: AI analyzes content to suggest appropriate silos
- Silo-Based Navigation: Built-in tools to create silo-based navigation structures
SEO & Performance
- SEO Optimization: Enhances internal linking structure for better search visibility
- Content Organization: Improves content architecture with silo structures
- Performance Optimized: Efficient processing with minimal impact on site speed
- Comprehensive Reporting: Track link performance and silo effectiveness
🛠 Installation
- Upload the
smart-ai-linkerfolder to your/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- The plugin will automatically create necessary database tables
- Navigate to Smart AI Linker > Settings in your WordPress admin
- Enter your DeepSeek API key (get it from DeepSeek Platform)
- Configure your preferred settings for linking and silo management
Requirements
- WordPress 5.6 or higher
- PHP 7.4 or higher (PHP 8.0+ recommended)
- MySQL 5.7+ or MariaDB 10.3+
- cURL extension enabled
- DeepSeek API key (for AI features)
⚙️ Configuration
1. General Settings
- API Configuration
- DeepSeek API Key: Required for AI processing Get your API key
- Enable AI Features: Toggle AI-powered suggestions on/off
2. Linking Settings
- Auto-Linking: Enable/disable automatic link generation
- On Publish: Generate links when content is published/updated
- On Save: Generate links when content is saved as draft
- Link Generation
- Maximum Links: Set between 1-10 links per post (default: 7)
- Link Target: Choose _blank (new tab) or _self (same tab)
- Nofollow Links: Add rel="nofollow" to generated links
3. Silo Management
- Auto-Silo Assignment: Enable AI to suggest silos based on content
- Default Silo: Set a default silo for new content
- Silo Hierarchy: Enable parent-child relationships between silos
4. Content Types
- Enabled Post Types: Select which content types to process
- Minimum Word Count: Set minimum content length for processing (default: 100 words)
- Exclude IDs: List post IDs to exclude from processing
5. Advanced Options
- Debug Mode: Enable detailed error logging
- API Timeout: Set timeout for API requests (default: 30s)
- Batch Size: Number of posts to process in bulk operations
🎯 Getting Started
1. Setting Up Your First Silo
- Go to Smart AI Linker > Silo Management
- Click "Add New Silo"
- Enter a name and description for your silo
- (Optional) Set a parent silo to create hierarchies
- Click "Save Silo"
2. Assigning Content to Silos
Manual Assignment
- Edit any post/page
- Find the "Silo Assignment" meta box
- Select one or more silos for the content
- Update the post
Bulk Assignment
- Go to Posts/Pages list
- Select multiple items using checkboxes
- Choose "Edit" from Bulk Actions
- Set the silo in the bulk editor
- Click "Update"
3. Generating Links
Automatic Linking
- Ensure "Auto-Linking" is enabled in settings
- Create or update a post
- The plugin will automatically generate relevant links
Manual Linking
- Edit a post
- Click "Generate Links" in the Smart AI Linker meta box
- Review and adjust suggestions
- Click "Insert Links"
4. Bulk Processing
- Go to Smart AI Linker > Dashboard
- Click "Bulk Generate Links"
- Select content to process
- Click "Process" and monitor progress
📊 Monitoring & Reporting
Link Analysis
- View all generated links
- See which posts link to each other
- Check for broken or outdated links
Silo Reports
- Content distribution across silos
- Internal link structure visualization
- SEO impact analysis
🔒 Security
All data is processed securely:
- API connections use HTTPS
- No sensitive data is stored
- Regular security audits
- GDPR compliant
👥 Contributing
We welcome contributions! Please read our contributing guidelines before submitting pull requests.
🧭 File Structure
smart-ai-linker/
admin/ # Admin UI and settings
api/ # API clients and integrations
assets/ # CSS and JS assets
includes/ # Core plugin logic (linking, silos, etc.)
tests/ # Test scripts
smart-ai-linker.php # Main plugin file
uninstall.php # Uninstall script
🧪 Testing
To run the included tests:
- Ensure you have PHPUnit installed and configured for your environment.
- Run the test scripts in the
tests/directory, e.g.:php tests/test-connection.php php tests/test-internal-linking.php
❓ Frequently Asked Questions
Where do I get a DeepSeek API key?
Sign up at DeepSeek Platform to get your API key. The free tier includes sufficient requests for most small to medium sites.
How does the plugin choose which links to insert?
The AI analyzes your content's context and suggests the most relevant internal links based on semantic meaning, content relevance, and your site's structure.
Can I edit the suggested links?
Yes! All AI-generated links can be manually edited or removed directly in the post editor. The plugin won't modify your changes during future updates.
Will this affect my site's performance?
The plugin is optimized for minimal impact:
- AI processing happens asynchronously
- No frontend scripts are loaded for visitors
- Efficient database queries
- Built-in caching of AI responses
How many links will be added to each post?
By default, up to 7 links are added, but you can adjust this in the settings. The actual number may be less if the AI can't find enough relevant content to link to.
📈 Benefits
For Content Creators
- Saves hours of manual link building
- Improves content quality and depth
- Enhances reader experience with relevant internal links
For Site Owners
- Boosts SEO performance
- Increases page views and reduces bounce rates
- Strengthens content hierarchy and site structure
🤝 Support
For support or feature requests, please open an issue on GitHub. For general questions, check the FAQ above or contact support@example.com.
📜 Changelog
1.1.0
- Added support for both posts and pages
- Improved AI prompt for better link suggestions
- Enhanced JSON parsing for reliability
- Added more detailed logging
- Improved error handling and user feedback
1.0.0
- Initial release with core functionality