Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › How to change the results URL to something else based on the different page id › Reply To: How to change the results URL to something else based on the different page id
May 6, 2020 at 3:28 pm
#27147
Keymaster
Yes, that gives the page ID from where the search was initiated. Unfortunately I don’t think that is possible at all. Usually the information is lost during redirection.
There might be a way to somehow get that via server variables, but those probably won’t work in the ajax context. As in that case the previous page (referrer) is actually the page the search is on.