itssami
Jan 5 2006, 08:30 AM
| | Hello.. I have made a website,suppose it has 20 pages and it is linked to pages.It is saved on my computer.Im confused about hyperlinks.I mean how i should create them , when i will upload that site. For example. n index page I have 2 pages links, page 1 and page 2....On computer , they will be linked like C:\page1.htm and C:\page2.htm , but when i will upload them their links will be something like http://mysite.com/page1.htm and http://mysite.com/page2.htm , okay , if the pages are very few then i can give think that its http adress will be like that and can give it already to the index file on my computer but if i have many pages then it will be hard for me to think which are the http adress of them when i will upload them , so how i can manage this and how i should give hyperlinks to pages .Please let me know about this problem.Thanks. |
Comment/Reply (w/o sign-up)
mayank
Jan 5 2006, 11:07 AM
Ok for this I'll suggest you to use the hyperlinks like this : Lets say you've made a folder in c: drive as website. Now, if you are storing your index.htm in that (c:\website\index.htm) and you've another page "page1.htm" which is stored in another child folder "pages" of "website" folder (c:\website\pages\page1.htm) And now you want to link page1 to index then in the html file use the link as HTML <a href="pages/page1.htm">click here to go to page 1.</a> I hope this clears up things!
Comment/Reply (w/o sign-up)
Avalon
Jan 5 2006, 11:12 AM
This is something that seems to confuse a lot of people new to web design. The easiest way to sort out your linked pages is to use 'relative' links. A 'relative' means the link assumes the page being linked to is in the same folder as the page with the link. To do his keep all your pages in one folder, usually your 'root' folder often called 'public_html' on the web server. It also good practice to keep all your images for your pages in a separate folder called 'images' which is inside your 'public_html' folder. To link to a page in the same folder as the one with the link, you do not need to prefix the page name with 'www.yoursite.com', all you need is the page name like this... CODE <a href="page2.htm">Page 2</a> To use relative links for images you can do it in a similar manner, just prefix the image name with the folder name like this... CODE <img src="images/image1.gif"> If you make the same folder structure on your hard drive as on the web server, the site will work exactly the same on your hard drive and the web server. Relative links will work for pages in all folders provided you prefix the image or page name with the relevant folder name where necessary. [edit] mayank posted his message as I was writing this one, we are both saying the same thing, I have just given more explanation.
Comment/Reply (w/o sign-up)
jlhaslip
Jan 5 2006, 04:47 PM
Itsammi, Avalon, and Mayank: Here is a fairly complete guide to Linking on your website. It is nicely written and easily understood. linking htmlThe only thing it doesn't explain are 'server absolute links' which is a whole other topic for discussion. Since they are available only on the Apache servers like the one here at the Trap, I don't suggest using server absolute links since your site may someday be on another server. CODE http://archive.ncsa.uiuc.edu/General/Internet/WWW/HTMLPrimerP2.html#LI2
This is the link that I have placed above. It is called an 'absolute' link because it references an html document directly (absolutely) by indicating the server address (http://archive.ncsa.uiuc.edu), the specific folder and the chain of folders (/General/Internet/WWW/), a particular file (HTMLPrimerP2.html), and a 'named anchor' within that file (#LI2). I only use absolute links to pages outside of the web site that I am working on. Inside the web site, relative links are recommended. That way, the file structure stays constant whether it is on the server or on the 'local host'. Relative links are also described in the document. They are indicated without the 'http' part and are 'relative' to the calling file's address. As Avalon pointed out above, it is typical to have the Images in their own folder at the root level and his info is perfectly fine. I just wanted to add that in a more complex file/folder structure, there is way to navigate the structure using 'parent folder' notation by including "../" or "./"'s in front of the file names to navigate around the site, but that might be a bit much for now.
Comment/Reply (w/o sign-up)
Similar Topics
Keywords : give, hyperlinks, site, upload
- I Can't Access My Site
(7)
Image Upload To Cutenews
....doesn't work (2) When I try to upload an image to Cutenews via the program's "insert image" option, I get the
following error message: CODE Couldn't copy image to server Check if file_uploads is
allowed in the php.ini file of your server In the past, I've always been able to upload
images to Cutenews. I assume that file uploads are allowed in the php.ini server, since they always
were before. What's going on here and how do I fix it?....
Cannot Open My Site
(12) Hi everyone. Sometimes, I cannot connect with my site, neither ftp, ping, etc. This happens
everyday, and sometimes, as a miracle, doesn't happen. This also happens with a friend of mine
with the same ISP. I contacted my ISP, and they told me that there must be a prob with the server,
not the ISP itself. Do you have any ideas? Thanks in advance, Alex btw, proxy browsing sucks!
/blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" />....
I Can't Seem To Access My Site.
(8) I try to go to my hosted site http://saitunes.trap17.com and it just thinks, then it says the
operation timed out. Can anyone else access my site?....
My Site Is Crippled.
I can't access anything (10) Hey guys please help. I haven't been able to access my cPanel for a long time now. I think the
problem started when most members had those password problems. I think that's when I made too
many unsuccessful login attempts. Now I can't access my cPanel and any site hosted here. Someone
told me my IP is blocked but I don't know who to tell to have the problem resolved.
BuffaloHelp(sorry if it wasn't u Buff) stated in one post that he could reset password if nayone
would write a post with the line "Please reset my password". I did that but still there is....
My Site Is Down :(
(11) QUOTE http://frover.trap17.com/qyfyre.com it has been down since yesterday /sad.gif"
style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" />....
Cms/upload Best Practice?
New to using content management, seeking advice. (12) Other than my aborted attempt at setting up a site on my previous free web host, this will be the
first time that I have set up a dynamic website with an SQL back end. I came from the Internet
stone-age of static sites with lots of graphics and text, but little or no interactivity. I would
really appreciate some advice on how best to do this. I have selected the free Content Management
System called Lanius CMS , which is made by the makers of the more well-known package called Drake
CMS. Also, at the advice of many of the denizens of the Trap17 forums, I have downloade....
Wallpaper Site
(4) Hello I hope this is the right place for this thread . I want to thank to Trap17 for their
wonderful hosting service and because I have no problems related to hosting . I have a wallpaper
site based on 4images gallery system . But my images have high resoultions (1600*1200 ) and when
someone enters a wallpaper page , 4images displays the full size image and that too big for a page
. Is there any way to display a small image in the wallpaper page and a big image when someone
clicks download ? Or could you recommend me a better software ? Thanks in advance .....
Hosting Problem [resolved]
403 Forbidden Error occurs whenever I try to access my site (23) First off, let me say that I have spent considerable effort and time going through the forums
seeking solutions for this problem. I have even gone as far as to seek help from the Xisto Live
support team (they suggested I wait 2 hours and then get back to them. Well I did that, and there
has been no change, and live support is now down). I've also tried changing permissions on both
files and folders via Cpanel, but to no avail. I still end up with the same error: QUOTE
Forbidden You don't have permission to access /index.php on this server. Additionally, a 4....
Can't Login To Any Software On My Site
anyone know how to fix? (3) In a subdomain of my site I have an installation of MediaWiki, and until now it's been working
fine. But today I've been having trouble with it. Previously, whenever I logged into MediaWiki
it worked first time and I would stay logged in for about an hour, even without the "Remember Me"
option checked. But I tried logging in now, and after logging me in, the next page I went to showed
me as "not logged in". I cleared the cache as I know this has been a problem before, and then tried
logging in again, but it still said I was not logged in! So I tried one more time....
I Need Help With Setting Up My Site, Made Using Java
any help would be appreciated (5) I just got web hosting approved and I want to host the site I created using Struts framework.
I'm a complete newb when it comes to web hosting, so I need a little help. Is there a tutorial
that covers this subject? I apologize in advance if this question was already answered, but
I've been unable to find the answer anywhere. One thing I have to note is that I need to know
absolute address of the uploaded files in order for my application to work. Is this even allowed?
Any help with hosting of Java applications will be appreciated.....
No Site Access
(4) It was working the day before yesterday and then it started giving me error messages about not being
able to access the site. I can't access cpanel either. Neither page ever loads. I don't
have this problem with any other internet pages, just my site stuff on Trap17. My site's at
www.jzambrano.trap17.com btw. This is one of the few times I'll need it up for sure so I'd
appreciate if the issue can get fixed in the near future. ....
Can't Access My Site An Cpanel
already did some sugested things (6) I still can't get to my website and cpanel, Tings I did: requested xisto to unblock my ip
cleaned my cache/cookies Did this with both IE and FF When I am @ my dads house he can acces my
website. So I guess it is still an ip problem. I did read some posts but couldn't find a
solution. Thx in advance,....
Can't Access My Site....weird Issue
(5) Okay, so last night everything worked fine. I loaded up cpanel, fixed issues with the site after the
database move, etc. Today I'm unable to load up the site. It just keeps giving me ping
timeouts. With what I'm being told by others it is only me having this issue with my site, and
yet there have been 0 changes to my pc between it working and not. I have tried multiple times
during the day with no luck. Along with this, if I load my website using a proxy service then I do
not have any issues. The only time it will not allow me to access it is if I am "using" my....
Increase Upload Limit
(5) I had this setting done before, but I replaced the file and need to know how to do it again. That
is, increasing the max upload limit. It currently is set to 2mb(on my forum for uploading), and I
would like to increase it. I think that the limit is software related and not host related. How
would I go about setting up a limit greater than 2mb? Thanks in advance.....
Reset My Site Pelase
read for more info (6) Can you just reset my cpanel / website FTP and all to how it was when I got it new please? Don't
change any passwords, just make it so it's like brand new again. thanks --why? because I have
some files in public_HTML that I am trying to delete even after I give it 777 it says permission
denied so please reset /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
alt="smile.gif" />....
Site Help [resolved]
Showing good on one site but but here on trap17 (6) Okay here is the problem. My site www.echo-of-thunder.trap17.com is not showing any graphics,
Background header logo nothing. Uploaded them all. now here is the kicker to this. it all shows just
like it it is supposed to show up on my old host What am I doing wrong here.....
My Site Fails To Load
My site always times out, and fails to load (16) Hey all... Whe I try to access my site, it always times out, when I try to ping, it does the
same... DNS records are accessible, and I get all my emails for the domain (todorowww.net)... I am
hosted on Gamma server, and I can access it, and get that cPanel page... But, when I try my site, it
won't load... Is there some problem with the server or something? FTP doesn't work either...
This is the case for a few days now, at first I thought it was just a temporary error, but it
appears not to be... I have avout 20 credits left, so that shouldn't be the issue.......
How To Publish My Site Through Expression Web
i don't know how anyone could help me (4) i'm using expression web and i like to publish my site directly here problem is i don't know
how can anyone help me....
Where Do I Upload My Ftp Files? [resolved]
As in, which directory? (2) I recently got approved for hosting. I have an account right now, but I don't know which
directory to post my FTP stuff in. (I don't know if this is in support or not; the search
results didn't return anything.) I remember with my last host that had CPanel that you had to
upload it into the "public_html" folder. So I do that, or do I just upload it into the root
directory? Thanks in advance! (EDIT: Oh, never mind, it is /public_html.)....
Transferring Files From One Host To Another
Take my site to trap17 (9) As I said, I had to move my web site away from Trap17 temporarily because I had ran out of disk
space. Now, when my upgrade is finalised, I would like to ask for a little assistance. The provider
I will be moving my site from, back to Trap17 also uses Cpanel, and the admin let me know to do a
backup and that backup could be simply transferred via FTP to my new provider. The backup includes
all my files and MySQL data, in other words, the whole web site. It is in a .tar.gz format. How do I
get all this across? Do I 'unzip' the file and then transfer them bit by bi....
Site Taking Too Long To Respond
Message from Firefox (14) "Site Taking Too Long To Respond" issue has been resolved and It is caused when the service Apache
on server is not responding to your queries due to reboot / maintenance. To solve this, Contact Web
Hosting Support @ http://www.xistosupport.com/billing/ At ComputingHost, this issue should not
persist more than 2-5 min. 1. ComputingHost (web host sponsoring this site) uses Advanced ROUND
ROBIN DNS (managed DNS solution) 2. Network is Powered by XO Communications and they employ Branded
Server Hardware for tension free uptime! Package Details ComputingHost: Logic XTREM....
How To Upload Zip Files?
(6) Hello.. I want to upload MSN emoticons packs on my site.they are in zip file... I want to upload
that zip file , ,and i made an index page and made the gif file of the emoticon pack and then i put
hyperlink of that gif file to zip file , but when i uploaded the site , and it doesnt work , when i
click on the gif image , instead of the zip file start to download , i get this page
website.com/emoticons.zip/ Index of /emoticons.zip Name Last modified
Size Description -------------------------------------------------------------------------------....
Upload Component - Failed
Problem with Mambo (6) Hello! When I am trying to upload a component in joomla (I upgraded from mambo, I had the same
problem on mambo), it dont work, i get this error message: ! Upload component - Failed" "File
/home/esector/public_html/Gamesector/media/install_4381d76108f20/com_forum.zip does not exist! "
How can I fix it?....
403 Forbidden Error When Accessing My Site
(12) umm this is a problem that i have been looking in other topics to try to fix but i can't seem to
find a answer to what i lookin for. I got my site workin again the other day ok and so i went on to
see it (so i can make more changes) and when i got there i got this QUOTE Forbidden You
don't have permission to access / on this server. Additionally, a 403 Forbidden error was
encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.33 Server at
www.clansga.trap17.com Port 80 now i looked at everything and i can't seem to find t....
Mysql Database Setup : Setting Up Mysql Database
Guide to use MySQL database in your site (7) A SMALL INTRODUCTION TO DATABASE ============================= I have seen that many members have
problems with Database. Here is a small INFO which should give you the IDEA. mySQL is a DATABASE
server. You can access it using the link in Cpanel. Cpanel can be accessed by
"www.YOUR-SITE.com/Cpanel" There you have 4 Main Options :- 1> CREATE A DATABASE 2> CREATE A USER
3> ADD USER TO DATABASE 4> PHPMYADMIN CREATE : IT ALLOWS YOU TO CREATE A DATABASE CREATE USER
: IT ALLOWS YOU TO CREATE A USER. USING THIS, YOU CAN ACCESS THE DATABASE. A DATABASE CANNOT BE....
School Blocks Out My Site.
(19) deleted....
If I upload some pics,Doz the Trap17 would mind?
(3) Hi,trap17, 1st of all ,thank you for your hosting ,i,m enjoying it very happily.you are the best on
internet. Currently i have built some forums on internet,& also i have one on trap17.While i wanna
upload some pics,(it,s very small) used for my other forums on internet,it,s important to me. it ,s
are just some icons & smiles. Would you mind of that,if you do,I won,t used the pics on your
hosting to another one. Thank you Admin. /smile.gif" style="vertical-align:middle" emoid=":)"
border="0" alt="smile.gif" /> /laugh.gif" style="vertical-align:middle" emoid=":lol:" b....
My Site Was Hacked Once Already.
(24) what can i do to keep it fro getting hacked agai?....
Help!!
Help me on my site.... (8) Sorry, I may seem like a total geek, but where should I upload my index page, and what should it be
named, and are page names case-sensitive? Thank you very much.....
Looking for give, hyperlinks, site, upload
|
Searching Video's for give, hyperlinks, site, upload
See Also,
|
advertisement
|
|