LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 05-13-2008, 12:52 PM   #1
Balarabay1
Member
 
Registered: Feb 2006
Location: Florida
Distribution: SUSE 11.0/x86 KDE
Posts: 334

Rep: Reputation: 30
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
 
Old 05-13-2008, 01:02 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Correct me if I didn't get you right..

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.
 
Old 05-13-2008, 01:13 PM   #3
Balarabay1
Member
 
Registered: Feb 2006
Location: Florida
Distribution: SUSE 11.0/x86 KDE
Posts: 334

Original Poster
Rep: Reputation: 30
Thanks for the fast reply

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?
 
Old 05-13-2008, 02:38 PM   #4
dtetech
LQ Newbie
 
Registered: May 2008
Posts: 7

Rep: Reputation: 0
link formatting

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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl problem building NVU Musikolo Linux - Software 4 11-26-2006 10:13 AM
Website built with NVU seems not be working in MS Windows Browser gamlebaron Programming 2 10-29-2006 04:06 AM
NVU liscence question? microsoft/linux General 6 03-17-2005 07:56 PM
Apache (website building) question WorldBuilder Linux - Software 2 09-15-2003 09:38 PM
Website building question (javascript) WorldBuilder General 3 08-10-2003 12:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration