Site not respond correct

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
levitmic
 
 
Posts: 38
Joined: Wed Sep 05, 2018 2:36 pm
Contact:

Site not respond correct

Post by levitmic »

Greetings,

I need an urgent help with my site: https://drevelina.co.il
site shows only java code

Code: Select all

$(document).ready(function()
{$("a[href*='#header']").click(function(event)
{event.preventDefault();$('html, body').stop().animate({scrollTop:$('#wb_header').offset().top},600,'easeOutCirc');});var Top_AboutOpts={delay:8000,duration:500,easing:'easeInSine',mode:'puff',direction:'',scalemode:3,pagination:true,pagination_img_default:'images/Top_About-default.png',pagination_img_active:'images/Top_About-active.png',pause:null,start:0};$("#wb_Top_About").attr('dir','ltr');$("#Top_About").carouseleffects(Top_AboutOpts);$('#About').parallax();$("a[href*='#Sample_P']").click(function(event)
{event.preventDefault();$('html, body').stop().animate({scrollTop:$('#Sample_P').offset().top},600,'linear');});$("a[href*='#Contact']").click(function(event)
{event.preventDefault();$('html, body').stop().animate({scrollTop:$('#Contact').offset().top},600,'linear');});$(document).on('click','.ThemeableMenu2-navbar-collapse.in',function(e)
{if($(e.target).is('a')&&($(e.target).attr('class')!='dropdown-toggle'))
{$(this).collapse('hide');}});$("#wb_ResponsiveMenu1 ul li a").click(function(event)
{$("#wb_ResponsiveMenu1 input").prop("checked",false);});var iOS=!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform);if(iOS)
{$('#About').css('background-attachment','scroll');}});(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');ga('create','UA-125084781-1','auto');ga('send','pageview');

Image
Last edited by levitmic on Sat Mar 21, 2020 7:10 pm, edited 1 time in total.
levitmic
 
 
Posts: 38
Joined: Wed Sep 05, 2018 2:36 pm
Contact:

Re: Site not respond correct

Post by levitmic »

Solved by unchecking all in JavaScript options

But in any case I would be very happy to any recommendation for improving the site

Thanks.
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Site not respond correct

Post by Pablo »

This is a server configuration issue.
The landing page should not use JS.
levitmic
 
 
Posts: 38
Joined: Wed Sep 05, 2018 2:36 pm
Contact:

Re: Site not respond correct

Post by levitmic »

Pablo wrote: Sat Mar 21, 2020 12:39 pm This is a server configuration issue.
The landing page should not use JS.
How can i solve it?
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Site not respond correct

Post by Pablo »

On the server remove the js file extension from the landing page settings.
Your web host may be able to help you with this.
levitmic
 
 
Posts: 38
Joined: Wed Sep 05, 2018 2:36 pm
Contact:

Re: Site not respond correct

Post by levitmic »

Pablo wrote: Sat Mar 21, 2020 3:38 pm On the server remove the js file extension from the landing page settings.
Your web host may be able to help you with this.
Pablo, do you mean for .htaccess?
like as i did for php extension

Code: Select all

<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteBase /

   #remove ext
   RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php [NC]
   RewriteRule ^ %1 [R=301,L]
   #internal redirect
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteCond %{REQUEST_FILENAME}.php -f
   RewriteRule ^(.*?)/?$ $1.php [L]
</IfModule>
If yes, how site will recognize where is php/html and where js, if name the same?
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Site not respond correct

Post by Pablo »

I'm sorry, my knowledge about .htaccess is very limited.
I cannot help you with server related configuration.
Post Reply