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