Forum Moderators: phranque

Message Too Old, No Replies

Tracking inbound links to 301 redirects?

         

Macguru

4:18 pm on Jan 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi, I am clueless about server stuff. Hope this topic has not been asked a gazillion times already here.

I have this stuborn client with a poor brand : z-poor-keyword.com . I want to bait and switch some directories that still use alphabetical order to sort listings with a-good-keyword.com. The home page will proeminently show the later title untill the site gets listed. Then we will switch to z-poor-keyword.com wich will be used to promote the site on traditional media. At all times z-poor-keyword.com will be redirected with a 301 to a-good-keyword.com.

Later, some external sites will probably use z-poor-keyword.com to link to the site. I want to track those too for attempting to correct the links. I am not currently able to see referrers of such in the logfiles. Is it possible to include them in the destination log on a *nix server?

DaveAtIFG

5:45 am on Jan 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hey Mac, if I understand your question correctly, you want to see 301 redirects in your log files, "Is it possible?"

Yes and no. :) Assuming we're talking about an Apache server, it is possible to set up custom log files to show redirects, details are here [apacheweek.com], see Advanced Configuration Options. You could do this if you ran your own server, but it's very unlikely that a commercial host will permit or provide custom logs. Also, it appears commercial hosts could only permit custom logs on virtual domains, not on domains with a dedicated IP.

Macguru

4:59 pm on Jan 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>>if I understand your question correctly

He eh! Not beeing familiar with server stuff makes it a double language challenge for me. Still glad I posted this in the right forum. ;)

Thanks DaveAtIFG,

That pretty covers it. So, if the (already very collaborative) commercial host is using virtual domains, sites linking to z-poor-keyword.com will show up in logs of a-good-keyword.com?

DaveAtIFG

6:37 pm on Jan 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



sites linking to z-poor-keyword.com will show up in logs of a-good-keyword.com
Not quite. Your host COULD configure his server to log redirects for a virtual domain. It's probably not set up to do this now, because it's a non-standard configuration. He will need to revise the server's configuration file. My earlier post includes a link discussing those revisions.

DaveAtIFG

5:28 pm on Jan 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I learn something new every day! If your host is cooperative, another option might be to include a ReWriteLog directive with your ReWrite rules. This will create a seperate log file to record redirects exclusively. Here [httpd.apache.org] are the Apache docs.

Macguru

5:31 pm on Jan 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Wooaaaa! Thank you very much DaveAtIFG. A separate logfile for those is better. I think they will do it for a small fee.