Refresh result product subdomain -> products links = 404 not found

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Refresh result product subdomain -> products links = 404 not found

This topic contains 5 replies, has 2 voices, and was last updated by

 
Keymaster
3 years, 6 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #18708

    Participant

    Hi Ernest,

    I have a problem with the search ajax pro because in this page we are redirect in product wich was deleted.
    So we found a 404 error page:

    https://beoone.com/rechercher-un-produit-cours-en-ligne/

    How can I do refresh the ajax pro of all products subdomain so that it will not show result of product wich are already deleted?

    Is that a way to refresh one time per day all results?

    Regards, Sarah

    Attachments:
    You must be logged in to view attached files.
    #18711

    Hi,

    From what I can see, that is a product variation. That is interesting, as it should not exist once the parent product is permanently deleted. And even if the parent is unpublished, the plugin checks if the variation parent is indeed published.

    Can you please add temporary FTP & Back-end details? I would like to debug through the plugin code to see how that variation still remained in the product database as published. Thank you!

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #18719

    Participant
    You cannot access this content.
    #18729

    Hi!

    Thank you for the details, I think I know what the problem is.

    The product variation permalinks are indeed incorrect. I have debugged the code section, which gets these permalinks, and I found, that WooCommerce is not active on the main site there. The product variation permalinks need to be requested from WooCommerce, however the request is made via the site where the search is currently running on (main site). Unfortunately this is not possible to resolve from the plugins perspective.

    I recommend one of these 2 possible solutions:
    1. Either remove the product variation filter/post type from search
    2. Or Network activate WooCommerce, to be able to resolve the permalinks on the main site as well.

    Personally, I recommend solution 1. if the variations are not so importand in the live results list.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #18734

    Participant
    You cannot access this content.
    #18737
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.