Just wondering what is the proper syntax for internal sub links for a website. Is it: 1) /directory/index.html 2) /directory/ What should I be doing with my sub directory index files? How should I be naming them when linking to them? Thanks for any help you can provide. I have a feeling I am doing it wrong, because my sub pages rank very poorly, while my main page does very well for my keywords. Brian
#2 is the proper option.. same goes for linking to your top level. always link to one version.. whether it be with the www or without and end it at the /. no need to add index.anything
Completely agree with RyanBlank. Having your links for subdirectories point to a specific page reduces your flexability to change the page type (e.g. index.php, index.htm, index.html, index.asp) later. As long as the server points to your specific filename when someone visits the subdirectory, you are great.
Always point to the directory, always make sure you always link to the page in the same way (ie, not / in some places and /index.pl in others).
Thanks everyone for the reply. That could be why some of my sub pages aren't ranking well? I have them linked to near the top of the page, and they get a zero google rank despite my top level page having a Google ranking of 6. Brian
Hey. I know I'll get murdered here on these forums for this, but I use Dreamweaver. Does anyone work with file names this way in DW? I've tried not using the file name, and just the directory for index files, and when I preview the page, it has no idea what I'm doing in DW? It can't find the file. Is there a setting for this so I can properly view things? Brian
It is the server software that looks for an index file in a directory when no index file has been specified. If you felt this is something you had to test you could install Apache on your computer, and test your pages, but I don't think this would be worth it for what you want to see. Best Regards, Steve MacLellan
Why would you get murdered for using DW? We all got here via our own paths and can't all be hand-coding gurus. My main site was and still is in FP. Geez, I wish I´d had my hands on DW when I started that baby. The nice thing about DP is that nobody looks down on you for what you don´t know.