Theme Management¶
Important
Only install themes from trusted sources
Always backup your database before installing new themes
Check theme compatibility with your SEO Panel version
Preview themes before activating on production sites
Theme Installation Process¶
Themes Manager has its own Upload Theme button - a drag-and-drop zip upload, no FTP/SSH access needed. That’s the recommended method below; manual FTP/SSH upload is still covered afterward as an alternative.
Recommended: Upload Theme (No FTP Needed)¶
Download Theme
Download the theme from the official SEO Panel themes repository:
https://www.seopanel.org/themes/
Save the theme ZIP file to your local computer - leave it zipped, do not extract it first.
Upload the Zip
Go to Admin Panel => Themes Manager => Themes Manager and click Upload Theme (also reachable directly from the sidebar).
Drag the zip onto the drop zone, or click to browse. This same form handles both a brand-new theme and upgrading an existing one of the same folder name - uploading over an already-installed theme re-parses its
theme.xmland updates it in place instead of erroring out.Access Theme Manager
The new theme now appears in the themes list.
Activate Theme
Locate the theme in the list
Click “Activate” button
Wait for confirmation message
The theme status will change to “Active”
Test Theme Functionality
Thoroughly test the new theme:
Check all pages render correctly
Test navigation menus
Verify mobile responsiveness
Check browser compatibility (Chrome, Firefox, Safari, Edge)
Test form submissions
Clear Browser Cache
# Clear server-side cache rm -rf /var/www/html/seopanel/tmp/cache/*
Also clear browser cache (Ctrl+Shift+Delete) to see changes.
Alternative: Manual FTP/SSH Installation¶
Use this if your server’s PHP upload_max_filesize/post_max_size
is too small for the zip upload above, or you prefer a CLI workflow.
Extract Theme Archive
# Extract the theme ZIP file unzip theme-name.zip # This will create a theme folder matching its own name, e.g., 'business'
Upload Theme Files
Upload the extracted theme folder to the
/themes/directory:Via FTP: - Connect to your server via FTP - Navigate to
/seopanel/themes/- Upload the entire theme folderVia SSH:
# Copy theme to themes directory cp -r business /var/www/html/seopanel/themes/ # Set proper permissions chown -R www-data:www-data /var/www/html/seopanel/themes/business find /var/www/html/seopanel/themes/business -type d -exec chmod 755 {} \; find /var/www/html/seopanel/themes/business -type f -exec chmod 644 {} \;
Verify Theme Files
Ensure the theme directory structure is correct - this is what the Themes Manager actually requires, not a WordPress-style
theme.php/header.php/footer.phpset some older guides describe:seopanel/ └── themes/ └── business/ ├── theme.xml # Required - name/version/author/description, parsed on install/upgrade ├── css/ # Stylesheets ├── images/ # Theme images └── views/ # .ctp.php view templates, one subfolder per controller<!-- theme.xml --> <?xml version="1.0" encoding="UTF-8"?> <theme> <author>Your Name</author> <name>My Custom Theme</name> <description>A custom theme for SEO Panel</description> <version>1.0.0</version> <website>https://example.com</website> </theme>
Access Theme Manager
Go to Admin Panel => Themes Manager
The new theme should appear in the themes list the same way it would after an upload (step 3 of the Upload Theme method above).
Activate and test as in steps 4-6 above.
Theme Upgrade Steps¶
Critical
Always backup your theme customizations before upgrading
Document any custom CSS or template modifications
Test theme upgrades on staging environment first
Keep old theme folder as backup for 7-14 days
Theme Upgrade Process¶
Uploading a new version’s zip through the same Upload Theme form
used for installation (above) is the upgrade process: if a theme of
that same folder name is already registered, the upload replaces its
files and re-parses theme.xml for the new version in one step.
Download the new version
Switch to the default theme temporarily (recommended)
Go to Admin Panel => Themes Manager and activate another theme before upgrading, so the site has something working while the active theme’s files are mid-replace.
Upload it the same way as a fresh install
Admin Panel => Themes Manager => Upload Theme, drop the new zip.
Reactivate and verify
Click “Activate” on the upgraded theme
Clear cache:
rm -rf seopanel/tmp/cache/*Test all pages, responsive layout, and any custom features
Alternative: Manual FTP/SSH Upgrade (With Custom Changes to Preserve)¶
Use this if you’ve directly modified the theme’s own files (custom CSS,
edited .ctp.php views) and need to merge those changes into the new
version rather than simply overwriting them - a zip upload alone would
replace your customizations.
Check Current Version
Go to Admin Panel => Themes Manager
Note the current version of your active theme.
Backup Current Theme
# Create timestamped backup of current theme cd /var/www/html/seopanel/themes/ cp -r business business_backup_$(date +%Y%m%d_%H%M%S) # Or via FTP: Download the theme folder
Document Custom Changes
Create a list of any custom modifications:
Custom CSS in css/
Modified .ctp.php view files
Custom images or logos
Download New Version
Download the latest theme version from:
Switch to Default Theme (Recommended)
Go to Admin Panel => Themes Manager
Activate the default theme temporarily to avoid issues during upgrade.
Replace Theme Files
Via FTP: - Delete the old theme folder (after backing up!) - Upload the new theme folder
Via SSH:
# Remove old theme (backup already created) rm -rf /var/www/html/seopanel/themes/business # Extract and copy new version unzip business-new.zip cp -r business /var/www/html/seopanel/themes/ # Set proper permissions chown -R www-data:www-data /var/www/html/seopanel/themes/business find /var/www/html/seopanel/themes/business -type d -exec chmod 755 {} \; find /var/www/html/seopanel/themes/business -type f -exec chmod 644 {} \;
Reapply Customizations
Carefully merge your custom changes:
# Review differences between old and new diff -r business_backup_* business/ # Manually merge custom changes into new theme # DO NOT simply copy old files over new ones!
Pick Up the New Version in Theme Manager (If Required)
Go to Admin Panel => Themes Manager
Find the upgraded theme
Select “Upgrade” from the action dropdown - this re-parses
theme.xmlfor the files you just replaced by hand (the zip upload path above does this automatically; manual FTP/SSH doesn’t)Wait for completion
Reactivate Theme
Click “Activate” on the upgraded theme
Clear cache:
rm -rf seopanel/tmp/cache/*Refresh browser cache
Verify Upgrade
Test all pages thoroughly
Check responsive design on mobile devices
Verify custom features still work
Test in multiple browsers
Review logs for any errors
Theme Compatibility Check¶
Before installing or upgrading themes:
Check SEO Panel Version
View your SEO Panel version in the dashboard.
Review Theme Requirements
Check the theme’s readme.txt for:
Minimum SEO Panel version
PHP version requirements
Browser compatibility
Required features or plugins
Check Browser Support
Ensure the theme supports:
Chrome (latest 2 versions)
Firefox (latest 2 versions)
Safari (latest 2 versions)
Edge (latest 2 versions)
Mobile browsers
Test Responsive Design
Preview theme on various screen sizes:
Desktop (1920px, 1366px, 1024px)
Tablet (768px, 1024px)
Mobile (375px, 414px, 360px)
Theme Customization Best Practices¶
Child Themes (Advanced)
For extensive customizations, consider creating a child theme:
seopanel/
└── themes/
├── parent-theme/ # Original theme
└── parent-theme-child/ # Your customizations
Custom CSS
Add custom CSS without modifying theme files:
/* Create custom.css in theme folder */
/* Add your custom styles here */
.custom-header {
background-color: #your-color;
}
Version Control
Track theme customizations with Git:
cd /var/www/html/seopanel/themes/your-theme
git init
git add .
git commit -m "Initial theme customization"
Troubleshooting Theme Issues¶
Issue: Theme doesn’t appear in Theme Manager
Check the theme folder is in
/themes/directoryVerify the theme has a valid
theme.xmlfileCheck file permissions (755 for directories, 644 for files)
Review error logs:
seopanel/tmp/logs/
Issue: Theme activation fails
Check if theme is compatible with SEO Panel version
Verify all required theme files are present
Check PHP error logs for specific errors
Try activating default theme first
Issue: Broken layout after theme activation
Clear browser cache (Ctrl+Shift+Delete)
Clear server cache:
rm -rf seopanel/tmp/cache/*Check CSS file is loading (view page source)
Verify file permissions on CSS files
Check for JavaScript errors in browser console
Issue: Theme looks different than preview
Clear all caches (browser and server)
Check if custom CSS is interfering
Verify all theme files uploaded correctly
Compare file sizes with original download
Check for missing images or assets
Issue: Mobile responsive issues
Test with browser developer tools
Check viewport meta tag in theme header
Verify media queries in CSS
Test on actual mobile devices
Check for JavaScript conflicts
Issue: Theme performance is slow
Optimize images (compress, use appropriate formats)
Minimize CSS and JavaScript files
Enable browser caching
Remove unused CSS/JS
Consider using a CDN for assets
Theme Security Best Practices¶
Security Checklist
✓ Only install themes from official SEO Panel repository
✓ Verify theme developer/author reputation
✓ Read theme reviews before installation
✓ Keep themes updated to latest versions
✓ Remove unused themes completely
✓ Review theme code for suspicious functions
✓ Check for hardcoded external links
✓ Validate theme doesn’t load external resources
✓ Backup before installing or upgrading themes
✓ Test themes in staging environment first
Theme Optimization Tips¶
Performance:
Use optimized images (WebP format when possible)
Minimize HTTP requests
Combine and minify CSS/JS files
Use lazy loading for images
Enable GZIP compression
Accessibility:
Ensure proper color contrast ratios
Use semantic HTML elements
Add ARIA labels where needed
Test with screen readers
Ensure keyboard navigation works
SEO:
Use proper heading hierarchy (H1, H2, H3)
Include schema markup
Optimize meta tags
Ensure fast page load times
Make theme mobile-friendly
Maintenance:
Document all customizations
Keep themes updated regularly
Remove unused theme assets
Monitor theme performance
Test after each update
Theme Resources¶
Official Theme Repository: https://www.seopanel.org/themes/
Theme Documentation: Available in each theme’s readme.txt
GitHub Issues: https://github.com/seopanel/seopanel/issues
Support System: Open tickets through official website
Themes bundled with SEO Panel:
Classic - the original, default SEO Panel theme
Business - a professional theme with a navy and gold colour scheme
Simple - a stripped-down theme kept in sync with Classic’s feature set at each release
See Classic Theme, Business Theme and Simple Theme for more on each one.
Custom Theme Development¶
For developers wanting to create custom themes - based directly on the Classic theme’s own real layout, not a WordPress-style theme.php/header.php/footer.php convention:
Basic Theme Structure:
mytheme/
├── theme.xml # Required - name/version/author/description
├── css/ # Stylesheets
├── images/ # Theme images
└── views/
├── layout/
│ └── default.ctp.php # The shared page shell every view renders into
├── common/ # Shared partials (menus, header bits)
├── home.ctp.php # One .ctp.php (or subfolder of them)
│ ... # per controller - dashboard/, keyword/,
│ ... # website/, settings/, etc.
A theme only needs views for the controllers it actually overrides -
see an existing theme (``themes/classic``, ``themes/business`` or
``themes/simple``) for the full real list.
Theme Configuration (theme.xml):
<?xml version="1.0" encoding="UTF-8"?>
<theme>
<author>Your Name</author>
<name>My Custom Theme</name>
<description>A custom theme for SEO Panel</description>
<version>1.0.0</version>
<website>https://example.com</website>
</theme>
Development Best Practices:
Follow SEO Panel coding standards
Use proper PHP templating
Implement responsive design
Test cross-browser compatibility
Document all custom functions
Include theme preview screenshot
Provide detailed readme.txt