Overview
Visual Portfolio includes intelligent SEO optimization features that automatically handle robots meta tags, canonical URLs, and duplicate content prevention for filtered, sorted, searched, and paginated portfolio pages.Core SEO Strategy
The plugin implements a “noindex, follow” strategy for dynamically filtered content to prevent duplicate content issues while maintaining crawlability.Key Principles
- Main portfolio pages: Fully indexable with canonical URLs
- Filtered/sorted pages: Noindex to avoid duplication
- Paginated pages: Noindex beyond page 1
- Link equity: Maintained through “follow” directive
Robots Meta Tags
Automatic Implementation
The plugin automatically adds robots meta tags to filtered, sorted, searched, or paginated pages:URL Parameters Monitored
| Parameter | Description | SEO Handling |
|---|---|---|
vp_filter | Active category filter | Noindex, follow |
vp_sort | Sort order (date, title, etc.) | Noindex, follow |
vp_search | Search query | Noindex, follow |
vp_page | Pagination (pages > 1) | Noindex, follow |
Priority and Timing
Robots meta tags are added early in thewp_head hook:
Archive vs. Non-Archive Handling
Archive Detection
The plugin differentiates between Visual Portfolio archives and regular pages:Why This Matters
Regular Pages/Posts
Regular Pages/Posts
- Portfolio embedded in page content
- Filtering changes URL parameters
- Noindex prevents duplicate content
- Original page remains indexed
VP Archive Pages
VP Archive Pages
- Dedicated portfolio archive URLs
- Proper URL structure (e.g.,
/portfolio/page/2/) - Should remain indexable
- Different SEO strategy needed
URL Optimization
Clean URL Structure
The plugin optimizes URLs for SEO and user experience:Canonical URLs
For archive mappings, pagination URLs are converted to friendly format:SEO Plugin Compatibility
Yoast SEO Integration
Rank Math Integration
All in One SEO Integration
Sitemap Integration
The plugin includes sitemap functionality:Sitemap Configuration
- Portfolio items can be included in XML sitemaps
- Respects WordPress sitemap settings
- Proper priority and change frequency
- Filtered/paginated pages excluded
Schema Markup
While not explicitly shown in the SEO optimization class, portfolio items can support schema markup through filters and hooks.Custom Schema Example
Duplicate Content Prevention
The Problem
Without proper SEO handling:The Solution
Performance and Caching
Cache Compatibility
The plugin works with popular caching plugins:- WP Rocket:
class-wp-rocket.php - SG Optimizer:
class-sg-cachepress.php
Cache Considerations
SEO Hooks and Filters
Disable Robots Meta
Completely disable robots meta tag addition:Custom Robots Rules
Implement custom logic:Modify URL Optimization
Best Practices
URL Structure
URL Structure
- Keep URLs clean and descriptive
- Use semantic URL parameters
- Implement breadcrumbs for navigation
- Consider archive mapping for better URLs
Content Strategy
Content Strategy
- Write unique descriptions for main portfolio pages
- Use meaningful filter category names
- Optimize portfolio item titles and content
- Include alt text for all images
Technical SEO
Technical SEO
- Ensure fast loading times
- Implement lazy loading for images
- Use proper heading hierarchy
- Test with Google Search Console
Monitoring and Testing
Google Search Console
- Check for “duplicate content” warnings
- Monitor indexed pages count
- Review crawl errors
- Verify robots.txt isn’t blocking portfolio URLs
Testing Tools
WordPress SEO Plugins
Verify compatibility with:- Yoast SEO breadcrumbs
- Rank Math schema
- All in One SEO sitemap
Common Issues and Solutions
Issue: Filtered Pages Still Indexed
Solution: Clear search engine cache and wait for re-crawlIssue: Main Page Not Indexed
Solution: Verify no conflicting SEO rulesIssue: Canonical URL Conflicts
Solution: Ensure SEO plugins respect Visual Portfolio’s canonical URLsAdvanced Configuration
Custom Archive Indexing
Regional SEO
Related Features
- Filters & Sorting - SEO-optimized filtering
- Pagination - SEO-friendly pagination
- Lazy Loading - Performance optimization for SEO