Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 05-15-2007, 04:56 PM   #1
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
WORDPRESS , Search shows ZERO results , need it to redirect....

to a specific url...... jow can I do this??????


You search for Teabag and it shows zero results , instead if the no results need it to redirect.


How?
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-15-2007, 04:58 PM   #2
who
So Fucking Banned
 
Join Date: Aug 2003
Location: ICQ #23642053
Posts: 19,593
like this:

2525629562346092 4902406925069 214529035 924i029450294i 2094923i4gg k2345435.
who is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-15-2007, 05:52 PM   #3
OG LennyT
Wall Street Pimp
 
OG LennyT's Avatar
 
Industry Role:
Join Date: Jun 2003
Location: Phoenix, AZ
Posts: 14,345
drunk?

_____________
OG LennyT is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-15-2007, 05:57 PM   #4
datatank
Confirmed User
 
datatank's Avatar
 
Join Date: Aug 2004
Location: My dog is blacker than Tupac
Posts: 5,471
It depends on your theme but look for
<p>Sorry, no posts matched your criteria.</p>
datatank is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-15-2007, 06:02 PM   #5
Martin3
Confirmed User
 
Join Date: Oct 2005
Location: Houston
Posts: 1,529
Not something I've tried but you should be able to just add the redirect to the search.php

Of course if you want keyword specific redirects that gets a little more difficult.
__________________
264-543-302
Martin3 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-15-2007, 08:19 PM   #6
Forkbeard
Confirmed User
 
Forkbeard's Avatar
 
Industry Role:
Join Date: Feb 2002
Location: I Roam Around
Posts: 2,236
Search.php currently has a php "else" conditional statement that prints your "no posts found" message. You ought to be able to replace that "no posts found" message with some more php code that does a redirect.

Here's a link that says you can echo a meta-redirect using php. I have not tried it.


--- code for inside the existing "else" loop --

echo "<META HTTP-EQUIV=\"Refresh\"
CONTENT=\"5; URL=html-redirect2.html\">";

--- end of code --
__________________
Offering sponsored blog posts and custom writing services.
Forkbeard is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.