Skip to content

anupammo/smart-seo-booster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

35 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Smart SEO Booster

WordPress PHP License Version

Comprehensive WordPress SEO plugin with advanced content audit, schema markup, and PageSpeed Insights-style reporting for better search engine optimization.

πŸš€ Features

Advanced SEO Analysis

  • 20+ Point Comprehensive Analysis - Complete SEO health check
  • Content Quality Assessment - Word count, readability, structure analysis
  • Keyword Optimization - Title, meta description, and content analysis
  • Image Optimization - Alt text, file sizes, and naming analysis

Modern Interface

  • PageSpeed Insights-Style Design - Professional, Google-inspired interface
  • WordPress Admin Integration - Seamless integration with WordPress design
  • Color-Coded Indicators - Easy-to-understand visual feedback
  • Mobile Responsive - Works perfectly on all devices

Technical SEO

  • Link Analysis - Internal and external link validation
  • Schema Markup Detection - Structured data analysis
  • Technical Validation - Robots.txt, SSL, canonical URLs
  • Social Media Optimization - Open Graph and Twitter Card analysis

Security & Performance

  • WordPress Security Standards - Proper sanitization and escaping
  • Performance Optimized - Efficient database queries and caching
  • WordPress Coding Standards - High-quality, maintainable code
  • Translation Ready - Full internationalization support

πŸ“‹ Requirements

Requirement Minimum Recommended
WordPress 5.0+ 6.0+
PHP 7.4+ 8.0+
Memory 64MB 128MB+
Database MySQL 5.6+ MySQL 8.0+

πŸ› οΈ Installation

Automatic Installation (Recommended)

  1. Log into your WordPress admin area
  2. Go to Plugins β†’ Add New
  3. Search for "Smart SEO Booster"
  4. Click Install Now and then Activate

Manual Installation

  1. Download the latest release from Releases
  2. Upload the plugin files to /wp-content/plugins/smart-seo-booster/
  3. Activate the plugin through the Plugins menu in WordPress

Development Installation

cd wp-content/plugins/
git clone https://github.com/anupammo/smart-seo-booster.git

🎯 Quick Start

  1. Activate the Plugin in your WordPress admin
  2. Navigate to SEO Settings in your admin menu
  3. Run Your First Audit by clicking "Audit Report"
  4. Review Recommendations and implement improvements
  5. Monitor Progress with regular audits

πŸ“Š SEO Analysis Features

Content Analysis (20+ Factors)

  • Title tag optimization
  • Meta description quality
  • Content length and structure
  • Keyword optimization
  • Heading structure (H1-H6)
  • Internal linking quality
  • External link validation
  • Image optimization
  • Alt text analysis

Technical SEO

  • Robots.txt validation
  • Canonical URL analysis
  • SSL certificate check
  • URL structure optimization
  • Schema markup detection
  • Social media tags
  • Page speed considerations

Reporting

  • Overall SEO score
  • Individual metric scores
  • Color-coded status indicators
  • Actionable recommendations
  • Detailed opportunities list
  • Progress tracking

🀝 Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

Development Workflow

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

πŸ› Bug Reports

Found a bug? Please create an issue with:

  • WordPress version
  • PHP version
  • Plugin version
  • Steps to reproduce
  • Expected vs actual behavior

πŸ“ˆ Changelog

[2.1.0] - 2025-01-04

  • Added: WordPress 6.8 compatibility
  • Added: Comprehensive 20+ point SEO analysis
  • Added: PageSpeed Insights-style interface
  • Added: Advanced security enhancements
  • Improved: Performance and code quality
  • Fixed: All PHP warnings and notices

See CHANGELOG.md for complete version history.

πŸ“„ License

This plugin is licensed under the GPL v2 or later.

πŸ‘¨β€πŸ’» Author

Anupam Mondal

πŸ”— Links


Made with ❀️ for the WordPress community

πŸš€ Features

βœ… Core SEO Features

  • Meta Tags Management: Automatic title and description injection
  • Schema Markup: JSON-LD structured data for better search visibility
  • Content Auditing: Real-time SEO analysis with actionable insights
  • Internal Link Analysis: Track and optimize internal linking structure
  • Admin Dashboard: Clean, intuitive settings interface

🎯 Schema Types Supported

  • Article Schema: For blog posts and articles
  • Organization Schema: For business information
  • Local Business Schema: For location-based businesses
  • FAQ Schema: For FAQ pages
  • Profile Page Schema: For author/profile pages

πŸ“Š Audit Metrics

  • Word count analysis
  • Heading structure evaluation
  • Image alt text validation
  • Internal link assessment
  • Schema markup status

πŸ”§ Installation

Method 1: WordPress Admin (Recommended)

  1. Download the plugin ZIP file
  2. Go to Plugins > Add New in WordPress admin
  3. Click Upload Plugin and select the ZIP file
  4. Activate the plugin

Method 2: Manual Installation

  1. Upload the smart-seo-booster folder to /wp-content/plugins/
  2. Activate the plugin through WordPress admin

Method 3: Development Setup

# Clone the repository
git clone https://github.com/anupammo/smart-seo-booster.git

# Move to WordPress plugins directory
mv smart-seo-booster /path/to/wordpress/wp-content/plugins/

# Activate via WP-CLI (optional)
wp plugin activate smart-seo-booster

πŸŽ›οΈ Configuration

Basic Setup

  1. Navigate to Smart SEO in WordPress admin
  2. Enable Schema Markup in settings
  3. Configure additional options as needed

Advanced Configuration

