Ask a Question related to Macromedia Dreamweaver, Design and Development.

  1. #1

    Default Bookmark Redirect


    I'm sure there are many ways to redirect a Web page. But what be the easiest and most efficient way to redirect a user who has an old web page bookmarked to a soon-to-be new web page that's placed in a different directory on the server. This goes for any page on the new website with old URLs.



    hicksjt webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Merging a PDF with bookmark as a child of a bookmark node
      I have already developed a plugin that merges several PDF's and generates bookmarks But there is one issue If a PDF already has bookmarks, I dont...
    2. redirect to guest if first redirect is doesnt work for a user
      Hi all, I was wondering if anyone could help me solve a problem Once a user hits a certain webpage ..I try to redirect them to another using...
    3. Help Please -Bookmark help - File Name= Bookmark
      Is there a way in Acrobat to import multiple .pdf files and have each files file name show up as a bookmark?
    4. Why can't I set a Bookmark
      I had the same problem using Acrobat 4.0, tried printing existing pdf file with Acrobat Distiller and it created new document without security...
    5. Redirect to New Browser Window like Response.Redirect
      That worked just fine for me as long as you put that open statement on one line rather than 2. "michel" <michely3k@yahoo.com> wrote in...
  3. #2

    Default Re: Bookmark Redirect

    "hicksjt" [email]webforumsuser@macromedia.com[/email] wrote:
    > I'm sure there are many ways to redirect a Web page. But what be the easiest and most efficient way to redirect a user who has an old web page bookmarked to a soon-to-be new web page that's placed in a different directory on the server. This goes for any page on the new website with old URLs.
    >
    >
    >
    Put this in the head section:
    <meta http-equiv="refresh"
    content="10;url=http://www.mysite.com/newpage.html">

    The "10" is the time in seconds vefore the page changes.

    Also, tell the user what will happen:

    "The page has been changed/moved/updated and you will be directed to the
    new page in a few seconds. If it doesn't work, click here and you'll be
    directed immediatelly"

    or something...

    --
    Dan Vendel - *GOF*
    [url]http://www.vendel.info[/url]
    Contact me directly by clicking here:
    [url]http://contact.vendel.info[/url]
    Formmail tutorial:
    [url]http://www.vendel.info/tut/formmail.html[/url]
    Nested table demonstration:
    [url]http://www.vendel.info/tabletut/[/url]

    Dan Vendel *GOF* Guest

  4. #3

    Default Re: Bookmark Redirect



    Thanks for you reply. I guess I'm having a hard time understanding but if users have their bookmarks setup to connect to:

    [url]www.mysite.com/services.html[/url]

    and I had a new directory structure that's setup to look like

    [url]www.mysite.com/services/services.html[/url]

    or something like that, would the meta tag still work? Becasue technically the tag is in the new HTML document while users have their bookmarks connected to the old web pages.





    hicksjt webforumsuser@macromedia.com Guest

  5. #4

    Default Re: Bookmark Redirect

    "hicksjt" [email]webforumsuser@macromedia.com[/email] wrote:
    >
    > Thanks for you reply. I guess I'm having a hard time understanding but if users have their bookmarks setup to connect to:
    >
    > [url]www.mysite.com/services.html[/url]
    >
    > and I had a new directory structure that's setup to look like
    >
    > [url]www.mysite.com/services/services.html[/url]
    >
    > or something like that, would the meta tag still work? Becasue technically the tag is in the new HTML document while users have their bookmarks connected to the old web pages.
    >
    No, you misunderstand (or I wasn't clear...)
    You *must* keep a page at [url]http://www.mysite.com/services.html[/url]
    In that page, you put the tag
    <meta http-equiv="refresh"
    content="10;url=http://www.mysite.com/services/services.html">
    plus the explanation so that the user knows what's about to happen, and
    that he should make a new bookmark, etc.
    OTH: If your host allows, you can have the server re-direct
    automatically. When someone tries to get the old URL, he'll just end up
    at the new, without that extra page. Check with your host if it's possible.

    --
    Dan Vendel - *GOF*
    [url]http://www.vendel.info[/url]
    Contact me directly by clicking here:
    [url]http://contact.vendel.info[/url]
    Formmail tutorial:
    [url]http://www.vendel.info/tut/formmail.html[/url]
    Nested table demonstration:
    [url]http://www.vendel.info/tabletut/[/url]

    Dan Vendel *GOF* Guest

  6. #5

    Cool Bookmark Redirect

    You can do what you want by using a redirect instruction in your .htaccess file. For example, to redirect all your pages to a single page that can then decide where to send the visitor, you have to create a .htaccess file like this:

    RewriteEngine on
    RewriteRule ^www.old_domain.com/(.+) http://www.new_domain.com/redirect.php?page=$1 [R=301,NC,L]

    This is the most general approach, in case the two sites have NOT the same structure, otherwise it is easier:

    RewriteEngine on
    RewriteRule ^www.old_domain.com/(.+) http://www.new_domain.com/$1 [R=301,NC,L]

    but in such a case you need to maintain the same structure.
    Dario de Judiicibus Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139