Forum Moderators: mack
I am new here and am sure this has been asked before but I have searched teh FAQ and forum and haven't found an answer.
My question is does the format of the links on my page that link to other parts of my site matter? Currently they in the following format in the html code:
[example.co.uk...]
should they just be:
page1.htm
or does it not matter?
Many Thanks
Alex
Your first example is an absolute URL, the second one is relative URL.
Try a site search here for 'relative absolute urls' and you'll find plenty of related threads to read through.
hth
>> page1.htm <<
There are a couple of other forms, when folders are involved:
/folder/another/page.html
../../elsewhere/page.html
I like the first as it specifies the full path within the site.
I do not like the second. If a page is moved elsewhere, I get all confused as to where those links actually pointed, and how they need to be edited to remain correct. It is also easy to miss re-doing some.
All I use are absolute URL's because a website is never done!
As for your absolute URL, try using a keyword in the path or filename, too:
Instead of: [example.co.uk...]
Use this: [example.co.uk...]
Hope that helps!
WFN :)