=== Dynamic SEO Pages ===
Contributors: dynamic-seo-pro
Donate link: https://dynamicseopro.com
Tags: seo, sitemap, dynamic-pages, templates, keywords, service-area, landing-pages, xml-sitemap, local-seo, content-automation
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.3.7
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate hundreds of SEO-optimized landing pages automatically from a single template. Perfect for location-based services, product variations, and keyword targeting.

== Description ==

**Dynamic SEO Pages** is a powerful WordPress plugin that automates the creation of hundreds or thousands of SEO-optimized landing pages from a single template. Instead of manually creating each page, you define one HTML template and provide a list of items (locations, keywords, products), and the plugin automatically generates:

🔗 **Friendly URLs** - Automatically creates SEO-friendly URLs like `/plumbing-chicago/` or `/best-lawyer-miami/`

📊 **SEO Meta Tags** - Generates unique meta titles, descriptions, and keywords for each page with live SEO analysis

🗺️ **XML Sitemap** - Automatically creates and updates XML sitemaps at `/dynamic-pages-sitemap.xml`

📱 **Social Media** - Open Graph and Twitter Card meta tags for better social sharing

⚡ **Performance** - Lightweight and fast with smart caching and minimal database queries

🎨 **Theme Integration** - Works with any WordPress theme, optional header/footer inclusion

= Key Features =

* **Template-Based Generation**: Create one template, generate hundreds of pages
* **Real-Time SEO Analysis**: Live scoring with 15+ SEO checks as you type
* **Smart Caching System**: Optimized performance with multi-layer caching
* **XML Sitemap Integration**: Automatic sitemap generation with custom priorities
* **Social Media Ready**: Built-in Open Graph and Twitter Card support
* **URL Protection**: Automatic backup and redirect system
* **Theme Compatible**: Works with any properly coded WordPress theme
* **Import/Export**: Bulk CSV import/export capabilities (Pro)

= Perfect For =

* Local businesses targeting multiple cities
* Service providers with various specialties
* E-commerce stores with product variations
* Agencies managing multiple locations
* Content marketers targeting long-tail keywords
* Anyone needing to scale content quickly while maintaining SEO best practices

= Template Types =

**Service or Product Area Templates**
Perfect for location-based services. Generate URLs like:
* `yoursite.com/plumbing-chicago/`
* `yoursite.com/plumbing-miami/`
* `yoursite.com/plumbing-houston/`

**Keyword-Based Templates**
Perfect for targeting specific keywords:
* `yoursite.com/best-lawyer/`
* `yoursite.com/cheap-flights/`
* `yoursite.com/fast-delivery/`

= SEO Features =

**Live SEO Analysis** - Real-time scoring system that checks:
* Focus keyphrase in title and content
* Meta description optimization
* Content length and structure
* Heading hierarchy (H1, H2, H3)
* Keyword density analysis
* Title and description length
* Internal linking structure
* Image optimization

**Advanced Placeholders** - Use `{item}` placeholders throughout:
* SEO titles and meta descriptions
* Template HTML content
* Social media tags
* Custom fields and variables

= How It Works =

1. **Create Template**: Define your HTML template with `{item}` placeholders
2. **Add Items**: List your locations, keywords, or products (one per line)
3. **Configure SEO**: Set focus keyphrases, titles, and descriptions
4. **Generate Pages**: Plugin automatically creates all pages with unique URLs
5. **XML Sitemap**: All pages added to sitemap with proper priorities

= Real-World Example =

**Plumbing Company Template:**
```
Template Name: Emergency Plumbing Services
URL Slug: emergency-plumber
Focus Keyphrase: emergency plumber {item}
SEO Title: Emergency Plumber in {item} | 24/7 Service

Items:
Chicago
Milwaukee
Madison

Generated URLs:
yoursite.com/emergency-plumber-chicago/
yoursite.com/emergency-plumber-milwaukee/
yoursite.com/emergency-plumber-madison/
```

= Advanced Features =

* **Priority Scoring**: Use `Munich|0.9` syntax for custom sitemap priorities
* **Template Sources**: Create from custom HTML or existing WordPress pages
* **URL Protection**: Automatic backup system prevents lost URLs
* **Debug Mode**: Comprehensive troubleshooting tools
* **Security Features**: Nonce verification, input sanitization, XSS protection

== Installation ==

= Automatic Installation =
1. Login to your WordPress admin area
2. Go to Plugins → Add New
3. Search for "Dynamic SEO Pages"
4. Click "Install Now" and then "Activate"
5. Navigate to Dynamic SEO in your admin sidebar

= Manual Installation =
1. Download the plugin from WordPress.org
2. Upload the `dynamic-seo-pages` folder to `/wp-content/plugins/`
3. Activate the plugin through the 'Plugins' menu in WordPress
4. Navigate to Dynamic SEO in your WordPress admin sidebar

= Setup Requirements =
The plugin automatically checks system requirements on activation:
* WordPress 5.0 or higher
* PHP 7.4 or higher
* Write permissions to `/wp-content/`
* Pretty permalinks enabled (recommended)

= Quick Setup =
1. Go to **Settings → Permalinks** and click "Save Changes" to flush rewrite rules
2. Navigate to **Dynamic SEO → Create Template**
3. Follow our 5-minute quick start guide in the plugin dashboard

== Frequently Asked Questions ==

= How many pages can I create with the free version? =
The free version allows 1 template with up to 20 items, creating a maximum of 20 dynamic pages. Pro version offers unlimited templates and items.

