when I don't write /index.html in a browser I get a page with the code

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
fker
 
 
Posts: 48
Joined: Sat Oct 03, 2015 6:48 pm

when I don't write /index.html in a browser I get a page with the code

Post by fker »

Hi Pablo,
When I write in a browser (google) https://46-osteo.fr/ I get a page with the code fully exposed.

When I write: https://46-osteo.fr/index.html I get the website

I probably missed something somewhere.

Can you help me?

Francois
User avatar
jerryco
 
 
Posts: 893
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: when I don't write /index.html in a browser I get a page with the code

Post by jerryco »

Is there a .htaccess file in the directory? If so, what is the content? This might explain redirecting I think.
// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
Pablo
 
Posts: 23021
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: when I don't write /index.html in a browser I get a page with the code

Post by Pablo »

This is a server configuration issue. The server displays the script file (js) instead of the html file.
To solve this you can either change .htaccess on the server or disable 'Generate external JS' in Tools->Options->HTML
fker
 
 
Posts: 48
Joined: Sat Oct 03, 2015 6:48 pm

Re: when I don't write /index.html in a browser I get a page with the code

Post by fker »

Thanks ... and sorry for the late reply.
Post Reply