Skip navigation
Currently Being Moderated

Does Dreamweaver enable us to change a link's destination from throughout an ENTIRE cluster ofPages?

Oct 29, 2010 5:09 PM

I have a link to an external site located throughout an entire cluster of pages within my website.   Is there a Dreamweaver CS5 command that would enable me to modify that link as it appears throughout the entire cluster of pages, simultaneously?    That sure would save me considerable time if it can be done without my having to make the change manually and individually, on a page-by-page basis.   Maybe something such as this command exists, perhaps?

 

"Change all occurrences of the following address from ___  to ____ throughout the entire site"

 

Any suggestions, please?

 
Replies
  • Currently Being Moderated
    Oct 29, 2010 5:09 PM   in reply to DreamWeaverBeliever

    Use Find/Replace. It's a good idea to use server side includes whenever possible to manage elements common to many pages.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 30, 2010 8:11 AM   in reply to DreamWeaverBeliever

    Dreamweaver allows for three different methods of doing this.

     

    As suggested, one may use server-side code to call a text page that you just change in one place.

     

    Also, as suggested, one may use Dreamweaver's Find and Replace tool to replace all instances of a particular link. If you are looking to do this in source code, you have to be very careful about how you specify what to search for and exactly what you wish the replacement code to be.

     

    Last, I have started using templates for stuff that has reoccurring information throughout a website. Things like navigation, footers, headers and so on are very useful for automating a change in reoccurring content. Where you have a page link that changes in navigation, if you have a template that handles that in all pages, you change it once and Dreamweaver will ask you if you want to update all files based on that template. Answer "Yes," and all page changes will be made.

     

    Pages may be linked to only one template and one should never nest templates.

     

    So, to fully answer your question, yes. There are three methods at your disposal.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 14, 2013 3:59 PM   in reply to DreamWeaverBeliever

    Are you maintaining synchronization information in your remote site definition?

    See screenshot:

    DW-CS6-Synchronization.jpg

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 14, 2013 4:29 PM   in reply to DreamWeaverBeliever

    Are you using Find & Replace on souce code in your entire Local Site?

     

     

    Nancy O.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points