12 Replies Latest reply: Dec 13, 2008 2:19 PM by Newsgroup_User RSS

    link update

    Chrsitian Community Member
      My links are not updating.

      I have checked the "Update Links when moving files" as "Always"

      I just moved some files into a new folder, and they did not update.

      Dreamweaver CS4 -Windows Vista.

      I really would appreciate some help/assistance on this. Many thanks!
        • 1. Re: link update
          Newsgroup_User Community Member
          Are you moving the files from inside the dw Files Panel?

          Are they "regular" plain html links?

          --
          Alan
          Adobe Community Expert, dreamweaver

          http://www.adobe.com/communities/experts/



          • 2. Re: link update
            Newsgroup_User Community Member
            Alan posted in macromedia.dreamweaver

            > Are you moving the files from inside the dw Files Panel?
            >
            > Are they "regular" plain html links?

            And does it help to recreate the site cache before moving them (in the
            DW files panel)?

            Site->Advanced->Recreate Site Cache


            --
            Mark A. Boyd
            Keep-On-Learnin' :)
            • 3. Re: link update
              Chrsitian Community Member
              Hi Alan - sorry, I should have mentioned that - yes I am moving them within the dw files panel, however, I did not create a site cache as Mark mentions above.

              Thanks!!!!! - christian
              • 4. Re: link update
                Newsgroup_User Community Member
                > I did not create a site cache

                DW does this automatically. If you move files within DW's Files panel, all
                'discoverable' links will be automatically managed. What is NOT a
                discoverable link? One that is embedded in javascript would be a good
                example, e.g.,

                <script type="text/javascript">document.write('<a href="foo.html">FOO</' +
                'a>')</script>

                Let's see your code please.

                --
                Murray --- ICQ 71997575
                Adobe Community Expert
                (If you *MUST* email me, don't LAUGH when you do so!)
                ==================
                http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                ==================


                "Chrsitian" <webforumsuser@macromedia.com> wrote in message
                news:ghusvm$35d$1@forums.macromedia.com...
                > Hi Alan - sorry, I should have mentioned that - yes I am moving them
                > within the dw files panel, however, I did not create a site cache as Mark
                > mentions above.
                >
                > Thanks!!!!! - christian

                • 5. Re: link update
                  Newsgroup_User Community Member
                  Murray *ACE* posted in macromedia.dreamweaver

                  >> I did not create a site cache
                  >
                  > DW does this automatically. If you move files within DW's Files
                  > panel, all 'discoverable' links will be automatically managed.

                  Yep. However, if one uses an external file manager to add/delete/move
                  files, it is a good idea to recreate the cache before hand. This may
                  not be necessary if DW was not open while doing that, but I'm not sure.

                  > What is NOT a discoverable link? One that is embedded in
                  > javascript would be a good example, e.g.,
                  >
                  > <script type="text/javascript">document.write('<a
                  > href="foo.html">FOO</' + 'a>')</script>

                  And probably true for links in Flash files, too.


                  --
                  Mark A. Boyd
                  Keep-On-Learnin' :)
                  • 6. Re: link update
                    Newsgroup_User Community Member
                    > Yep. However, if one uses an external file manager to add/delete/move
                    > files

                    But one should never do this. All of your links are broken anyhow, what
                    difference will it make if the site cache is refreshed for a site that is
                    completely broken now?

                    > And probably true for links in Flash files, too.

                    Maybe.

                    --
                    Murray --- ICQ 71997575
                    Adobe Community Expert
                    (If you *MUST* email me, don't LAUGH when you do so!)
                    ==================
                    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                    ==================


                    "Mark A. Boyd" <lingoboyd@mboydDotcom.invalid> wrote in message
                    news:Xns9B737AA39EB6mblistssanDotrrcom@216.104.212.96...
                    > Murray *ACE* posted in macromedia.dreamweaver
                    >
                    >>> I did not create a site cache
                    >>
                    >> DW does this automatically. If you move files within DW's Files
                    >> panel, all 'discoverable' links will be automatically managed.
                    >

                    > Yep. However, if one uses an external file manager to add/delete/move
                    > files, it is a good idea to recreate the cache before hand. This may
                    > not be necessary if DW was not open while doing that, but I'm not sure.
                    >
                    >> What is NOT a discoverable link? One that is embedded in
                    >> javascript would be a good example, e.g.,
                    >>
                    >> <script type="text/javascript">document.write('<a
                    >> href="foo.html">FOO</' + 'a>')</script>
                    >
                    > And probably true for links in Flash files, too.
                    >
                    >
                    > --
                    > Mark A. Boyd
                    > Keep-On-Learnin' :)

                    • 7. Re: link update
                      Newsgroup_User Community Member
                      Murray *ACE* posted in macromedia.dreamweaver

                      >> Yep. However, if one uses an external file manager to
                      >> add/delete/move files
                      >
                      > But one should never do this. All of your links are broken
                      > anyhow, what difference will it make if the site cache is
                      > refreshed for a site that is completely broken now?

                      In general, I agree. DW's site management is quite remarkable and one
                      of the main reasons I use it. I have been known to add files externally
                      and to delete/move files that I'm certain are "orphans".

                      I do seem to recall DW sometimes asking me if I want to rebuild the
                      site cache when opening a site, though. Probably for just such a
                      situation. I always choose yes, but others might not.

                      I mention it just as a precaution and with the suspicion that it might
                      be the cure in Christian's situation.


                      --
                      Mark A. Boyd
                      Keep-On-Learnin' :)
                      • 8. Re: link update
                        Newsgroup_User Community Member
                        My point is this. If you move a file in a DW site using
                        Explorer/Finder/anything other than DW, then any links to that file are
                        broken. There is no way to repair them without just physically remaking the
                        link. Having done that move, you have irreversibly broken the site - who
                        cares at that point if the site cache is correct?

                        Now - if you really know what you are doing, you can add/remove files, but I
                        can see no reason to move them.

                        --
                        Murray --- ICQ 71997575
                        Adobe Community Expert
                        (If you *MUST* email me, don't LAUGH when you do so!)
                        ==================
                        http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                        http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                        ==================


                        "Mark A. Boyd" <lingoboyd@mboydDotcom.invalid> wrote in message
                        news:Xns9B73806073485mblistssanDotrrcom@216.104.212.96...
                        > Murray *ACE* posted in macromedia.dreamweaver
                        >
                        >>> Yep. However, if one uses an external file manager to
                        >>> add/delete/move files
                        >>
                        >> But one should never do this. All of your links are broken
                        >> anyhow, what difference will it make if the site cache is
                        >> refreshed for a site that is completely broken now?
                        >
                        > In general, I agree. DW's site management is quite remarkable and one
                        > of the main reasons I use it. I have been known to add files externally
                        > and to delete/move files that I'm certain are "orphans".
                        >
                        > I do seem to recall DW sometimes asking me if I want to rebuild the
                        > site cache when opening a site, though. Probably for just such a
                        > situation. I always choose yes, but others might not.
                        >
                        > I mention it just as a precaution and with the suspicion that it might
                        > be the cure in Christian's situation.
                        >
                        >
                        > --
                        > Mark A. Boyd
                        > Keep-On-Learnin' :)

                        • 9. Re: link update
                          Newsgroup_User Community Member
                          Mark A. Boyd posted in macromedia.dreamweaver

                          > Murray *ACE* posted in macromedia.dreamweaver
                          >
                          >>> Yep. However, if one uses an external file manager to
                          >>> add/delete/move files
                          >>
                          >> But one should never do this. All of your links are broken
                          >> anyhow, what difference will it make if the site cache is
                          >> refreshed for a site that is completely broken now?
                          >
                          > In general, I agree. DW's site management is quite remarkable and
                          > one of the main reasons I use it. I have been known to add files
                          > externally and to delete/move files that I'm certain are
                          > "orphans".

                          Oh! And I also tend to use a text/programming editor at least as often,
                          if not more often, as DW to edit files. DW would definitely need to
                          recreate the site cache in this case.

                          > I do seem to recall DW sometimes asking me if I want to rebuild
                          > the site cache when opening a site, though. Probably for just such
                          > a situation. I always choose yes, but others might not.
                          >
                          > I mention it just as a precaution and with the suspicion that it
                          > might be the cure in Christian's situation.



                          --
                          Mark A. Boyd
                          Keep-On-Learnin' :)
                          • 10. Re: link update
                            Newsgroup_User Community Member
                            Murray *ACE* posted in macromedia.dreamweaver

                            > My point is this. If you move a file in a DW site using
                            > Explorer/Finder/anything other than DW, then any links to that
                            > file are broken. There is no way to repair them without just
                            > physically remaking the link. Having done that move, you have
                            > irreversibly broken the site - who cares at that point if the site
                            > cache is correct?
                            >
                            > Now - if you really know what you are doing, you can add/remove
                            > files, but I can see no reason to move them.

                            Correct omundo. [SP?] Can't disagree with any of the above.

                            Site management is one of DW's powerful strengths.


                            --
                            Mark A. Boyd
                            Keep-On-Learnin' :)
                            • 11. Re: link update
                              Chrsitian Community Member
                              Thanks so much for all the discussion above. I will be 'out of touch' till the end of next week, and won't be able to try/respond to all the helpful info received above.

                              I MIGHT have been asking the wrong question.

                              First of all, everything I have done, was within DW CS4. When I said links, I also meant jpg's that I placed within each file/page, and which are all filed in an 'image' file in the site associated with these web pages.

                              I assumed, perhaps incorrectly, that when I moved files within a site all this would be updated??????

                              Again, many thanks - christian

                              • 12. Re: link update
                                Newsgroup_User Community Member
                                > I assumed, perhaps incorrectly, that when I moved files within a site all
                                > this
                                > would be updated??????

                                If you move using DW's Files panel, your assumption is correct, with the
                                exception of links within javascript and possibly within Flash.

                                --
                                Murray --- ICQ 71997575
                                Adobe Community Expert
                                (If you *MUST* email me, don't LAUGH when you do so!)
                                ==================
                                http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
                                http://www.dwfaq.com - DW FAQs, Tutorials & Resources
                                ==================


                                "Chrsitian" <webforumsuser@macromedia.com> wrote in message
                                news:gi1c94$69b$1@forums.macromedia.com...
                                > Thanks so much for all the discussion above. I will be 'out of touch'
                                > till the
                                > end of next week, and won't be able to try/respond to all the helpful info
                                > received above.
                                >
                                > I MIGHT have been asking the wrong question.
                                >
                                > First of all, everything I have done, was within DW CS4. When I said
                                > links, I
                                > also meant jpg's that I placed within each file/page, and which are all
                                > filed
                                > in an 'image' file in the site associated with these web pages.
                                >
                                > I assumed, perhaps incorrectly, that when I moved files within a site all
                                > this
                                > would be updated??????
                                >
                                > Again, many thanks - christian
                                >
                                >
                                >