|
|
|
||||
|
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. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
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? |
|
|
|
|
|
#2 |
|
So Fucking Banned
Join Date: Aug 2003
Location: ICQ #23642053
Posts: 19,593
|
like this:
2525629562346092 4902406925069 214529035 924i029450294i 2094923i4gg k2345435. |
|
|
|
|
|
#3 |
|
Wall Street Pimp
Industry Role:
Join Date: Jun 2003
Location: Phoenix, AZ
Posts: 14,345
|
drunk?
_____________
__________________
Tradeking - my online broker | 4.95 a trade | make real $$ |
|
|
|
|
|
#4 |
|
Confirmed User
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> |
|
|
|
|
|
#5 |
|
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 |
|
|
|
|
|
#6 |
|
Confirmed User
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 -- |
|
|
|