This guide helps you troubleshoot caching issues and conflicts with other WordPress plugins and themes.
Caching Plugin Conflicts
Symptom
Landing pages not updating, displaying incorrectly, or analytics not working due to caching.
Common Caching Plugins
WP Super Cache
Problem: Landing page changes don’t appear, cached version shown.
Solution 1 – Clear Cache:
- Go to Settings → WP Super Cache
- Click Delete Cache button
- Visit landing page to verify changes
- Go to Settings → WP Super Cache → Advanced
- Find Rejected URIs section
- Add landing page URLs (one per line):
- Or exclude all ShahiLandin pages:
- Advanced tab → Don’t cache pages for known users (check)
- Advanced tab → Don’t cache pages with GET parameters (check if using experiments)
- Go to Performance → Dashboard
- Click Empty All Caches
- Test landing page
- Go to Performance → Page Cache → Advanced
- Find Never cache the following pages
- Add landing page patterns:
- Page Cache → Advanced → Accepted query strings
- Add experiment parameters:
- Page Cache → General → Uncheck Cache requests for logged-in users
- Click WP Rocket in admin bar
- Click Clear Cache
- Go to Settings → Advanced Rules
- Never Cache URL(s):
- File Optimization tab
- Excluded JavaScript Files:
- Media tab → Images
- Excluded Images or Iframes:
- LiteSpeed Cache menu → Purge All
- Or click Purge All in admin bar
- Go to LiteSpeed Cache → Cache → Excludes
- Do Not Cache URIs:
- Cache → Excludes → Do Not Cache Query Strings:
- Cache → Cache → Cache TTL for Pages
- Set lower value (e.g., 600 seconds instead of 604800)
- ShahiLandin uses WordPress transients
- Flush object cache:
- Exclude ShahiLandin transients from object cache:
- Log into Cloudflare dashboard
- Caching → Purge Everything
- Or purge specific URL
- Page Rules → Create Page Rule
- URL:
yoursite.com/landing-page* - Setting: Cache Level → Bypass
- Save and deploy
- Caching → Configuration
- Browser Cache TTL: Set to 1 hour
- Edge Cache TTL: Use Respect Existing Headers
- Can break custom CSS/JS
- Speed → Optimization
- Auto Minify → Uncheck JavaScript and CSS
- Or use page rule to disable per URL
- Set shorter TTL for landing pages
- Use cache invalidation API when updating
- Add cache busting parameters:
?v=timestamp - Configure proper cache headers in WordPress
- ShahiLandin and Elementor can coexist
- Don’t edit same page with both:
- To disable Elementor for landing pages:
- Use Canvas Mode for landing pages:
- Disable Divi builder for landing pages:
- Add to landing page HTML:
- Gravity Forms usually works without issues
- If form not displaying:
- Disable WPForms styling:
- Or add custom CSS to override:
- Hide Yoast for landing pages:
- Or keep but collapse by default:
- Exclude landing pages from Rank Math:
- Go to Wordfence → Firewall → Manage Rate Limiting
- Add landing page URLs to whitelist
- Firewall → All Options → Whitelisted URLs:
- Won’t affect most visitors
- Wordfence → Login Security → Uncheck Enforce on administrators
- Sucuri Firewall → Settings → Whitelist IP
- Add your server’s IP address
- Or temporarily disable Sucuri for import:
- Security → Settings → REST API
- Ensure REST API is not completely disabled
- Or whitelist ShahiLandin endpoints:
- Settings → Autoptimize → JS, CSS & HTML
- Exclude scripts from Autoptimize:
- Exclude CSS from Autoptimize:
- CSS Options → Inline all CSS (uncheck)
- This prevents critical landing page CSS from being deferred
- Go to Asset CleanUp → Settings
- Post Types → Find Landing Pages (shahi_landing)
- Load Exception → Check all ShahiLandin scripts/styles
- Or disable Asset CleanUp for landing pages entirely
- WP-Optimize → Minify → Exclude
- Exclude from minification:
- Register landing page post type with WPML:
- Configure translation:
- Edit landing page
- Template → Canvas (Full Isolated)
- Update page
- Use Canvas Mode (loads minimal WordPress, skips theme)
- Or disable theme scripts for landing pages:
- Canvas Mode – cleanest solution
- Or hide via CSS:
- Go to Plugins page
- Select all plugins EXCEPT ShahiLandin
- Bulk Actions → Deactivate
- Test landing page – does issue persist?
- Reactivate plugins one by one
- Test after each activation
- When issue returns, you’ve found the conflicting plugin
- Reactivate all plugins
- Switch to default theme (Twenty Twenty-Four)
- Test again
- If resolved, conflict is with your theme
- Install Health Check & Troubleshooting plugin
- Go to Tools → Site Health → Troubleshooting
- Click Enable Troubleshooting Mode
- Only YOU see plugins disabled, visitors see normal site
- Selectively reactivate plugins to find conflict
- Click Disable Troubleshooting Mode when done
- ShahiLandin uses first-party tracking (usually not blocked)
- If blocked, whitelist your site in ad blocker
- For visitors: Can’t force them to disable, but most won’t have issues
- Test in incognito/private mode without extensions
- For your own testing, whitelist your site
- For visitors: Accept that heavily protected users may have limited tracking
- If your site enforces CSP, add ShahiLandin to whitelist:
- Or configure CSP header in server config to allow inline scripts
- View log file at
/wp-content/debug.log - Look for:
- Filter for relevant errors:
- ✅ Keep plugins updated – Many conflicts fixed in updates
- ✅ Use Canvas Mode for full control over landing pages
- ✅ Exclude landing pages from caching where dynamic features needed
- ✅ Test with default theme first to isolate theme issues
- ✅ Use Health Check plugin for safe conflict testing
- ✅ Disable conflicting plugins only on landing pages (if possible)
- ✅ Document conflicts you discover for future reference
- ✅ Contact plugin authors if persistent conflicts occur
- ✅ Regular backups before testing conflict resolutions
- ✅ Staging site for testing without affecting production
- Provide detailed information:
- Export debug log:
- Site Health Export:
- Screenshots:
Solution 2 – Exclude Landing Pages:
`
/landing-page/
/lp/
/offer/
`
`
/shahi-landing/
`
Solution 3 – Disable for Dynamic Content:
W3 Total Cache
Problem: Landing pages cached with wrong content, A/B tests not working.
Solution 1 – Clear All Caches:
Solution 2 – Exclude Pages:
`
landing-page/*
lp/*
shahi-landing/*
`
Solution 3 – Exclude Query Strings:
`
variant
experiment
shahilandin_variant
`
Solution 4 – Disable for Logged-in Users:
WP Rocket
Problem: Aggressive optimization breaks landing page features.
Solution 1 – Clear Cache:
Solution 2 – Exclude Landing Pages:
`
/landing-page/(.*)
/lp/(.*)
/shahi-landing/(.*)
`
Solution 3 – Disable JavaScript Optimization:
`
/wp-content/plugins/ShahiLandin/assets/js/(.*)
`
Solution 4 – Disable Lazy Loading:
`
.landing-hero
[data-shahilandin-image]
`
LiteSpeed Cache
Problem: Landing pages served from cache, bypass cache not working.
Solution 1 – Clear Cache:
Solution 2 – Exclude Landing Pages:
`
/landing-page/
/lp/
shahi-landing
`
Solution 3 – Exclude Query Strings:
`
variant
shahilandin_variant
experiment
`
Solution 4 – Set Cache TTL:
Object Cache Issues
Redis/Memcached
Problem: Landing page data cached in object cache causes stale content.
Solution:
`bash
For Redis Object Cache plugin
wp cache flush
Or via WP-CLI
wp transient delete-all
`
`php
// Add to wp-config.php
$globalgroups = [‘shahilandincache’];
wpcacheaddglobalgroups($global_groups);
`
CDN Conflicts
Cloudflare
Problem: Landing page updates don’t appear for visitors, cached at edge.
Solution 1 – Purge Cache:
Solution 2 – Create Page Rule:
Solution 3 – Reduce Cache TTL:
Solution 4 – Disable Auto Minify for Landing Pages:
Other CDNs (BunnyCDN, KeyCDN, AWS CloudFront)
General Solutions:
Plugin Conflicts
Page Builder Conflicts
Elementor
Problem: Cannot edit landing page with Elementor, or Elementor overrides ShahiLandin.
Solution:
– Use Elementor OR ShahiLandin per page
– Not both simultaneously
`php
// Add to theme’s functions.php
addfilter(‘elementor/frontend/buildercontentdisplay’, function($display, $postid) {
if (getposttype($postid) === ‘shahilanding’) {
return false; // Disable Elementor for landing pages
}
return $display;
}, 10, 2);
`
Divi Builder
Problem: Divi theme interferes with landing page display.
Solution:
– Edit landing page
– Template → Canvas (Full Isolated)
`php
addfilter(‘etbuildershouldloadframework’, function($shouldload) {
if (issingular(‘shahilanding’)) {
return false;
}
return $should_load;
});
`
Beaver Builder
Problem: Beaver Builder and ShahiLandin conflict on same page.
Solution:
Similar to above – use one or the other per page:
`php
addfilter(‘flbuilderrendermodule’, function($render, $module) {
if (getposttype() === ‘shahi_landing’) {
return false;
}
return $render;
}, 10, 2);
`
Form Plugin Conflicts
Contact Form 7
Problem: Contact Form 7 shortcode not working in landing page.
Solution 1 – Ensure Scripts Load:
ShahiLandin’s Canvas mode may not load CF7 scripts.
`html
`
Solution 2 – Manually Load Scripts:
`php
// Add to functions.php
addaction(‘wpenqueue_scripts’, function() {
if (issingular(‘shahilanding’)) {
if (functionexists(‘wpcf7enqueue_scripts’)) {
wpcf7enqueuescripts();
}
if (functionexists(‘wpcf7enqueue_styles’)) {
wpcf7enqueuestyles();
}
}
});
`
Gravity Forms
Problem: Gravity Forms not displaying or submitting correctly.
Solution:
`php
// Force load Gravity Forms on landing pages
addfilter(‘gformforcehooks’, function($forcehooks) {
if (issingular(‘shahilanding’)) {
return true;
}
return $force_hooks;
});
`
WPForms
Problem: WPForms styles conflict with landing page design.
Solution:
`php
addfilter(‘wpformsmodernformfields’, ‘_returnfalse’);
`
`css
.wpforms-container {
/ Your custom styles /
}
`
SEO Plugin Conflicts
Yoast SEO
Problem: Yoast meta boxes clutter landing page editor.
Solution:
`php
addaction(‘addmeta_boxes’, function() {
removemetabox(‘wpseometa’, ‘shahilanding’, ‘normal’);
}, 100);
`
– Screen Options (top right) → Uncheck Yoast boxes
Rank Math
Problem: Rank Math redirects or canonical URLs interfere.
Solution:
`php
addfilter(‘rankmath/frontend/disable’, function($disable) {
if (issingular(‘shahilanding’)) {
return true;
}
return $disable;
});
`
Security Plugin Conflicts
Wordfence
Problem: Wordfence firewall blocks landing page tracking or AJAX requests.
Solution 1 – Whitelist Landing Pages:
Solution 2 – Allow Analytics Endpoints:
`
/wp-json/shahilandin/v1/view
/wp-json/shahilandin/v1/conversion
`
Solution 3 – Disable for Logged-in Admins:
Sucuri Security
Problem: Sucuri blocks HTML import or asset mirroring.
Solution:
– Deactivate plugin
– Import landing page
– Reactivate Sucuri
iThemes Security
Problem: iThemes blocks REST API requests or file uploads.
Solution:
`php
add_filter(‘itsec-filter-whitelisted-ips’, function($whitelisted) {
if (isset($SERVER[‘REQUESTURI’]) &&
strpos($SERVER[‘REQUESTURI’], ‘/shahilandin/’) !== false) {
$whitelisted[] = $SERVER[‘REMOTEADDR’];
}
return $whitelisted;
});
`
Performance Optimization Plugin Conflicts
Autoptimize
Problem: Autoptimize breaks landing page JavaScript or CSS.
Solution 1 – Exclude ShahiLandin Assets:
`
shahilandin-analytics, shahilandin-admin
`
`
shahilandin
`
Solution 2 – Disable Inline CSS Deferral:
Asset CleanUp
Problem: Asset CleanUp removes necessary scripts from landing pages.
Solution:
WP-Optimize
Problem: WP-Optimize minification breaks landing pages.
Solution:
`
shahilandin
analytics
`
Multilingual Plugin Conflicts
WPML
Problem: Landing pages not translating or wrong language displayed.
Solution:
`php
addfilter(‘wpmloverrideistranslatedposttype’, function($override, $type) {
if ($type === ‘shahi_landing’) {
return true;
}
return $override;
}, 10, 2);
`
– WPML → Settings → Post Types
– Enable Landing Pages
– Set to Translatable
Polylang
Problem: Language switcher doesn’t work on landing pages.
Solution:
`php
// Register post type with Polylang
addfilter(‘pllgetposttypes’, function($post_types) {
$posttypes[‘shahilanding’] = ‘shahi_landing’;
return $post_types;
});
`
Theme Conflicts
Common Theme Issues
Problem 1: Theme Styles Override Landing Page
Solution:
Use Canvas Mode to bypass theme entirely:
Problem 2: Theme JavaScript Errors
Symptom: Theme JS conflicts with landing page scripts, console shows errors.
Solution:
`php
addaction(‘wpenqueue_scripts’, function() {
if (issingular(‘shahilanding’)) {
// Dequeue theme scripts
wpdequeuescript(‘theme-main-script’);
wpdequeuescript(‘theme-custom’);
}
}, 100);
`
Problem 3: Theme Adds Unwanted Elements
Symptom: Theme adds share buttons, author bio, breadcrumbs to landing page.
Solution:
`css
.shahi-landing .share-buttons,
.shahi-landing .author-bio,
.shahi-landing .breadcrumbs {
display: none !important;
}
`
Premium Theme Conflicts
Avada Theme
Solution:
`php
add_action(‘wp’, function() {
if (issingular(‘shahilanding’)) {
removeaction(‘wphead’, ‘avadasetpost_header’, 10);
removeaction(‘wpfooter’, ‘avadarenderfooter’, 10);
}
});
`
Divi Theme
Already covered above – use Canvas Mode or disable Divi builder for landing pages.
Astra Theme
Solution:
`php
addfilter(‘astrapage_layout’, function($layout) {
if (issingular(‘shahilanding’)) {
return ‘page-builder’; // Full width, no sidebar
}
return $layout;
});
`
Identifying Plugin Conflicts
Systematic Conflict Testing
Step 1 – Deactivate All Plugins (Except ShahiLandin):
Step 2 – If Issue Resolved:
Step 3 – If Issue Persists:
Using Health Check Plugin
Better Method – Test without affecting site visitors:
Browser and JavaScript Conflicts
Problem 1: Ad Blockers
Symptom: Analytics not tracking, scripts blocked.
Solution:
Problem 2: Privacy Extensions
Symptom: Ghostery, Privacy Badger, uBlock Origin blocking features.
Solution:
Problem 3: Content Security Policy (CSP)
Symptom: Browser blocks inline scripts, CSP violation in console.
Solution:
`html
`
Debug Mode for Conflicts
Enable WordPress Debug
`php
// Add to wp-config.php
define(‘WP_DEBUG’, true);
define(‘WPDEBUGLOG’, true);
define(‘WPDEBUGDISPLAY’, false);
define(‘SCRIPT_DEBUG’, true); // Loads unminified scripts
`
Enable ShahiLandin Debug
`php
// Add to wp-config.php
define(‘SHAHILANDIN_DEBUG’, true);
`
Check Debug Log
– PHP errors
– ShahiLandin warnings
– Plugin conflict notices
`bash
View ShahiLandin errors only
grep -i “shahilandin” wp-content/debug.log
View recent errors
tail -f wp-content/debug.log
`
Best Practices to Avoid Conflicts
Getting Help
If conflicts persist after troubleshooting:
– Conflicting plugin name and version
– Theme name and version
– Steps to reproduce conflict
– Error messages (exact text)
– Copy relevant portions of debug.log
– Include ShahiLandin-related errors
– Go to Tools → Site Health → Info
– Click Copy site info to clipboard
– Include in support request
– Active plugins list
– Error messages
– Console errors (F12)
—
Related Articles:
Share this article
Still need help?
Our support team is ready to assist you with personalized guidance for your workspace.