GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   give me a solution on this url redirection question and earn $20 epassporte. (https://gfy.com/showthread.php?t=938366)

zentz 11-13-2009 04:45 AM

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 :thumbsup

thank you

After Shock Media 11-13-2009 04:49 AM

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

redwhiteandblue 11-13-2009 05:06 AM

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...

chaze 11-13-2009 05:11 AM

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.

Klen 11-13-2009 05:29 AM

Quote:

Originally Posted by After Shock Media (Post 16546973)
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

Yes that is correct.Htaccess would act like there was no any redirected url.
So best solution would be simple meta tag refresh with one second wait.

After Shock Media 11-13-2009 05:31 AM

Well if I win let me know.

zentz 11-13-2009 05:45 AM

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.

After Shock Media 11-13-2009 05:49 AM

Quote:

Originally Posted by zentz (Post 16547083)
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.

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.

darksoul 11-13-2009 05:51 AM

Open index.php
locate the part that tracks the reffer
after that add:
Code:

if ($_GET['ref']) {
    Header("Location: http://www.arcadena.com/");
}


darksoul 11-13-2009 05:53 AM

Quote:

Originally Posted by After Shock Media (Post 16547089)
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.

the problem with this approch is that it refreshes regardless of the presence of ref=xxx.com

zentz 11-13-2009 06:03 AM

Quote:

Originally Posted by darksoul (Post 16547093)
Open index.php
locate the part that tracks the reffer
after that add:
Code:

if ($_GET['ref']) {
    Header("Location: http://www.arcadena.com/");
}


<head><?php include("tp/ssi_in.php")?>

this is the code tracks incoming hits. where do i include the IF exactly?

tnx

darksoul 11-13-2009 06:06 AM

Quote:

Originally Posted by zentz (Post 16547117)
<head><?php include("tp/ssi_in.php")?>

this is the code tracks incoming hits. where do i include the IF exactly?

tnx

Code:

<head><?php include("tp/ssi_in.php")?>
<? if ($_GET['ref']) {
      Header("Location: http://www.arcadena.com/");
}
?>


After Shock Media 11-13-2009 06:09 AM

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.

zentz 11-13-2009 06:14 AM

Quote:

Originally Posted by darksoul (Post 16547122)
Code:

<head><?php include("tp/ssi_in.php")?>
<? if ($_GET['ref']) {
      Header("Location: http://www.arcadena.com/");
}
?>


works perfect. pls mail me your epass [email protected]

or just post here.

tnx.

zentz 11-13-2009 06:15 AM

Quote:

Originally Posted by After Shock Media (Post 16547126)
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.

i wont use meta tags as it is not the best solution. tnx for your suggestion though.

After Shock Media 11-13-2009 06:18 AM

Your thread title was misleading then, lol. Just busting your chops. Good luck and I look forward to see how it is completed.

zentz 11-13-2009 06:34 AM

Quote:

Originally Posted by After Shock Media (Post 16547144)
Your thread title was misleading then, lol. Just busting your chops. Good luck and I look forward to see how it is completed.

yes sorry i forgot to include "no retarded solutions" in a description.

San 11-13-2009 06:34 AM

Quote:

Originally Posted by After Shock Media (Post 16547144)
Your thread title was misleading then, lol. Just busting your chops. Good luck and I look forward to see how it is completed.

wow, why so butthurt about $20 ?

After Shock Media 11-13-2009 06:47 AM

Quote:

Originally Posted by San (Post 16547170)
wow, why so butthurt about $20 ?

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.

zentz 11-13-2009 08:38 AM

i was joking as well. cheers.


All times are GMT -7. The time now is 01:38 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123