Go Back   Trackpads Community > General Discussions > Computer and Technology > Web Design

Web Design Forums and discussions on webdesign

Web Design

Reply
 
LinkBack Thread Tools
Old 04-13-2005, 08:00   #1 (permalink)
Jonathan
Civilians

 
Default Redirector

Hi,

Say I have a page a.com. Say I want to redirect a.com to b.com. That
happens because a.com is obsolete and stuff.

I can use javascript redirection right.

The thing is a.com got a lot of traffic from search engine and I want
to know the search engine that send traffic to a.com.

I know it from referal.

Now, that a.com has moved to b.com, I want to know the search engine
by looking at the referral of b.com

The problem is in b.com logs, b.com will simply note that a.com is its
referral.

If there is a link in c.com that link to a.com, which will redirect to
b.com, how can I arrange a.com redirection so that it'll redirect
traffic to b.com and make b.com to think that it got traffic from
c.com?

Jonathan
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Trackpads Information
Click to Visit
Old 04-13-2005, 12:00   #2 (permalink)
Richard
Civilians

 
Default Re: Redirector

Here are some alternatives you can try a.com:
1) .htaccess redirection http://www.javascriptkit.com/howto/htaccess.shtml
2) url forwarding using godaddy, mydomains, etc., http://www.mydomain.com/
3) make a cgi, php, asp script that redirects to: b.com/log_it.php?ref=c.com

I am not sure if the referrer will not change from c.com to a.com using
method 1 and 2, but someone else may know that :-)


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-14-2005, 12:00   #3 (permalink)
jonathanthio@yahoo.com.sg
Civilians

 
Default Re: Redirector

I wonder if doing
location.url = "b.com/?reference=referencesomething" would do.

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-14-2005, 12:00   #4 (permalink)
Richard
Civilians

 
Default Re: Redirector

>I wonder if doing
> location.url = "b.com/?reference=referencesomething" would do.


Sure. You will be able to read that in your server log file. If you wan't to
put in dedicated log file just for referers from a.com redirects, you should
make a small script that write "referencesomething" into a text file.


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-15-2005, 08:00   #5 (permalink)
jonathanthio@yahoo.com.sg
Civilians

 
Default Re: Redirector

Say bigwebsite.com link to b.com which redirect to a.com. How can I
arrange so that when I look at a.com log file, I see bigwebsite.com?

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-15-2005, 08:00   #6 (permalink)
Richard
Civilians

 
Default Re: Redirector

To avoid confusion, I would like to keep the domain names from before: "Say
C.com link to A.com which redirect to B.com. How can I arrange so that when
I look at a.com log file, I see C.com?"

1) .htaccess redirection http://www.javascriptkit.com/howto/htaccess.shtml
If you don't have referrer in you log file, or the referrer is changed with
the redirect, you need to do a htaccess redirect that includes the referrer
in the domain it redirects to: b.com?ref=c.com

2) url forwarding using godaddy, mydomains, etc., http://www.mydomain.com/
If you have the referrer isn't changed from c.com to a.com, and you can see
referrers in your log file, you should be able to see c.com.

3) make a cgi, php, asp script that redirects to: b.com/log_it.php?ref=c.com
This would always work, because ?ref=c.com would make it to the logfile.

I am sure that someone in here may be able to provide the code for 1) and
3). I don't know much about htaccess, though, so I can not guarantee that
you can insert the ?ref=c.com


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Community Information
Options
Quick Options
Trackpads Non-Commercial Ad
Copyright Information Click to Visit
Time
Server Time
All times are GMT -4. The time now is 11:18.
Copyright
Copyright Information
The header is based off of work by Vipixel.com and modified by this site. Trackpads and the Trackpads Logo are both Registered Trademarks of Jason Edwards and cannot be used without prior written permission.  The only exception is as a link back to this site. Trackpads is a private website run by a small legion of volunteers, 3 dogs, 12.5 cats and an army of small, super smart, bio-engineered mice with pointy hats and tutu's. Search Engine Friendly URLs by vBSEO 3.2.0 RC7
Archive Links
Archive Links
Page generated in 0.77818 seconds with 18 queries