![]() |
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 |
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 |
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... |
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. |
Quote:
So best solution would be simple meta tag refresh with one second wait. |
Well if I win let me know.
|
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. |
Quote:
|
Open index.php
locate the part that tracks the reffer after that add: Code:
if ($_GET['ref']) { |
Quote:
|
Quote:
this is the code tracks incoming hits. where do i include the IF exactly? tnx |
Quote:
Code:
<head><?php include("tp/ssi_in.php")?> |
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.
|
Quote:
or just post here. tnx. |
Quote:
|
Your thread title was misleading then, lol. Just busting your chops. Good luck and I look forward to see how it is completed.
|
Quote:
|
Quote:
|
Quote:
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. |
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