Hi,
I am using [[LINK href="http://wordpress.org/extend/plugins/query-multiple-taxonomies/"]]Taxonomy Drill-Down[[/LINK]] for filtering posts on [[LINK href="http://kremim.com"]]http://kremim.com[[/LINK]] but i have some problems about dublicate content because of permalink issue:
[[LINK href="http://kremim.com/marka/vichy/"]]http://kremim.com/marka/vichy/[[/LINK]]
[[LINK href="http://kremim.com/?marka=vichy"]]http://kremim.com/?marka=vichy[[/LINK]]
Those pages are same content but different urls. ( you can see all filters in [[LINK href="http://kremim.com/urun/"]]http://kremim.com/urun/[[/LINK]] )
Plugin's wiki:
[[LINK href="https://github.com/scribu/wp-query-multiple-taxonomies/wiki"]]https://github.com/scribu/wp-query-multiple-taxonomies/wiki[[/LINK]]
<blockquote>If you want to be even more specific, you can also change the final URL for each term:
<?php
</blockquote>
function my_qmt_url( $url, $query ) {
// Do something to $url, based on $query
return $url;
}
add_filter( 'qmt_url', 'my_qmt_url', 10, 2 );
Well, i couldnt figure how to fix this. What i want:
* http://kremim.com/?marka=XXX must redirect to http://kremim.com/marka/XXX/ Actually if possible, http://kremim.com/?marka=XXX might created as http://kremim.com/marka/XXX/
* if multi taxonomy filter like [[LINK href="http://kremim.com/?konu=dudak-bakim-urunleri&marka=vichy"]]http://kremim.com/?konu=dudak-bakim-urunleri&marka=vichy[[/LINK]]
or http://kremim.com/?marka=vichy&konu=dudak-bakim-urunleri
redirect or created as http://kremim.com/marka/vichy/konu/dudak-bakim-urunleri/
So "marka" taxonomy will be first and "konu" will be second
scribu answers:
I was under the impression that WordPress automatically redirected you from <em>?marka=vichy</em> to <em>/marka/vichy/</em>, but I guess not.
Ünsal Korkmaz comments:
Any solution for those scribu? At least i need to fix that filter canonical problem.. like:
http://kremim.com/?konu=dudak-bakim-urunleri&marka=vichy
<link rel="canonical" href="http://kremim.com/marka/vichy/" />
Because google started to give Duplicate title tags errors in google.com/webmasters/tools
Ünsal Korkmaz comments:
for future, i found solution for first problem..
in w3 total cache "Cache URIs with query string variables" must be selected or its not redirecting..
if you have a solution for 2nd problem and extra problem that i am talking in comment above me, please share with me, i saw "This question has expired." i couldnt expand it. I have no idea why a question expiring before getting answer..
Peter Michael answers:
WordPress uses canonical URL's, double content should not be an issue on your site.
Open http://kremim.com/?marka=vichy for example and have a look in the source html in the browser. You can see in the header:
<link
rel="canonical" href="http://kremim.com/marka/vichy/" />
Read more about canonical URL's [[LINK href="http://mrjavo.com/what-is-a-canonical-url/"]]here
[[/LINK]] and [[LINK href="http://yoast.com/wordpress/canonical/"]]here[[/LINK]] for ex.
HTH
Peter Michael comments:
One more link: [[LINK href="http://en.wikipedia.org/wiki/URL_normalization"]]http://en.wikipedia.org/wiki/URL_normalization[[/LINK]]
Ünsal Korkmaz comments:
Well good catch for 1 more problem..
http://kremim.com/?konu=dudak-bakim-urunleri&marka=vichy
<link rel="canonical" href="http://kremim.com/marka/vichy/" />
basically this is wrong.
Peter Michael comments:
Maybe that's a rewrite issue with the Taxonomy Drill-Down plugin. Scribu? Maybe you can have a look at this?