Forum Moderators: open

Message Too Old, No Replies

Dreamweaver and links

How to miss off the index.html?

         

DerekH

11:53 am on Apr 24, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm going to show my ignorance here...

I can quite see why it's good sense to miss off the final index.html in a link from one HTML page to the index page in a folder - it makes the link technology-independent, and also removes a bit of bloat.

How do I do this in Dreamweaver MX Mac - it *insists* I point to the index.html file when I try to make the link.
Do I have to take them all off by hand, or is there a subtle way I've missed?

DerekH

Nefig

2:29 am on Apr 26, 2005 (gmt 0)

10+ Year Member



I work with Dreamweaver a lot, and I'm addicted to it's Find and Replace feature, I'd stick to it in your case - it works really good and it'll be much faster to remove all /index.html links at once after you're done with your work. Couldn't google the solution myself.

I understand though that the problem is that you must link to 'something' - may be I'd create some "file marker" and link to it each time, and delete all links to it after. Another solution is typing all links manually in Properties panel, but that's not very wise, is it :)

stever

8:26 am on Apr 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Can't you link to the folder on a Mac?

Just drag the target thingie to the folder - works for me on PC.

As a general comment, feeling comfortable with Find-and-Replace is important for anyone who uses DW regularly. Anyone who doesn't understand it should take the time to play with the features.

DerekH

3:44 pm on Apr 27, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The thingie?
Never used it.
Till now.
Thanks, Stever, that does exactly it!

Why couldn't I find that written anywhere <grrrr>
Regards

DerekH

1:00 pm on May 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ah - that doesn't *quite* do it...

If I have a template, and inside it I make a link using the Point To File, so that the link reads
abc/def/

Then when I apply the template to a page, the link in the page becomes
abc/def

And then when I upload that page and serve it, clicking on the link causes my server to redirect /def to /def/ - wasted efforts and a slower response...

So I'm no nearer solving this one yet!
DerekH