Indexing dynamically created contents
-
Hi. I use wordpress to display dynamically generated contents. My URLs are on this format: https://domain.com/book/?bookID=14
This page will fetch info about book #14 and show it on the web site. The ID in the url parameter will change according to the chosen book, but relevanssi will treat all books as the same page (same page ID). Is there a way I can make relevanssi index my dynamic contents?
I am aware of the relevanssi_content_to_index hook where I can add my dynamic content and get in indexed, but then all the dynamic content will be associated with the static page ID. E.g. when i search for “Alice wonderland” the search will find the title in the index, but when I click on the hit in the list it will resolve the URL to https://domain.com/book/ and ignore the very important url parameter.
The topic ‘Indexing dynamically created contents’ is closed to new replies.