= Do dynamic pages affect my site's performance? =
Dynamic pages add minimal overhead (typically 20-30ms) and include smart caching to maintain performance. The plugin is optimized for speed with efficient database queries.

= Will this work with my theme? =
Yes! The plugin works with any properly coded WordPress theme. You can choose to include or exclude your theme's header and footer on generated pages.

= Are the pages indexed by search engines? =
Yes, all dynamic pages are fully indexable and include proper meta tags, structured data, and XML sitemap entries for optimal SEO.

= What happens if I deactivate the plugin? =
The plugin automatically creates .htaccess redirects to prevent 404 errors. Your dynamic URLs will redirect to your homepage or specified replacement page.

= Can I use custom fields or variables beyond {item}? =
Yes, you can extend the {item} placeholder system using WordPress hooks and filters. Pro version includes built-in custom field support.

= How does the SEO analysis work? =
The analyzer checks 15+ SEO factors in real-time, including keyword density, content length, meta tags, heading structure, and provides actionable recommendations.

= Can I import data from CSV? =
Pro version includes comprehensive CSV import/export functionality. Free version requires manual entry of items.

= My dynamic pages show 404 errors - how do I fix this? =
Go to **Settings → Permalinks** and click "Save Changes" to flush rewrite rules. Ensure pretty permalinks are enabled in WordPress.

= Can I restore deleted templates? =
Yes, deleted templates are moved to a "trash" folder and can be restored within 30 days. All URLs are automatically protected with redirects.

= How do I set different priorities for items in my sitemap? =
Use the pipe syntax when adding items: `Munich|0.9` where 0.9 is the priority score (0.1-1.0). Higher numbers get higher sitemap priority.

= Does the plugin support multilingual sites? =
The plugin works with multilingual setups and can generate pages for different languages when combined with translation plugins like WPML or Polylang.

== Screenshots ==

1. **Templates Overview** – Manage all your templates with live SEO scores and example URLs  
2. **Create Template** – Define your template HTML or Page, choose your type, and configure items & SEO settings  
3. **Create Template – Keywords** – Keyword-based templates: enter your HTML, list keywords, and set SEO fields  
4. **Create Template – Areas** – Service-area templates: enter your HTML, list areas, and set SEO fields  
5. **SEO Analysis** – Real-time audit of title length, meta description, content length, and keyphrase usage  
6. **Sitemap Settings** – Configure global priority, override individual page scores, and import/export via CSV  
7. **XML Sitemap** – Preview the dynamically generated XML sitemap for all your pages  
8. **Plugin Settings** – License management, debug mode, and enhanced security controls

== Changelog ==

= 1.3.7 =
* Enhanced SEO analysis with 15+ comprehensive checks
* Automatic URL backup and protection system
* Improved WordPress 6.8 compatibility
* Better integration with popular caching plugins
* Fixed subdirectory installation issues
* Resolved theme compatibility problems
* Performance improvements for large sites
* Added debug mode for troubleshooting
* Enhanced security measures and input validation

= 1.3.0 =
* Live SEO scoring system with real-time feedback
* Social media meta tags (Open Graph, Twitter Cards)
* Template creation from existing WordPress pages
* Redesigned admin interface for better usability
* Enhanced security measures and data protection
* Improved caching system with multi-layer optimization

= 1.2.0 =
* XML sitemap generation with custom priorities
* Priority scoring system for sitemap optimization
* Template import/export functionality
* Database optimization for better performance
* Enhanced error handling and logging

= 1.1.0 =
* Multiple template types (Service Area, Keyword-based)
* Auto-save functionality via AJAX
* Improved URL structure and rewrite rules
* Better theme integration options
* Various bug fixes and performance improvements

= 1.0.0 =
* Initial release
* Basic template creation and management
* Dynamic URL generation with {item} placeholders
* WordPress integration and theme compatibility
* SEO meta tag generation
* Simple admin interface

== Upgrade Notice ==

= 1.3.7 =
Major update with enhanced SEO analysis, automatic URL protection, and improved WordPress 6.8 compatibility. Recommended for all users.

= 1.3.0 =
Significant upgrade with live SEO scoring, social media integration, and redesigned interface. Update recommended for better user experience.

= 1.0.0 =
Initial release of Dynamic SEO Pages with comprehensive template and dynamic page generation capabilities.

== Support ==

For support and documentation:

* **Documentation**: Comprehensive guides available in the plugin dashboard
* **WordPress Support**: Community support through WordPress.org forums
* **Pro Support**: Priority email and phone support for Pro users
* **Bug Reports**: Report issues on our GitHub repository or WordPress.org

== Pro Version ==

Upgrade to **Dynamic SEO Pages Pro** for:

* ✅ Unlimited templates and items
* ✅ Advanced SEO analysis with custom rules
* ✅ Bulk CSV import/export
* ✅ Priority email and phone support
* ✅ Custom post type integration
* ✅ Advanced caching and optimization
* ✅ Early access to new features
* ✅ Custom field and variable support

[Upgrade to Pro](https://dynamicseopro.com/) | [View Pricing](https://dynamicseopro.com/#pricing)

== Privacy Policy ==

Dynamic SEO Pages respects your privacy:

* No user data is transmitted to external servers
* All template and page data is stored locally in your WordPress database
* Optional usage tracking can be disabled in plugin settings
* No personal information is collected or stored by the plugin
* Generated pages follow your site's existing privacy policies