Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Old 07-30-2005, 09:42 AM   #1 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 4,273
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
404 Redirect to Home page

How do I make it so instead of a 404, the home page comes up?
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-30-2005, 10:11 AM   #2 (permalink)
Senior Member
 
DaveyBoy's Avatar
 
Join Date: 10-13-03
Location: England.
Posts: 3,886
iTrader: 0 / 0%
Latest Blog:
None

DaveyBoy is a web professional of the highest orderDaveyBoy is a web professional of the highest orderDaveyBoy is a web professional of the highest orderDaveyBoy is a web professional of the highest orderDaveyBoy is a web professional of the highest orderDaveyBoy is a web professional of the highest orderDaveyBoy is a web professional of the highest orderDaveyBoy is a web professional of the highest orderDaveyBoy is a web professional of the highest orderDaveyBoy is a web professional of the highest orderDaveyBoy is a web professional of the highest order
I think if you make a file with this line at the top, and make ur 404's go to that file, it'll redirect to the home page. The number is the delay.

<meta http-equiv="Refresh" content="5; URL=www.domain.com">
DaveyBoy is offline  
Add Post to del.icio.us
Reply With Quote
Old 10-07-2008, 04:23 PM   #3 (permalink)
Junior Member
 
Join Date: 10-07-08
Posts: 1
iTrader: 0 / 0%
Latest Blog:
None

popac is liked by many
Quote:
Originally Posted by DaveyBoy View Post
I think if you make a file with this line at the top, and make ur 404's go to that file, it'll redirect to the home page. The number is the delay.

<meta http-equiv="Refresh" content="5; URL=www.domain.com">
ty, working great...
popac is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-30-2005, 03:13 PM   #4 (permalink)
Contributing Member
 
Join Date: 07-30-05
Posts: 247
iTrader: 0 / 0%
Latest Blog:
None

Radnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really nice
I think this will work for you!!!


htaccess


"...ErrorDocument 404 /errors/notfound.html
This would cause any error code resulting in 404 to be forward to yoursite.com/errors/notfound.html"

ErrorDocument 404 /index.htm
Radnor is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-30-2005, 04:08 PM   #5 (permalink)
No Longer Here
 
Join Date: 09-27-03
Location: State College, PA
Posts: 4,273
iTrader: 0 / 0%
Latest Blog:
None

Jazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebodyJazzee is liked by somebody
That's exactly what I was looking for. Thanks
Jazzee is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 6 (0 members and 6 guests)
 
Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the best 404 error or redirect page? THE X FILES Web Usability 24 08-06-2009 04:54 AM
Page Redirect Code Red devil SEO Forum 3 10-30-2007 07:20 AM
What is the difference between a home page and an inside page link? joew SEO Forum 6 07-11-2006 04:11 PM
Redirect page DOS Coding Forum 6 08-07-2004 01:20 PM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 12:29 AM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.