Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Include Dynamic Page To Index
- This topic has 2 replies, 2 voices, and was last updated 1 year ago by
Mark Robson.
-
AuthorPosts
-
May 22, 2025 at 11:02 am #54096
Mark Robson
ParticipantTemp user login provided for dev site.
I have content on the site which is created based on the url entered. The content is not static and retrieved based on a product attribute item and combining with product details therefore the search index can’t index it.
I tried selecting the Navigation Menu option as a search source, but this also didn’t pick up the url or menu name.
Is there a way to add content to the search index manually?
Or is there a way to include the menu item in search results?
On the dev site the search item I was testing is called: Graphenstone Search TEST
An example of a page that I want to be able to find is on the menu: Paint > Designer Range > GrafClean Matt 4%
This has a url link of: https://graphenstone.com/paints/grafclean-matt/
Which resolves to a built page url of: https://graphenstone.com/colours/white/FYI – I am a marketer and not a developer so simple is best 🙂
Also I did search through support documents and groups but couldn’t locate what I needed – apologies if there are articles on this.
Thx
May 22, 2025 at 11:36 am #54098Ernest Marcinko
KeymasterHi,
Unfortunately this is definitely not possible, as it’s basically only an alias/redirection to an existing content through rulesets (I assume).
In the example of https://graphenstone.com/paints/grafclean-matt/ is only an “N to 1” alias to https://graphenstone.com/colours/white/ URL, and it does not actually exists as an individual post type object of any kind.You can’t add these manually either, as a matching post type object must exists in the wp_posts table.
If there was something like an “alias” custom post type, which was used basically to reference other post type objects in a 1 to 1 relationship, then in that case it might be possible via some custom coding. (by injecting hooks to the index to fetch the referenced post type fields and index them)
I usually recommend custom codes where I can, but this is I’m afraid not possible.
May 22, 2025 at 11:37 am #54099Mark Robson
ParticipantHi Ernest, thx, thought it might be an issue 🙁
-
AuthorPosts
- You must be logged in to reply to this topic.