homepage Welcome to WebmasterWorld Guest from 54.226.235.222
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
Using DW to find all pages that link to the index page
ArmanSuleimenov




msg:933516
 6:16 am on Dec 21, 2005 (gmt 0)

I want to find all the pages that have links to the index-page of my site. How can I do this in Macromedia Dreamweaver? “Find and Replace” option does not work because there are many directories in my site, which have their “index.html’ too. Therefore in the html-code I can’t change, for example, “../../../something.html” into “../../../index.htm”.
Or how can I do the phrase “Business Encyclopedia” linking to “index.html” of my site’s root directory? Also without not effective “Find and Replace” option.
Or may be you know some other software, except Dreamweaver, that can do what I said above. Please, advise me what to do.

 

limbo




msg:933517
 10:18 am on Dec 22, 2005 (gmt 0)

Arman

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.

[webmasterworld.com...]

stever




msg:933518
 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.

ArmanSuleimenov




msg:933519
 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?

ectect




msg:933520
 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.

jessejump




msg:933521
 7:45 pm on Dec 22, 2005 (gmt 0)

Site map

stever




msg:933522
 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved