Gossamer Forum
Quote Reply
Modification to the d=
Hello,

I'm trying to do something weird with GLinks but I really need this.
So here what is my situation. I have city review directory, a while ago I enhanced it to handle more than one city by using 'd' parameter (if user choses city1 d is set d=city1, if choses city2 d=city2...). So far so good, till this moment everything was fine until i have spotted some loose in search engines rank and this is because some links are viewable from different urls and marked as duplicate content.

If I have wrote 3 reviews in businesses in 3 different cities when user want to see all my reviews and goes on review search all urls of links looks like:
www.domain.com/cgi-bin/page.cgi?g=Detailed/1234.html;d=city1
www.domain.com/cgi-bin/page.cgi?g=Detailed/1235.html;d=city1
www.domain.com/cgi-bin/page.cgi?g=Detailed/1236.html;d=city1

And the wished one is:

www.domain.com/cgi-bin/page.cgi?g=Detailed/1234.html;d=city1
www.domain.com/cgi-bin/page.cgi?g=Detailed/1235.html;d=city2
www.domain.com/cgi-bin/page.cgi?g=Detailed/1236.html;d=city3

And this comes a problem because all links are in different cities, I have looked in the code but cannot figure which of two functions - clean_output and transform url does the actual transformation of urls from static to dynamic.

Which one of those two I must use and how to rewrite 'd' parameter to be set for each link city?

p.s. Sorry for my bad English.

Cheers,
Boris

Facebook, Twitter and Google+ Auth for GLinks and GCommunity | reCAPTCHA for GLinks | Free GLinks Plugins
Subject Author Views Date
Thread Modification to the d= eupos 5223 Aug 26, 2007, 9:47 AM
Thread Re: [eupos] Modification to the d=
Andy 4964 Aug 27, 2007, 1:45 AM
Thread Re: [Andy] Modification to the d=
eupos 4984 Aug 27, 2007, 1:54 AM
Thread Re: [eupos] Modification to the d=
Andy 4988 Aug 27, 2007, 2:02 AM
Thread Re: [Andy] Modification to the d=
eupos 4957 Aug 27, 2007, 2:08 AM
Thread Re: [eupos] Modification to the d=
eupos 4981 Aug 27, 2007, 2:15 AM
Thread Re: [eupos] Modification to the d=
Andy 4975 Aug 27, 2007, 2:17 AM
Thread Re: [Andy] Modification to the d=
eupos 4973 Aug 27, 2007, 2:19 AM
Post Re: [eupos] Modification to the d=
eupos 4934 Aug 28, 2007, 8:31 AM