Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 02-21-2009, 04:26 PM   #1
HyperActive Warrior
 
Join Date: Sep 2008
Posts: 237
Thanks: 9
Thanked 3 Times in 3 Posts
Default 404 Redirect Help

Web Design Noob In The House!

What's the HTML to redirect a page to a different page?

Thanks.
simmonsmike7 is offline   Reply With Quote
Old 02-21-2009, 04:29 PM   #2
Wordpress Magician
War Room Member
 
seree's Avatar
 
Join Date: May 2008
Location: Bangkok, Thailand.
Posts: 637
Thanks: 13
Thanked 15 Times in 8 Posts
Social Networking View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via MSN to seree Send a message via Yahoo to seree Send a message via Skype™ to seree
Default Re: 404 Redirect Help

Quote:
Originally Posted by simmonsmike7 View Post
Web Design Noob In The House!

What's the HTML to redirect a page to a different page?

Thanks.
Just put this code within the <HEAD> section.

Code:
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.yourdomain.com/index.html">

seree is online now   Reply With Quote
Old 02-21-2009, 07:20 PM   #3
DIY Internet Marketing
War Room Member
 
Quentin's Avatar
 
Join Date: Jul 2002
Location: Brisbane
Posts: 4,917
Blog Entries: 10
Thanks: 7
Thanked 990 Times in 449 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to Quentin
Default Re: 404 Redirect Help

A 404 page is actually a marketing opportunity which many marketers overlook.

A person reaches a 404 page either because they entered a wrong page url or in the case of a membership site are not registered.

Your 404 page can therefore be a tool to make the offer again or provide helpful information to keep them on your site.

If you go to The Internet Marketers Club and try to click on one of the links you will see my 404 page which reinforces the sign up process.

Here are a whole bunch of very interesting 404 pages from different sites to give you and idea of what can be done.

404 Error Pages: Reloaded | Design Showcase | Smashing Magazine



Quentin


Last edited by Quentin; 02-21-2009 at 07:26 PM. Reason: bad link
Quentin is online now   Reply With Quote
Old 02-22-2009, 06:36 AM   #4
xga
Active Warrior
 
Join Date: Aug 2007
Location: , , .
Posts: 54
Thanks: 0
Thanked 10 Times in 3 Posts
Default Re: 404 Redirect Help

If you are using apache server, you can add the following to the .htaccess file:

ErrorDocument 404 /missing.html

So when someone visit your website through an invalid URL, he will be redirected to missing.html (or any file that you specify on that line).

Normally 404 redirect is done at web server level (using mod_rewrite or ErrorDocument) instead of html level. This is because 404 means that the web server cannot find the suitable html file in the first place, so any html redirect won't get chance to work.
xga is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum

Tags
404, redirect

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 07:02 AM.