A question for someone who really knows website building - NVU
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
A question for someone who really knows website building - NVU
I created my own website. My main page is called index.html. I created a few pages with links from the main page, such as, "videos.html/pics.html". In my web hosting account I have 13 files and NO directories. After I add my new "video.html/pics.html" pages to those files, when I click on my web page links, then same exact page shows when it loads. Why are my new pages not being brought up? I has to do with something about me not having any directories listed on my account. Please explain the purpose of the directory, how do I set up my files to be accessed when I call upon other pages. I thought if I just dumped all the files for my web page into my hosting account, that when I clicked on a link to bring up the next page on my site, it would see the file there and load it. Thanks
First of all it doesn't matter if you have directories or not - they just help you to organize things. If all files are in the same directory (root directory for example), you can refer to them just by their name. If they are in some subdirectories, you need to link to them using the directory_name/filename method, to tell that the file is in a subdirectory and not in the same directory than the file where you link from (i.e. if you don't specify a path, it is assumed that the file is in the same directory where the page is that contains the link).
Now if you upload a new file, overwriting an old one, it's done and you should be able to refresh the page and see the updated file. Though in some cases when you refresh you still see the old page - this can be because the browser has cached the older file, and to speed things up it doesn't actually reload the file but shows the page from cache. There can be other things that cause the old file to show up, but usually clearing browser cache helps.
Then if the file does not show up at all when you click your link, you have a problem in the link - either it points to a wrong file or nowhere at all. See that it contains the filename written correctly, and if the file is in some other directory than where the page is that has the link, specify the path to the file.
On my computer I have my html's stored in my /home/Doug/public_html folder. Permissions are set at 755. I have no problem publishing my html's with NVU via FTP. Every file that my website uses is stored on the web hosting service. When I enter my dot com address, the main page comes up. When I click on the word "Videos" on my webpage, I made a link to my dot com address/videos.html. I have a page saved on the server called videos.html, which is right next to index.html. How come it does not come up?
If you are linking the pages from your indx.html page try opening your index.html in IE/Firefox or whatever and then right click and view the source. Make sure you do not have your links pointing to "/home/Doug/public_html folder" as they were on your computer that you created them on. I have seen this hundreds of times with people that publish pages to my host that I run. If this is not the case, publish the link if you can and I will take a look at it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.