Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
Old 02-01-2009, 01:07 PM Error 404
Average Talker

Posts: 15
Trades: 0
Hi guys
I must insert in a html site a htaccess file that create a redirect 301 to
the site home page for every page that gives error 404 (Page not found), but
without affecting the single redirect 301 already present in the file
htaccess regarding other subpage moved and renamed in the past.

The purpose of all of this is not losing the google page rank that can be
passed trough every bad written back link .

What do I write in the htaccess file to do this? Do I have to write it
before or after the existing rules?

Usually I have only one or two error 404 for months to redirect: I wouldn't have to have a penalty for duplicate pages, isn't it?

Thank you

__________________
You have never see 18th gift ideas like these? (regalos empresas on espaņol)
ghisirds is offline
Reply With Quote
View Public Profile Visit ghisirds's homepage!
 
 
Register now for full access!
Old 02-01-2009, 01:08 PM Re: Error 404
Decaf's Avatar
Ultra Talker

Posts: 489
Name: Adam
Trades: 0
Code:
# ErrorDocument 404 404.php
ErrorDocument 404 {404 ERROR PAGE}
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Decaf is offline
Reply With Quote
View Public Profile Visit Decaf's homepage!
 
Old 02-01-2009, 01:12 PM Re: Error 404
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
The purpose of all of this is not losing the google page rank that can be
passed trough every bad written back link .
It is a BAD idea for this reason.

Create a REAL error page that helps users and SEs alike.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-01-2009, 02:31 PM Re: Error 404
Novice Talker

Posts: 9
Trades: 0
Why not just have a custom 404 page with all your menus/links. I would of thought you could only have a custom page and do a 301 with that anyway so it seems pointless. As the last poster said you want to inform you audience of the problem and your menu will let them go to the page they like.
__________________

Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE
marvio is offline
Reply With Quote
View Public Profile
 
Old 02-01-2009, 03:44 PM Re: Error 404
Decaf's Avatar
Ultra Talker

Posts: 489
Name: Adam
Trades: 0
Why not have a custom error page for each error.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Decaf is offline
Reply With Quote
View Public Profile Visit Decaf's homepage!
 
Old 02-02-2009, 06:39 PM Re: Error 404
Average Talker

Posts: 15
Trades: 0
Quote:
Originally Posted by Decaf View Post
Code:
# ErrorDocument 404 404.php
ErrorDocument 404 {404 ERROR PAGE}
ok, and thanks to all
bye
ghisirds is offline
Reply With Quote
View Public Profile Visit ghisirds's homepage!
 
Reply     « Reply to Error 404
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.25540 seconds with 12 queries