form resets after page load on redirect if litespeed active
-
hi,
See the url below its the redirected page and form has values and pre-populates the field in the form using javascript from previous form/page
Now if you notice it loaded the page/form with values then resets the form and clear the info when refreshes. it happens if the litespeed plugin is active, but if we try to disable litespeed, the script works and the field values remain on the loaded page.
also here’s the access on the page block
cf7test
cf7testaccess!Thanks.
The page I need help with: [log in to see the link]
-
Server Variables
SERVER_SOFTWARE = LiteSpeed
DOCUMENT_ROOT = /home/devc4/thinspect
X-LSCACHE = on,esi,combine
LSWCP_TAG_PREFIX = 32f
WP_SITEURL = NULL
WP_HOME = NULL
WP_CONTENT_DIR = /home/devc4/thinspect/wp-content
SHORTINIT = false
LSCWP_CONTENT_DIR = /home/devc4/thinspect/wp-content
LSCWP_CONTENT_FOLDER = wp-content
LSCWP_DIR = /home/devc4/thinspect/wp-content/plugins/litespeed-cache/
LITESPEED_TIME_OFFSET = 28800.0
LITESPEED_SERVER_TYPE = LITESPEED_SERVER_ENT
LITESPEED_CLI = NULL
LITESPEED_ALLOWED = true
LITESPEED_ON = true
LSWCP_TAG_PREFIX = 32f
COOKIEHASH = 5367fdf000fdde63d1fab0a1a81329f5 Wordpress Specific Extras
wordpress version = 6.4.1
siteurl = https://thinspect.dev.c4concepts.com.au
home = https://thinspect.dev.c4concepts.com.au
home_url = https://thinspect.dev.c4concepts.com.au
locale = en_AU
active theme = c4 Custom Theme
active plugins = array (
0 => 'add-to-any/add-to-any.php',
1 => 'advanced-custom-fields-pro/acf.php',
2 => 'all-in-one-seo-pack-pro/all_in_one_seo_pack.php',
3 => 'contact-form-7/wp-contact-form-7.php',
4 => 'contact-form-cfdb7/contact-form-cfdb-7.php',
5 => 'duplicate-post/duplicate-post.php',
6 => 'litespeed-cache/litespeed-cache.php',
7 => 'megamenu/megamenu.php',
8 => 'post-types-order/post-types-order.php',
9 => 'redirection/redirection.php',
10 => 'wp-migrate-db-pro/wp-migrate-db-pro.php',
11 => 'wp-pagenavi/wp-pagenavi.php',
12 => 'wp-reviews-plugin-for-google/wp-reviews-plugin-for-google.php',
13 => 'wp-video-lightbox/wp-video-lightbox.php',
14 => 'wpcf7-redirect/wpcf7-redirect.php',
15 => 'wps-hide-login/wps-hide-login.php',
)
cloud = array (
'curr_request.ver' => 0,
'last_request.ver' => 1701079516,
'news.utime' => 1701078503,
'curr_request.news' => 0,
'last_request.news' => 1701078503,
'news.id' => 5701,
'news.plugin' => '',
'news.title' => ' LiteSpeed Cache: New Version Available',
'news.content' => 'Good news! A new version of LSCWP is available now. Please upgrade to v5.7.0.1 for some important bug fixes.',
'news.zip' => '',
'news.new' => 1,
) LSCache Plugin Options
_version = 5.7.0.1
hash = pSkOqeYbQwUF6kyFDFICLiLqhP7kRKy8
auto_upgrade = false
api_key =
server_ip =
guest = false
guest_optm = false
news = true
guest_uas = array (
0 => 'Lighthouse',
1 => 'GTmetrix',
2 => 'Google',
3 => 'Pingdom',
4 => 'bot',
5 => 'PTST',
6 => 'HeadlessChrome',
)
guest_ips = array (
0 => '208.70.247.157',
1 => '172.255.48.130',
2 => '172.255.48.131',
3 => '172.255.48.132',
4 => '172.255.48.133',
5 => '172.255.48.134',
6 => '172.255.48.135',
7 => '172.255.48.136',
8 => '172.255.48.137',
9 => '172.255.48.138',
10 => '172.255.48.139',
11 => '172.255.48.140',
12 => '172.255.48.141',
13 => '172.255.48.142',
14 => '172.255.48.143',
15 => '172.255.48.144',
16 => '172.255.48.145',
17 => '172.255.48.146',
18 => '172.255.48.147',
19 => '52.229.122.240',
20 => '104.214.72.101',
21 => '13.66.7.11',
22 => '13.85.24.83',
23 => '13.85.24.90',
24 => '13.85.82.26',
25 => '40.74.242.253',
26 => '40.74.243.13',
27 => '40.74.243.176',
28 => '104.214.48.247',
29 => '157.55.189.189',
30 => '104.214.110.135',
31 => '70.37.83.240',
32 => '65.52.36.250',
33 => '13.78.216.56',
34 => '52.162.212.163',
35 => '23.96.34.105',
36 => '65.52.113.236',
37 => '172.255.61.34',
38 => '172.255.61.35',
39 => '172.255.61.36',
40 => '172.255.61.37',
41 => '172.255.61.38',
42 => '172.255.61.39',
43 => '172.255.61.40',
44 => '104.41.2.19',
45 => '191.235.98.164',
46 => '191.235.99.221',
47 => '191.232.194.51',
48 => '52.237.235.185',
49 => '52.237.250.73',
50 => '52.237.236.145',
51 => '104.211.143.8',
52 => '104.211.165.53',
53 => '52.172.14.87',
54 => '40.83.89.214',
55 => '52.175.57.81',
56 => '20.188.63.151',
57 => '20.52.36.49',
58 => '52.246.165.153',
59 => '51.144.102.233',
60 => '13.76.97.224',
61 => '102.133.169.66',
62 => '52.231.199.170',
63 => '13.53.162.7',
64 => '40.123.218.94',
)
cache = true
cache-priv = true
cache-commenter = true
cache-rest = true
cache-page_login = true
cache-favicon = true
cache-resources = true
cache-mobile = false
cache-mobile_rules = array (
0 => 'Mobile',
1 => 'Android',
2 => 'Silk/',
3 => 'Kindle',
4 => 'BlackBerry',
5 => 'Opera Mini',
6 => 'Opera Mobi',
)
cache-browser = false
cache-exc_useragents = array (
)
cache-exc_cookies = array (
)
cache-exc_qs = array (
)
cache-exc_cat = array (
)
cache-exc_tag = array (
)
cache-force_uri = array (
)
cache-force_pub_uri = array (
)
cache-priv_uri = array (
)
cache-exc = array (
)
cache-exc_roles = array (
)
cache-drop_qs = array (
0 => 'fbclid',
1 => 'gclid',
2 => 'utm*',
3 => '_ga',
)
cache-ttl_pub = 604800
cache-ttl_priv = 1800
cache-ttl_frontpage = 604800
cache-ttl_feed = 604800
cache-ttl_rest = 604800
cache-ttl_browser = 31557600
cache-ttl_status = array (
0 => '404 3600',
1 => '500 600',
)
cache-login_cookie =
cache-vary_group = array (
'administrator' => '99',
'aioseo_editor' => '0',
'aioseo_manager' => '0',
'author' => '0',
'contributor' => '0',
'editor' => '0',
'subscriber' => '0',
)
purge-upgrade = true
purge-stale = false
purge-post_all = false
purge-post_f = true
purge-post_h = true
purge-post_p = true
purge-post_pwrp = true
purge-post_a = true
purge-post_y = false
purge-post_m = true
purge-post_d = false
purge-post_t = true
purge-post_pt = true
purge-timed_urls = array (
)
purge-timed_urls_time =
purge-hook_all = array (
0 => 'switch_theme',
1 => 'wp_create_nav_menu',
2 => 'wp_update_nav_menu',
3 => 'wp_delete_nav_menu',
4 => 'create_term',
5 => 'edit_terms',
6 => 'delete_term',
7 => 'add_link',
8 => 'edit_link',
9 => 'delete_link',
)
esi = false
esi-cache_admbar = true
esi-cache_commform = true
esi-nonce = array (
0 => 'stats_nonce',
1 => 'subscribe_nonce',
)
util-instant_click = false
util-no_https_vary = false
debug-disable_all = false
debug = 0
debug-ips = array (
0 => '127.0.0.1',
)
debug-level = false
debug-filesize = 3
debug-cookie = false
debug-collaps_qs = false
debug-inc = array (
)
debug-exc = array (
)
debug-exc_strings = array (
)
db_optm-revisions_max = 0
db_optm-revisions_age = 0
optm-css_min = false
optm-css_comb = false
optm-css_comb_ext_inl = true
optm-ucss = false
optm-ucss_inline = false
optm-ucss_whitelist = array (
)
optm-ucss_file_exc_inline = array (
)
optm-ucss_exc = array (
)
optm-css_exc = array (
)
optm-js_min = false
optm-js_comb = false
optm-js_comb_ext_inl = true
optm-js_delay_inc = array (
)
optm-js_exc = array (
0 => 'jquery.js',
1 => 'jquery.min.js',
)
optm-html_min = false
optm-html_lazy = array (
)
optm-qs_rm = false
optm-ggfonts_rm = false
optm-css_async = false
optm-ccss_per_url = false
optm-ccss_sep_posttype = array (
0 => 'page',
)
optm-ccss_sep_uri = array (
)
optm-css_async_inline = true
optm-css_font_display = false
optm-js_defer = 0
optm-emoji_rm = false
optm-noscript_rm = false
optm-ggfonts_async = false
optm-exc_roles = array (
)
optm-ccss_con =
optm-js_defer_exc = array (
0 => 'jquery.js',
1 => 'jquery.min.js',
2 => 'gtm.js',
3 => 'analytics.js',
)
optm-gm_js_exc = array (
)
optm-dns_prefetch = array (
)
optm-dns_prefetch_ctrl = false
optm-dns_preconnect = array (
)
optm-exc = array (
)
optm-guest_only = true
object = false
object-kind = false
object-host = localhost
object-port = 11211
object-life = 360
object-persistent = true
object-admin = true
object-transients = true
object-db_id = 0
object-user =
object-pswd =
object-global_groups = array (
0 => 'users',
1 => 'userlogins',
2 => 'useremail',
3 => 'userslugs',
4 => 'usermeta',
5 => 'user_meta',
6 => 'site-transient',
7 => 'site-options',
8 => 'site-lookup',
9 => 'site-details',
10 => 'blog-lookup',
11 => 'blog-details',
12 => 'blog-id-cache',
13 => 'rss',
14 => 'global-posts',
15 => 'global-cache-test',
)
object-non_persistent_groups = array (
0 => 'comment',
1 => 'counts',
2 => 'plugins',
3 => 'wc_session_id',
)
discuss-avatar_cache = false
discuss-avatar_cron = false
discuss-avatar_cache_ttl = 604800
optm-localize = false
optm-localize_domains = array (
0 => '### Popular scripts ###',
1 => 'https://platform.twitter.com/widgets.js',
2 => 'https://connect.facebook.net/en_US/fbevents.js',
)
media-lazy = false
media-lazy_placeholder =
media-placeholder_resp = false
media-placeholder_resp_color = #cfd4db
media-placeholder_resp_svg =
media-lqip = false
media-lqip_qual = 4
media-lqip_min_w = 150
media-lqip_min_h = 150
media-placeholder_resp_async = true
media-iframe_lazy = false
media-add_missing_sizes = false
media-lazy_exc = array (
)
media-lazy_cls_exc = array (
0 => 'wmu-preview-img',
)
media-lazy_parent_cls_exc = array (
)
media-iframe_lazy_cls_exc = array (
)
media-iframe_lazy_parent_cls_exc = array (
)
media-lazy_uri_exc = array (
)
media-lqip_exc = array (
)
media-vpi = false
media-vpi_cron = false
img_optm-auto = false
img_optm-cron = true
img_optm-ori = true
img_optm-rm_bkup = false
img_optm-webp = false
img_optm-lossless = false
img_optm-exif = true
img_optm-webp_attr = array (
0 => 'img.src',
1 => 'div.data-thumb',
2 => 'img.data-src',
3 => 'img.data-lazyload',
4 => 'div.data-large_image',
5 => 'img.retina_logo_url',
6 => 'div.data-parallax-image',
7 => 'div.data-vc-parallax-image',
8 => 'video.poster',
)
img_optm-webp_replace_srcset = false
img_optm-jpg_quality = 82
crawler = false
crawler-usleep = 500
crawler-run_duration = 400
crawler-run_interval = 600
crawler-crawl_interval = 302400
crawler-threads = 3
crawler-timeout = 30
crawler-load_limit = 1
crawler-sitemap =
crawler-drop_domain = true
crawler-map_timeout = 120
crawler-roles = array (
)
crawler-cookies = array (
)
misc-heartbeat_front = false
misc-heartbeat_front_ttl = 60
misc-heartbeat_back = false
misc-heartbeat_back_ttl = 60
misc-heartbeat_editor = false
misc-heartbeat_editor_ttl = 15
cdn = false
cdn-ori = array (
0 => '//thinspect.dev.c4concepts.com.au/',
)
cdn-ori_dir = array (
0 => 'wp-content',
1 => 'wp-includes',
)
cdn-exc = array (
)
cdn-quic = false
cdn-cloudflare = false
cdn-cloudflare_email =
cdn-cloudflare_key =
cdn-cloudflare_name =
cdn-cloudflare_zone =
cdn-mapping = array (
0 =>
array (
'url' => '/',
'inc_img' => true,
'inc_css' => true,
'inc_js' => true,
'filetype' =>
array (
0 => '.aac',
1 => '.css',
2 => '.eot',
3 => '.gif',
4 => '.jpeg',
5 => '.jpg',
6 => '.js',
7 => '.less',
8 => '.mp3',
9 => '.mp4',
10 => '.ogg',
11 => '.otf',
12 => '.pdf',
13 => '.png',
14 => '.svg',
15 => '.ttf',
16 => '.webp',
17 => '.woff',
18 => '.woff2',
),
),
)
cdn-attr = array (
0 => '.src',
1 => '.data-src',
2 => '.href',
3 => '.poster',
4 => 'source.srcset',
)
qc-token =
qc-nameservers =
_cache = true /home/devc4/thinspect/.htaccess contents: BEGIN LSCACHE LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block!
RewriteEngine on
CacheLookup on
RewriteRule .* - [E=Cache-Control:no-autoflush]
RewriteRule .litespeed_conf.dat - [F,L] marker CACHE RESOURCE start RewriteRule wp-content/./[^/](responsive|css|js|dynamic|loader|fonts).php - [E=cache-control:max-age=3600] marker CACHE RESOURCE end marker FAVICON start RewriteRule favicon.ico$ - [E=cache-control:max-age=86400] marker FAVICON end marker DROPQS start CacheKeyModify -qs:fbclid
CacheKeyModify -qs:gclid
CacheKeyModify -qs:utm*
CacheKeyModify -qs:_ga marker DROPQS end LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! END LSCACHE BEGIN NON_LSCACHE LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! END NON_LSCACHE BEGIN WordPress The directives (lines) between "BEGIN WordPress" and "END WordPress" are dynamically generated, and should only be modified via WordPress filters. Any changes to the directives between these markers will be overwritten. RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] END WordPress ----------------------------------------------------------------cp:ppd Section managed by cPanel: Password Protected Directories -cp:ppd - Do not edit this section of the htaccess file! -cp:ppd ----------------------------------------------------------------cp:ppd AuthType Basic
AuthName "Protected 'thinspect'"
AuthUserFile "/home/devc4/.htpasswds/thinspect/passwd"
Require valid-user ----------------------------------------------------------------cp:ppd End section managed by cPanel: Password Protected Directories -cp:ppd ----------------------------------------------------------------cp:ppdplease try go to Cache -> Exclude -> Do not cache URI, add
select-option checkbox- additional- cb- first-name last-name your-mobile
save and purge all.
hi, thanks for the reply.
but unfortunately it didnt work.
what if you just reset cache plugin to default setting ? you can do so in toolbox -> import/export -> reset to default , see how thing goes ?
hi, we’re using default settings, but we still tried to reset but it didnt fixed the issue. thanks.
interesting issue
please create a ticket by mail to
support at litespeedtech.com
with reference link to this topicwe will investigate further.
Done. thanks again.
- The topic ‘form resets after page load on redirect if litespeed active’ is closed to new replies.