Support » Plugin: Cache Enabler » non-www version request of the site will redirect to the html file of the home
non-www version request of the site will redirect to the html file of the home
-
Running into an odd issue where the sites when requested as non-www will redirect to the HTML file of the homepage in Cache Enabler.
This was being used in the sites
.htaccess
fileRewriteEngine On RewriteCond %{HTTP_HOST} ^kinexmedia.com [NC] RewriteRule ^(.*)$ https://www.kinexmedia.com/$1 [L,R=301]
The homepage requested as non-www
https://kinexmedia.com
Will redirect tot he HTML of the homepage cache
https://www.kinexmedia.com/wp-content/cache/cache-enabler/www.kinexmedia.com/index.html- This topic was modified 3 years, 8 months ago by Luke Cavanagh. Reason: clarify wording
-
### wp-core ### version: 5.4.2 site_language: en_US user_language: en_US timezone: America/Toronto permalink: /blog/%postname%/ https_status: true user_registration: 0 default_comment_status: open multisite: false user_count: 9 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /chroot/home/a586ed8b/kinexmedia.com/html wordpress_size: 396.99 MB (416279029 bytes) uploads_path: /chroot/home/a586ed8b/kinexmedia.com/html/wp-content/uploads uploads_size: 4.41 GB (4729958575 bytes) themes_path: /chroot/home/a586ed8b/kinexmedia.com/html/wp-content/themes themes_size: 104.23 MB (109292846 bytes) plugins_path: /chroot/home/a586ed8b/kinexmedia.com/html/wp-content/plugins plugins_size: 102.25 MB (107219541 bytes) database_size: 179.53 MB (188256085 bytes) total_size: 5.17 GB (5551006076 bytes) ### wp-dropins (2) ### advanced-cache.php: true object-cache.php: true ### wp-active-theme ### name: Kinex Media (kinexmedia) version: 1.0.12 author: Kinex Media inc. author_website: http://www.kinexmedia.com parent_theme: none theme_features: root-relative-urls, bootstrap-top-navbar, bootstrap-gallery, nice-search, jquery-cdn, automatic-feed-links, post-thumbnails, widgets, menus, editor-style theme_path: /chroot/home/a586ed8b/kinexmedia.com/html/wp-content/themes/kinexmedia ### wp-themes-inactive (2) ### Twenty Nineteen: version: 1.6, author: the WordPress team Twenty Twenty: version: 1.4, author: the WordPress team ### wp-mu-plugins (1) ### Nexcess Managed Apps: version: 1.10.0, author: Nexcess ### wp-plugins-active (19) ### Advanced Custom Fields PRO: version: 5.5.11, author: Elliot Condon (latest version: 5.8.12) AMP: version: 1.5.3, author: AMP Project Contributors (latest version: 1.5.5) Cache Enabler: version: 1.3.5, author: KeyCDN CDN Enabler: version: 1.0.9, author: KeyCDN Classic Editor: version: 1.5, author: WordPress Contributors Customize Submit Button for Gravity Forms: version: 1.0.0, author: Ollie Murphy Disable/Remove Google Fonts: version: 1.1.4, author: Fonts Plugin Duplicate Page: version: 4.2, author: mndpsingh287 Easing Slider: version: 3.0.8, author: Matthew Ruddy Glue for Yoast SEO & AMP: version: 0.4.3, author: Joost de Valk (latest version: 0.7) Google Reviews Business: version: 1.0, author: RichPlugins <support@richplugins.com> Gravity Forms: version: 2.4.14, author: rocketgenius Multiple Post Thumbnails: version: 1.7, author: Chris Scott Postman SMTP: version: 1.7.2, author: Jason Hendriks Site Kit by Google: version: 1.12.0, author: Google Testimonials WordPress plugin: version: 1.7, author: husamrayan WPBakery Page Builder: version: 6.2.0, author: Michael M - WPBakery.com WP Redis: version: 1.1.0, author: Pantheon, Josh Koenig, Matthew Boynes, Daniel Bachhuber, Alley Interactive Yoast SEO Premium: version: 14.2, author: Team Yoast (latest version: 14.5) ### wp-plugins-inactive (8) ### Autoptimize: version: 2.7.3, author: Frank Goossens (futtta) Broken Link Checker: version: 1.11.13, author: WPMU DEV Disqus for WordPress: version: 3.0.17, author: Disqus Imagify: version: 1.9.10, author: WP Media Super Progressive Web Apps: version: 2.1.1, author: SuperPWA WP Hide Plugin Updates and Warnings: version: 1.0, author: Midland Web Company WP Rocket | Enforce Trailing Slash on URLs: author: WP Rocket Support Team, version: (undefined) Yoast SEO: version: 14.5, author: Team Yoast ### wp-media ### image_editor: WP_Image_Editor_Imagick imagick_module_version: 1690 imagemagick_version: ImageMagick 6.9.10-68 Q16 x86_64 2020-04-01 https://imagemagick.org imagick_limits: imagick::RESOURCETYPE_AREA: 210 GB imagick::RESOURCETYPE_DISK: 9.2233720368548E+18 imagick::RESOURCETYPE_FILE: 768 imagick::RESOURCETYPE_MAP: 210 GB imagick::RESOURCETYPE_MEMORY: 105 GB imagick::RESOURCETYPE_THREAD: 32 gd_version: 2.3.0 ghostscript_version: 9.25 ### wp-server ### server_architecture: Linux 4.19.113-300.el7.x86_64 x86_64 httpd_software: Apache php_version: 7.3.19 64bit php_sapi: fpm-fcgi max_input_variables: 16384 time_limit: 600 memory_limit: 2048M max_input_time: -1 upload_max_size: 1536M php_post_max_size: 1536M curl_version: 7.29.0 NSS/3.44 suhosin: false imagick_availability: true htaccess_extra_rules: true ### wp-database ### extension: mysqli server_version: 10.2.32-MariaDB client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $ ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /chroot/home/a586ed8b/kinexmedia.com/html/wp-content WP_PLUGIN_DIR: /chroot/home/a586ed8b/kinexmedia.com/html/wp-content/plugins WP_MAX_MEMORY_LIMIT: 2048M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: true CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_LOCAL_DEV: undefined DB_CHARSET: utf8 DB_COLLATE: undefined ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable mu-plugins: writable ### google-site-kit ### version: 1.12.0 php_version: 7.3.19 wp_version: 5.4.2 reference_url: https://www.kinexmedia.com amp_mode: secondary site_status: not-connected user_status: not authenticated active_modules: site-verification, search-console, analytics, pagespeed-insights required_scopes: openid: ⭕ https://www.googleapis.com/auth/userinfo.profile: ⭕ https://www.googleapis.com/auth/userinfo.email: ⭕ https://www.googleapis.com/auth/siteverification: ⭕ https://www.googleapis.com/auth/webmasters: ⭕ https://www.googleapis.com/auth/analytics.readonly: ⭕ search_console_property: https://www.kinexmedia.com/ analytics_account_id: 2293•••• analytics_property_id: UA-2293•••••• analytics_profile_id: 4517•••• analytics_use_snippet: yes ### amp_wp ### amp_mode_enabled: reader amp_templates_enabled: post amp_serve_all_templates: This option does not apply to Reader mode. amp_css_transient_caching_disabled: n/a amp_css_transient_caching_threshold: 5000 transients per day amp_css_transient_caching_sampling_range: 14 days amp_css_transient_caching_transient_count: 28 amp_css_transient_caching_time_series: 20200701: 34 20200702: 34 20200703: 34 20200704: 34 20200705: 34 20200706: 34 20200707: 34 20200708: 31 20200709: 28 20200710: 29 20200711: 29 20200712: 27 20200713: 28 20200714: 28
https://www.keycdn.com/support/wordpress-cache-enabler-plugin#apache is already defined in the sites
.htaccess
file.To troubleshoot this further, are you able to replicate this issue on a separate WordPress install?
If yes, does this still occur when not using the advanced configuration?
If yes, does it still occur when using an alternative rewrite rule that achieves the same results?
- The topic ‘non-www version request of the site will redirect to the html file of the home’ is closed to new replies.