Forums › Forums › Search & Filter Pro › Correct way to show SearchFilter results with aliased domains
Tagged: alias domains, Display area
- This topic has 5 replies, 2 voices, and was last updated 5 years, 7 months ago by
Anonymous.
-
Anonymous(Private) August 25, 2020 at 2:21 pm #257244
Hello Trevor, team,
We have two site domain names, x.com and y.com, pointing to the same WP content. Right now, the search filter references one of those names, so all is good when on x.com, but when on y.com, as soon as one sorts, the page defaults to x.com. Can you recommend relative link I can use instead of an absolute link?
Thank you! mb
Trevor(Private) August 25, 2020 at 4:21 pm #257269You may need to use this filter:
https://searchandfilter.com/documentation/action-filter-reference/#modify-urls
You might find some examples of usage with this search:
https://support.searchandfilter.com/forums/search/sf_results_url/
You would need to write some code to detect which alias you are on to write the URL.
-
AuthorPosts