English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I use dreamweaver to make a site. I want to make it so that if someone types in a certain address they are automatically forwarded to another. How do I do this?

2007-12-23 01:51:28 · 4 answers · asked by stevenback0 2 in Computers & Internet Programming & Design

What I had was a splash page which was the first page people saw when going to the site. I removed the splash page and instead I want people to automatically go to a specific page within my site. So instead of having to change hundreds of links to work with the new home page, I just want people to automatically be redirected to the new home page without ever knowing they were.

2007-12-23 04:04:44 · update #1

4 answers

First, put the splash page back! That way, anyone who's still got the old page bookmarked or finds it in a cached search engine won't get a "404 - Page not found errors" when trying to get to your site.

Then, edit the HTML of the splash page - delete all the content in the BODY tag and edit the tag in the HEAD section to read:

content="0;url=http://newpage.com">

The "0" is how many seconds until the page refreshes and the url is what the address will be after the refresh. So, anyone who goes to the splash page will have it automatically replaced with the page you want them to be on.

If you want to take it a step further, you could even up the refresh time to 5 or 6 seconds and have a little message on the splash page saying that they are being automatically re-directed to the new url.

2007-12-23 05:29:23 · answer #1 · answered by Anonymous · 0 0

this is not something that's normally done within a site because if somebody wants to go to another site, they just type it in the browser address box.
So, can you explain a little more about what you want or give an example of it being done on the web?

2007-12-23 09:57:25 · answer #2 · answered by dubbarob 5 · 1 0

This can be done in JavaScript. 'Page1 being the page loaded, and Page2 being the page it was forwarded to.'

Source code for page 1:


that makes the browser automaticly forward the page on load.

2007-12-23 10:07:25 · answer #3 · answered by Jason 3 · 0 0

If you're talking about forwarding your domain name to another domain name, then all you need to do is log into your domain control panel and then forward it to the address that you would like it forwarded to.

2007-12-23 10:08:19 · answer #4 · answered by Jamie 7 · 0 0

fedest.com, questions and answers