![]() |
![]() |
![]() |
||||
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 |
Confirmed User
Industry Role:
Join Date: Nov 2003
Posts: 8,053
|
give me a solution on this url redirection question and earn $20 epassporte.
i want to make the urls like this http://www.arcadena.com/index.php?re...fficseller.com to redirect to http://www.arcadena.com but so the hits frrom the orginal url still get counted by a trade script.
i know this can be done through .htaccess and within php code. first correct and most precise answer receives 20 bucks epass. not much but enough for an answer ![]() thank you
__________________
Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000 Email: [email protected] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
It's coming look busy
Join Date: Mar 2001
Location: "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn".
Posts: 35,299
|
You can also just set up a meta refresh at the first domain, to redirect at 0 or 1 second to the next URL. It would count every hit and get stats hitting that first page.
Not really htaccess
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Bollocks
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,793
|
Put this in your html head
<link rel="canonical" href="http://www.arcadena.com/" /> and then you don't need to worry about the query string, the SEs will only index the canonical URL. Well that's the theory...
__________________
Interserver unmanaged AMD Ryzen servers from $73.00 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Aug 2002
Posts: 9,752
|
You might lose the tracking with htaccess, your better off with a header tag.
<META http-equiv="refresh" content="5;URL=http://www.your-main-domain.com"> The 5 is how many seconds before the redirect, your can change this to zero or 1 if you need to speed it up. If you choose mine, just use the money to get hosting and new domain here www.adult-website-hosting.com about $40 for the year. Then add a blog and get some extra marketing going. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
Quote:
So best solution would be simple meta tag refresh with one second wait. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
It's coming look busy
Join Date: Mar 2001
Location: "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn".
Posts: 35,299
|
Well if I win let me know.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Nov 2003
Posts: 8,053
|
there must be a better solution then meta refresh.
refreshing the page too often willl make it annoying to surfer, if i put refresh on zero or 1 second the webpage wont even be clickable or readable cause of so many refreshes.
__________________
Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000 Email: [email protected] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
It's coming look busy
Join Date: Mar 2001
Location: "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn".
Posts: 35,299
|
I do not understand why you think that. I am no programmer nor tech but I can not see it working any other way. You could have a longer refresh period. I am pretty sure multiple surfers do not see the same identical page.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Apr 2002
Location: /root/
Posts: 4,997
|
Open index.php
locate the part that tracks the reffer after that add: Code:
if ($_GET['ref']) { Header("Location: http://www.arcadena.com/"); } |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Apr 2002
Location: /root/
Posts: 4,997
|
the problem with this approch is that it refreshes regardless of the presence of ref=xxx.com
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Confirmed User
Industry Role:
Join Date: Nov 2003
Posts: 8,053
|
Quote:
this is the code tracks incoming hits. where do i include the IF exactly? tnx
__________________
Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000 Email: [email protected] |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Confirmed User
Join Date: Apr 2002
Location: /root/
Posts: 4,997
|
Quote:
Code:
<head><?php include("tp/ssi_in.php")?> <? if ($_GET['ref']) { Header("Location: http://www.arcadena.com/"); } ?> |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
It's coming look busy
Join Date: Mar 2001
Location: "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn".
Posts: 35,299
|
PS if it is a meta refresh. I do not have epass and did not want the cash. Just give it to whoever else helps the most or donate it to the adult toys for tots program.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
Confirmed User
Industry Role:
Join Date: Nov 2003
Posts: 8,053
|
Quote:
or just post here. tnx.
__________________
Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000 Email: [email protected] |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
Industry Role:
Join Date: Nov 2003
Posts: 8,053
|
i wont use meta tags as it is not the best solution. tnx for your suggestion though.
__________________
Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000 Email: [email protected] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
It's coming look busy
Join Date: Mar 2001
Location: "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn".
Posts: 35,299
|
Your thread title was misleading then, lol. Just busting your chops. Good luck and I look forward to see how it is completed.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Confirmed User
Industry Role:
Join Date: Nov 2003
Posts: 8,053
|
yes sorry i forgot to include "no retarded solutions" in a description.
__________________
Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000 Email: [email protected] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
So Fucking Banned
Join Date: Jan 2004
Location: Shenzhen
Posts: 790
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
It's coming look busy
Join Date: Mar 2001
Location: "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn".
Posts: 35,299
|
I am not butt hurt, damn does no one have any humor any more. Before he even said no (pretty sure) I already had told him to donate it.
He has to act hostile and say it was retarded, despite someone else agreeing. He could be joking around too but I can not tell by reading what he wrote. Then you say I am butt hurt. I even posted LOL and I am just busting your chops. I am interested in the solution. I am far from butt hurt. I suggest you read the thread again.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Confirmed User
Industry Role:
Join Date: Nov 2003
Posts: 8,053
|
i was joking as well. cheers.
__________________
Programs that owe me money ---- Epassporte.com ~ $2700 | Protraffic.com ~ $2600 | XonDemand.com ~ $3000 Email: [email protected] |
![]() |
![]() ![]() ![]() ![]() ![]() |