This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Include Dynamic Page To Index

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Include Dynamic Page To Index

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #54096
    Mark RobsonMark Robson
    Participant

    Temp 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

    #54098
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    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.

    #54099
    Mark RobsonMark Robson
    Participant

    Hi Ernest, thx, thought it might be an issue 🙁

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.