I just joined 000webhost today and made my first site. I started by making a simple text “Hello World!”, and when I uploaded the index.html file, it worked! However, when I try to change the HTML code in my text editor (Atom), save it, and refresh my website, nothing changes. The only way to get my website page to update and show the changes I made in the HTML code is to delete the file from the file manager, and then upload it again. What do I need to fix in order to get my website to update after making changes to the HTML code in my text editor? I also cannot see any changes in the CSS that I add. Even if I remove it from the file manager and upload it again.
Website: https://linusjlee.000webhostapp.com/
You may be editing the file locally and having to reupload/overwrite to display the changes; you’re not editing in real-time; I recommend get a program such as FlashFXP which is an amazing FTP client; you can choose atom as your default editor; right click and edit directly on the server so that updates sync instantly; for now it appears either your host won’t allow live editing via FTP or your just editing it on your local machine
– Ilan P
Thanks so much! This works perfectly.
Related
I am currently working on a site which is built in using a Custom Designed CMS (there are files with .asp extension). This site is really old and seems like running on IIS Server, which I don't have the access. User asked me to add few items. I made changes to index.html file and uploaded to the server, however, the changes don't seem to take in affect.
So my question to Pros, is, do i have to restart the IIS instance? I tried to change the index.html existing content such as Search Bar's placeholder text from Search to search, uploaded the page and nothing happened. Also added new p tags and no luck.
I have never dealt with IIS site. Any suggestions? One thing for sure I can see is that the Home Page in Custom backend is pointing to the index.html file (which I am altering).
Not at all. I does require a reload/refresh at the client-side though.
-Tango
I've tried to make some changes on index.html on my page, for example I've added a section on the homepage with a video. But the change it only lasts a bit, after some time the page it's automatically restored as it was before.
The changes can only be made in the built in editor on Wordpress?
Maybe check your file manager in your cPanel account or whatever web hosting account you are using. There may be a default page that they load automatically.
I like how when I use F12 on chrome I can edit a page live and check the source files and all that, but I would like to be able to use this on my own website so that every edit I make using F12 is instantly saved to the local html/css file. I like the live output is what I mean. Are there any programs like this? I've tried extensions as well but they all seem to be standalone nothing to do with the website I am browsing through. Is there any way to run F12 as the owner of the website?
No its NOT possible.
However, you can use a scrapping software like Httrack and copy the entire remote website's CSS, JS and HTML files on your local system and then you can edit files manually using any text editor or IDE of your choice.
so, i've ben hunting for the answer, and seems like i can't get this to work, i wanted to make so that, i have a browser page already made in html, and when i click a link in there, it opens a chosen folder on the computer, but i don't want it to open on just this computer's path, I wanted to open a folder that is inside the main folder, so that anyone that has the same files as I do, can open it, i tried < a href="File_path">, tried putting < a href="file:///(file path)">, tried like i have in excel ../../'file path', and can't see where is the problem, anyone can help?
Here you need to use a "file" protocol to link a file in the HTML like,
Link
The browser may or may not open the file due to the security setting. You can click the right button and choose "copy link address" and then paste it into the browser.
There are security implications of showing a local file/folder from an website. It may work when the page is held locally but when on a server it will be failing. However definitely not any chosen folder anywhere in your PC.
If you require to achieve such you need custom implementation using a programming language like ASP .NET like shown in this example.
https://stackoverflow.com/a/6047826/684030
You haven't mention much details on what web server you are using. But if it's IIS (Windows) you may consider allowing directory browsing which may allow to show a sub directory under your website.
I am having a very annoying problem.
Edits that I make to an HTML file are not showing up on my site. I am using file zilla and when I upload css, it works perfectly on my live site. But for a html file I am editing it is not working. When I look at the page source it shows the space where my edit is, but its blank where the html should be.
Its not my cache, I have been using multiple compluters/ phones in different locations over the past weekend. My CSS file was uploaded perfectly, and when I redownload the html file from the website server back to my local computer the edit is showing!!
Any help would be greatly appreciated.
try a different ftp client and re-input your ftp credentials and double check that the directory paths are lined up.
FY - transmit and fetch have free trials.