| 10:18 am on Dec 22, 2005 (gmt 0)|
The find and replace function in dreamweaver is very powerful and can do site-wide find and replace.
If you want to replace a link to something.html to index.html you can do this easily.
Check you have selected the entire current loca site in the F&R dialogue box.
For more advanced search techniques using dreamweaver have a look at this thread that illustratea how to use regular expressions to enhance your F&R queries.
| 11:22 am on Dec 22, 2005 (gmt 0)|
A quick "cheat" which you can use is to change the filename of the file you want to find the links to in the Files window. You will then get a pop-up box which asks you if you want to change the filename in all the files that link to this file.
| 6:45 pm on Dec 22, 2005 (gmt 0)|
Thank you very much. But may be I was not clear in describing my problem. Don’t you know how to count the number of pages linking to the index-page of my site? And again how to make the phrase “Business Encyclopedia” linking to the index-page of my site? If I do it with “Find and replace” I should find Business Encyclopedia and replace it with <a href="index.htm"> Business Encyclopedia</a>. But, for example, on page with address “website-promotion/before-starting/first-steps.htm” after this replacing the phrase “Business Encyclopedia” will link to the page with address “website-promotion/before-starting/index.htm” (to the index-page of “before-starting” directory not to the index-page of my site”). Of course, for this page I can replace it with <a href="../../index.htm"> Business Encyclopedia</a>. But what about the others? The same manual work?
| 6:53 pm on Dec 22, 2005 (gmt 0)|
Why not go folder by folder rather than site-wide, and then while you're at it make the link relative to the root like /index.html so you won't have to go through it all again.
| 7:45 pm on Dec 22, 2005 (gmt 0)|
| 8:01 pm on Dec 22, 2005 (gmt 0)|
ectect is correct in that you should link via the site root and in this case "/index.htm" will always be right no matter which directory you are in. You could also link via the full site URL with the same results.
>>>Don’t you know how to count the number of pages linking to the index-page of my site?
Yes, I do, and the answer is what I wrote in the previous post.