MK Link Checker & Replacer
ابزاری برای بررسی و جایگزینی لینکهای داخلی صفحات وردپرس
by Matin Khamooshi · github.com/matinkhamooshi/mk-link-check-and-replace-plugin · website
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/matinkhamooshi/mk-link-check-and-replace-plugin/archive/refs/heads/main.zipA powerful WordPress plugin that automatically checks for broken links and replaces them throughout your website. Maintain link integrity and improve your site's SEO with automatic broken link detection and replacement capabilities.
✨ Features
| Feature | Description |
|---|---|
| Automated Link Checking | Regularly scans your content for broken links |
| Bulk Replacement | Find and replace multiple links simultaneously |
| Scheduled Scans | Set automatic scanning intervals |
| Detailed Reports | View comprehensive broken link reports |
| One-Click Replacement | Fix broken links with single click operations |
| Database Optimization | Maintains clean link database |
Additional features:
- Custom Replacement Rules: Define specific patterns for link replacement
- Redirect Management: Handle 301/302 redirects efficiently
- Link Whitelisting: Exclude certain domains from checking
- Performance Monitoring: Track link health over time
📋 Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
- cURL extension enabled
🚀 Installation
Method 1: WordPress Admin Dashboard
- Navigate to Plugins → Add New
- Search for "MK Link Check and Replace"
- Click Install Now and then Activate
Method 2: Manual Installation
- Download the plugin zip file
- In your WordPress admin, go to Plugins → Add New
- Click Upload Plugin and choose the zip file
- Click Install Now and then Activate
Method 3: FTP Installation
- Upload
mk-link-check-and-replace-pluginfolder to/wp-content/plugins/ - Navigate to Plugins in WordPress admin
- Find "MK Link Check and Replace" and click Activate
💡 Usage
Basic Configuration
- Go to MK Link Check in your WordPress admin menu
- Configure scanning settings in the Settings tab
- Set your preferred scanning schedule
- Save changes
Running a Link Check
- Navigate to Link Checker → Start New Scan
- Monitor progress in real-time
- Review results in the Broken Links report
Replacing Links
- From the broken links report, select links to replace
- Click Replace Selected
- Enter the new URL or choose from suggestions
- Confirm replacement
⚙️ Configuration
Scan Settings
- Scan Frequency: Set how often automatic scans run
- Content Types: Choose which post types to scan
- Link Types: Configure which link types to check
Replacement Settings
- Auto-replace: Enable/disable automatic replacement
- Replacement Rules: Define custom replacement patterns
- Notification Settings: Configure email alerts
🛠️ Troubleshooting
Common Issues
Scan Not Starting
- Verify cron jobs are running properly
- Check server memory limits
- Ensure cURL is enabled
High Server Load
- Reduce scanning frequency
- Limit number of concurrent checks
- Enable during low-traffic hours
Links Not Detected
- Clear plugin cache
- Rebuild link index
- Check content encoding
Performance Tips
- Schedule scans during off-peak hours
- Limit concurrent HTTP requests
- Use sampling for large sites
🤝 Contributing
We welcome contributions! Please see our Contributing Guidelines for details.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
📊 Changelog
1.0.0
- Initial release
- Basic link checking functionality
- Bulk replacement features
🔒 Security
Please disclose any security issues responsibly by emailing security@youremail.com.
📜 License
This project is licensed under the GPL v2 or later - see the LICENSE.md file for details.
🙏 Acknowledgments
- WordPress developer community
- Beta testers and contributors
- Inspiration from similar link management solutions