Forums › Forums › Search & Filter Pro › Choosing a display results method and pretty URLs
Tagged: display results method, pretty urls, V3
- This topic has 9 replies, 4 voices, and was last updated 5 years, 1 month ago by Trevor.
-
Anonymous(Private) March 9, 2018 at 1:19 pm #165080
I have chosen the display results method “As Archive” with a custom template (results.php), which is working pretty well. I’ve also placed my custom template code on the various archive/taxonomy pages so they all have the same look and I can use the filters there as well, which is mostly working well.
I am not sure if having the same basic code in my taxonomy and archive templates as I do in my custom results template is the best approach but it was the only way I could see to make this work. Am I going about this the right way?
For example, I have a custom taxonomy called “type”. I have the same code on my taxonomy-type.php as I do on my results.php template so that if I use the filtering I see the same thing as if I click on an archive link for that taxonomy. So
domain.com/type
looks the same as
domain.com/results/?_sft_type=blog
I’d really like to use the pretty url and I am also concerned about having duplicate content issues, so I am wondering how to get the urls to match when filtering. I see in your Modify URLs section, you can use
sf_results_url
but it states this is mainly for changing protocol and that there can be unexpected results. Would using this method work here or if you would suggest another method?Anonymous(Private) March 9, 2018 at 1:36 pm #165083So if I can’t use pretty URLs, is there another method that makes more sense and will avoid issues I might have in this scenario with duplicate content? Does my method choice and structure make sense or is there a better way that might avoid this problem?
Anonymous(Private) January 11, 2019 at 1:48 am #198630Hello,
Has there been any progress on this yet? I am trying to figure out how to remove the
_sft_
from the URL so that it reads?topic=analytics
rather than?_sft_topic=analytics
.My ‘topic’ Custom Taxonomy is attached to a Custom Post Type named ‘tools’.
-
AuthorPosts