PDA

View Full Version : Working on a local site


kearnsy
02-23-2010, 09:20 AM
Morning fellow dreamweaverians

I have a query about adding links when you're working on a local site

If i have a link for example that says "contact us" as part of the text on the page, do i have to put the http://www.example.co.uk in the link field, or can i just drag the point to link and point to it on my hard drive.

The thing i'm not sure about is what will happen when i upload it to my server.

I understand that any external links like bbc.co.uk will have to point to the http address, but i'm just not sure about internal links that link to pages on my site.

thanks folks.

gentleone
02-23-2010, 12:23 PM
Morning fellow dreamweaverians

I have a query about adding links when you're working on a local site

If i have a link for example that says "contact us" as part of the text on the page, do i have to put the http://www.example.co.uk in the link field, or can i just drag the point to link and point to it on my hard drive.

The thing i'm not sure about is what will happen when i upload it to my server.

I understand that any external links like bbc.co.uk will have to point to the http address, but i'm just not sure about internal links that link to pages on my site.

thanks folks.


For internal links is for example contact.html enough.

DWcourse
02-23-2010, 02:03 PM
If you've defined your site correctly you can use the drag and point method to create you links. DW will "adjust" them to make sure they work when you preview. They'll work fine on your server.

kearnsy
02-23-2010, 02:10 PM
Thanks chaps, i wasn't sure if i'd need to put the full http address in when it was uploaded to the server.

The location the files are pointing to are all on my hard drive, so when i upload them, i was thinking will the server act like my hard drive and point to where the files are, or would it need the http address

kearnsy
02-23-2010, 02:12 PM
heh heh, i've just realised as well http://www.example.co.uk doesn't exist when you click on the link, might be a good name for a website.:mrgreen:

DWcourse
02-23-2010, 02:28 PM
As long as the links are in the format contact.html or /cntact.html and don't begin with file:/// you should be OK. Those that begin with file:/// actually do point to items on your hard drive and only your hard drive.