|
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
2012-04-25, 03:54 PM | #1 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
Anyway of doing a php redirect and not have it pass the referral url?
I have the domain www.cleogoodstuff.com that send all my exit site traffic to.
I've put a php redirect there so that it loads my mainstream blog. Code:
<?php header ("location: http://floridaoutdooradventures.info/") ?> |
2012-04-25, 09:44 PM | #2 |
Are you sure you're an accredited and honored pornographer?
Join Date: Sep 2008
Posts: 67
|
Hows about something like:
HTML Code:
<html> <head> <title>Gateway to Florida Outdoor Adventures</title> <meta http-equiv="refresh" content="1; url=http://url.anonfiles.org/4q"> </head> <body> <script language="JavaScript" type="text/javascript"> /*<![CDATA[*/ window.location = 'http://floridaoutdooradventures.info'; /*]]>*/ </script> <p>redirecting</p> </body> </html> fg |
2012-04-26, 11:02 AM | #3 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
I thought about doing a JavaScript timed redirect. Also thought about doing a page with an RSS feed like I had before with my old blogs.
But actually it looks like my fear was unfounded anyway as it looks like the adult referrals only show up in my server stats and are not listed as links in Google. |
2012-04-27, 09:09 AM | #4 |
If there is nobody out there, that's a lot of real estate going to waste!
Join Date: Dec 2003
Posts: 2,177
|
This may help by spoofing the referrer!!!
PHP Code:
|
2012-04-27, 09:55 AM | #5 | |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
Quote:
http://floridaoutdooradventures.info/test.php |
|
2012-04-27, 10:23 AM | #6 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
This work although it is kind of a brute force approach and involves a third party website.
Code:
<?php header ("location: http://nullrefer.com/?http://floridaoutdooradventures.info/") ?> . |
2012-04-27, 04:19 PM | #7 |
That which does not kill us, will try, try again.
|
One thing to consider is setting up an https site just to use for all your redirect links. Since browsers aren't allowed to pass a referring URL from an HTTPS server to an HTTP server that should take care of the problem.
.
__________________
"If you're happy and you know it, think again." -- Guru Pitka |
2012-04-27, 04:29 PM | #8 | |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
Quote:
I see one needs to buy a SSL certificate. Not sure I want to spend $70 a year on one. |
|
2012-04-27, 07:24 PM | #9 |
That which does not kill us, will try, try again.
|
I was thinking you could use a self-signed certificate since the domain would only be used by you and only for redirecting clicks. You won't have ecommerce transactions occurring on that domain.
But I'm not sure, now that I think about it, that a surfer's browser might not pop a warning message about it not being a signed Certificate Authority certificate. If someone has a testing server and some free time, this could be worth knowing for sure. But until then I'm not suggesting it's a workable solution since there might be device/system/browser combinations where it won't do what you want.
__________________
"If you're happy and you know it, think again." -- Guru Pitka |
2012-04-27, 07:39 PM | #10 |
That which does not kill us, will try, try again.
|
Also, I don't know who you use for domain registrations, but NameCheap has some reasonably-priced ($10/year) SSL certificates. Comodo, GeoTrust and Thawte are available...
http://www.namecheap.com/ssl-certificates/comodo.aspx .
__________________
"If you're happy and you know it, think again." -- Guru Pitka |
2012-04-27, 07:53 PM | #11 | |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
Quote:
|
|
2012-04-28, 12:07 PM | #12 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Redirecting...</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> <meta http-equiv="refresh" content="0; URL=http://floridaoutdooradventures.info/"/> </head> <body></body> </html>
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
2012-04-28, 12:42 PM | #13 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
That's how I did it before I learned about using php redirects.
Guess I was making things too complicated. |
2012-04-29, 09:15 AM | #14 |
If there is nobody out there, that's a lot of real estate going to waste!
Join Date: Dec 2003
Posts: 2,177
|
Well you could still use PHP to control the meta-refresh redirect !
|
|
|