Ask a Question related to Macromedia Dreamweaver, Design and Development.
-
hicksjt webforumsuser@macromedia.com #1
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
-
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... -
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... -
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? -
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... -
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... -
Dan Vendel *GOF* #2
Re: Bookmark Redirect
"hicksjt" [email]webforumsuser@macromedia.com[/email] wrote:
Put this in the head section:> 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.
>
>
>
<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
-
hicksjt webforumsuser@macromedia.com #3
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
-
Dan Vendel *GOF* #4
Re: Bookmark Redirect
"hicksjt" [email]webforumsuser@macromedia.com[/email] wrote:
No, you misunderstand (or I wasn't clear...)>
> 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.
>
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
-
Dario de Judiicibus #5
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



Reply With Quote

