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 Ernest Marcinko 4 years, 8 months ago.
- AuthorPosts
- July 18, 2018 at 12:49 pm #18708
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.July 18, 2018 at 1:21 pm #18711Hi,
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 :)
July 18, 2018 at 6:09 pm #18719You cannot access this content.July 19, 2018 at 11:26 am #18729Hi!
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 :)
July 19, 2018 at 12:59 pm #18734You cannot access this content.July 19, 2018 at 2:40 pm #18737You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.