The plugin automatically detects page types and applies appropriate schema:

  • Blog posts β†’ Article schema
  • FAQ pages β†’ FAQ schema
  • About pages β†’ Profile schema
  • Contact/Services β†’ Local Business schema
  • Homepage β†’ Organization schema

πŸ§ͺ Testing Features

1. Test Schema Markup

# View page source and look for JSON-LD script tags
# Or use Google's Rich Results Test
https://search.google.com/test/rich-results

2. Test Content Auditor

  1. Edit any post/page in WordPress
  2. Check for SEO audit notices in the editor
  3. Verify metrics: word count, headings, images, links

3. Test Admin Interface

  1. Go to Smart SEO menu
  2. Access Audit Report submenu
  3. Verify settings are saved correctly

4. Test Link Analyzer

  1. Create content with internal links
  2. Check admin notices for link analysis
  3. Verify internal link counting accuracy

πŸ“ Project Structure

smart-seo-booster/
β”œβ”€β”€ πŸ“„ smart-seo-booster.php      # Main plugin file with bootstrap logic
β”œβ”€β”€ πŸ“„ uninstall.php              # Cleanup logic for plugin deletion
β”œβ”€β”€ πŸ“„ readme.txt                 # WordPress.org plugin description
β”œβ”€β”€ πŸ“„ README.md                  # This documentation file
β”œβ”€β”€ πŸ“„ LICENSE                    # GPL2+ license file
β”œβ”€β”€ πŸ“‚ includes/                  # Core PHP classes
β”‚   β”œβ”€β”€ πŸ”§ class-loader.php       # Autoloader for modular classes
β”‚   β”œβ”€β”€ 🎨 class-admin-ui.php     # Admin panel UI and menu logic
β”‚   β”œβ”€β”€ ⚑ class-seo-core.php     # Core SEO functionality
β”‚   β”œβ”€β”€ πŸ“‹ class-schema-generator.php # JSON-LD schema builder
β”‚   β”œβ”€β”€ πŸ” class-content-auditor.php  # Content analysis engine
β”‚   β”œβ”€β”€ πŸ”— class-link-analyzer.php    # Internal link analysis
β”‚   └── βš™οΈ class-settings.php     # Plugin settings management
β”œβ”€β”€ πŸ“‚ templates/                 # UI templates
β”‚   └── πŸ“Š audit-report.php       # SEO audit report interface
β”œβ”€β”€ πŸ“‚ schema/                    # JSON-LD schema templates
β”‚   β”œβ”€β”€ πŸ“° article-schema.php     # Article schema template
β”‚   β”œβ”€β”€ ❓ faq-schema.php         # FAQ schema template
β”‚   β”œβ”€β”€ 🏒 local-business-schema.php # Local business schema
β”‚   β”œβ”€β”€ πŸ›οΈ organization-schema.php   # Organization schema
β”‚   └── πŸ‘€ profile-page-schema.php   # Profile page schema
β”œβ”€β”€ πŸ“‚ css/                       # Stylesheets
β”‚   └── 🎨 admin.css              # Admin interface styles
└── πŸ“‚ languages/                 # Internationalization
    └── 🌐 smart-seo-booster.pot  # Translation template

πŸ”§ Development Principles

🎯 Modularity

Each feature is isolated in separate classes for easy maintenance and extension.

πŸ“ˆ Scalability

Schema templates are reusable and dynamically injected based on page context.

⚑ Performance

Minimal WordPress compatibility using native hooks and lightweight operations.

πŸ”’ Security

  • Input sanitization via esc_html(), sanitize_text_field()
  • Nonce verification for admin forms
  • Proper capability checks

πŸ› Troubleshooting

Common Issues

❌ Plugin Activation Error

Fatal error: Cannot redeclare Smart_SEO_Admin_UI::init()

βœ… Solution: This has been fixed in the latest version. Ensure you're using the updated files.

❌ Schema Not Appearing

  • Verify schema is enabled in settings
  • Check page type matches schema conditions
  • Use browser dev tools to inspect page source

❌ Admin Menu Missing

  • Ensure user has manage_options capability
  • Check for plugin conflicts
  • Verify all files are uploaded correctly

Debug Mode

Enable WordPress debug mode for detailed error logging:

// In wp-config.php
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit changes (git commit -m 'Add amazing feature')
  4. Push to branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“ Changelog

Version 1.0.0

  • βœ… Initial release
  • βœ… Core SEO functionality with enhanced meta tags
  • βœ… Schema markup generation (5 types supported)
  • βœ… Advanced content auditing system with SEO scoring
  • βœ… Admin interface with improved styling
  • βœ… Internal link analysis
  • βœ… Open Graph meta tags for social sharing
  • βœ… Comprehensive testing framework
  • βœ… Fixed duplicate method declaration issue

Recent Improvements

  • Enhanced Meta Tags: Added Open Graph tags for better social media sharing
  • Advanced Content Auditor: Now provides SEO scoring and actionable recommendations
  • Improved Admin UI: Enhanced styling with better visual feedback
  • Comprehensive Testing: Added detailed testing guide and automated validation
  • Better Error Handling: Improved code safety and WordPress compatibility

πŸ“„ License

This project is licensed under the GPL2+ License - see the LICENSE file for details.

πŸ‘¨β€πŸ’» Author

Anupam Mondal

πŸ™ Acknowledgments

  • WordPress community for best practices
  • Schema.org for structured data standards
  • Contributors and testers

⭐ If this plugin helps your SEO efforts, please consider starring the repository!

About

WordPress plugin that enhances SEO with features like title/meta optimization, schema injection, image alt auditing, and internal link analysis. A clean and extensible folder structure that aligns with WordPress best practices and supports the latest minimal version

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors