Link to HTML doc can only offer download, not display |
Link to HTML doc can only offer download, not display |
pandy |
Mar 17 2019, 11:52 PM
Post
#21
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Even more odd that the presumed text document is offered for download. Why isn't it displayed in the browser as usual?
|
pandy |
Mar 17 2019, 11:54 PM
Post
#22
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
QUOTE Weebly seems to require "files/theme/", I'm not sure why. Sounds like a folder for some kind of themes. But that makes me wonder --why did you put quesera2.html there in the first place? Perhaps you're not supposed to have HTML files in that folder. Try moving it to the web root instead (where the index.html file is)! Or create a new folder outside the theme folder if you want to keep things together. It should get default permissions and other criteria. |
Christian J |
Mar 18 2019, 06:35 AM
Post
#23
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
|
pandy |
Mar 18 2019, 06:44 AM
Post
#24
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
A conflict in the browser, you mean? But all browsers I have does the same.
|
Christian J |
Mar 18 2019, 10:27 AM
Post
#25
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
Even more odd that the presumed text document is offered for download. Why isn't it displayed in the browser as usual? Good point. Maybe because of the conflicting Content type and file extension? The conflict doesn't seem to matter. I created a test HTML page with a text/plain header and .html extensions: CODE <?php header('Content-Type: text/plain'); ?> <!doctype html> <html> ... and indeed Firefox did display it as plain text in the browser window. Could there be something else with the HTTP headers causing trouble? |
Leezinho |
Mar 18 2019, 06:51 PM
Post
#26
|
Newbie Group: Members Posts: 11 Joined: 21-February 19 Member No.: 26,828 |
QUOTE Sounds like a folder for some kind of themes. But that makes me wonder --why did you put quesera2.html there in the first place? Perhaps you're not supposed to have HTML files in that folder. Try moving it to the web root instead (where the index.html file is)! I'm new to Weebly, and so far, "Themes" is the only place I've seen to put files. I haven't seen mention of anything called a "web root", nor any other options. I don't see folders for me to put things in. |
Christian J |
Mar 18 2019, 07:56 PM
Post
#27
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
I haven't seen mention of anything called a "web root", nor any other options. The web root is where https://langnhist.weebly.com/index.html is located. It's the highest folder level that's visible to site visitors. QUOTE I don't see folders for me to put things in. You can create them yourself if you want (I don't know how it's done with Weebly, but the instructions should mention it). Here's a good page on how to organize things: https://webtips.dan.info/subdir.html But first, try moving quesera2.html to the web root folder (so it's URL becomes: https://langnhist.weebly.com/quesera2.html), to see if it shows properly in a browser from there. This post has been edited by Christian J: Mar 19 2019, 05:23 AM |
pandy |
Mar 19 2019, 12:50 AM
Post
#28
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
I assume you can't use FTP with Weebly? You do everything through a web interface, some kind of online file manager?
There ought to be an icon or other symbol you can click on to go one folder up if you currently are in the themes folder. |
Lo-Fi Version | Time is now: 25th April 2024 - 10:39 PM |