Black Hat Forum
Go Back   Black Hat Forum > Black Hat SEO Forum > Black Hat SEO

Black Hat SEO Black Hat Search Engine Optimization. Discuss ways to improve your sites ways using Black Hat SEO tactics!

Search
 
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-12-2008, 12:05 AM
loclhero's Avatar
Executive VIP
 
Join Date: Jun 2007
Posts: 547
Thanks: 12
Thanked 12 Times in 11 Posts
Activity: 26%
Longevity: 47%
Today: 3/5
Default 404 Redirect??

I know how to make a 404 page but isn't there a way in cpanel I can simply redirect any 404 to an aff offer?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-12-2008, 12:18 AM
Newbie
 
Join Date: Oct 2007
Posts: 36
Thanks: 0
Thanked 8 Times in 3 Posts
Activity: 26%
Longevity: 36%
Today: 1/5
Default Re: 404 Redirect??

I would like to know how to do this also. It makes it much easier and quicker instead of making 404 redirect pages.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-12-2008, 12:52 AM
MaestroDelWeb's Avatar
Executive VIP
 
Join Date: Nov 2007
Location: New Jersey
Posts: 1,001
Thanks: 51
Thanked 297 Times in 63 Posts
Activity: 31%
Longevity: 34%
Today: 0/5
Default Re: 404 Redirect??

In your CPanel click on Error Pages, then click on 404 and add your HTML to redirect people.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-12-2008, 01:06 AM
loclhero's Avatar
Executive VIP
 
Join Date: Jun 2007
Posts: 547
Thanks: 12
Thanked 12 Times in 11 Posts
Activity: 26%
Longevity: 47%
Today: 3/5
Default Re: 404 Redirect??

thanks for the help vze
rep given but when i tried this before it didn't work. All i get is my page with Page not found error 404
??

i've got tags to chose from that i'm not understanding. visitors ip address, referring url etc.
if i just put the aff code in the box nothing's happenin

Last edited by loclhero; 01-12-2008 at 01:13 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-12-2008, 01:48 AM
MaestroDelWeb's Avatar
Executive VIP
 
Join Date: Nov 2007
Location: New Jersey
Posts: 1,001
Thanks: 51
Thanked 297 Times in 63 Posts
Activity: 31%
Longevity: 34%
Today: 0/5
Default Re: 404 Redirect??

Just add this into the box:

Code:
<meta HTTP-EQUIV="REFRESH" content="0; url=http://affiliatelink.com">
Don't worry about the tags. They are meant as shortcuts. Where I put affiliatelink just add whatever you want.

Last edited by MaestroDelWeb; 01-12-2008 at 01:51 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-12-2008, 01:10 PM
Newbie
 
Join Date: Aug 2007
Posts: 14
Thanks: 0
Thanked 1 Time in 1 Post
Activity: 15%
Longevity: 40%
Today: 0/5
Default Re: 404 Redirect??

I have several sites that are totally ran from a custom 404 page. The sites have no physical pages or directories. The 404 page parses out the url request and queries the database for that pages content to display. If someone types in a page url that isn't in the database they are shown the index page of the virtual directory they have requested. If the virtual directory isn't in the database they are taken to the site's virtual home page.

Tom
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-12-2008, 06:12 PM
loclhero's Avatar
Executive VIP
 
Join Date: Jun 2007
Posts: 547
Thanks: 12
Thanked 12 Times in 11 Posts
Activity: 26%
Longevity: 47%
Today: 3/5
Default Re: 404 Redirect??

Quote:
Originally Posted by vze2yqtm View Post
Just add this into the box:

Code:
<meta HTTP-EQUIV="REFRESH" content="0; url=http://affiliatelink.com">
Don't worry about the tags. They are meant as shortcuts. Where I put affiliatelink just add whatever you want.

OH, okay. So really it's a meta refresh tag more than an actual redirect like a 301.
Thanks again.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-12-2008, 08:35 PM
Newbie
 
Join Date: Mar 2007
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Activity: 1%
Longevity: 56%
Today: 0/5
Default Re: 404 Redirect??

You can also use the following in an .htaccess file to redirect instead of giving a 404.

Code:
# 404 Redirects
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/?(.*)$ /index.php?url=$1 [L]
Replace /index.php?url=$1 with whatever URL you want to redirect it to.

Hope this helps.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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
Forum Jump


Add Your Link



Site protected by Firewall Script


Sitemap: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54