After i removed the standard .html URL prefix from all URL's, the mageplaza ajax search module doesn't work propperly anymore. It shows me the right products but is linked to the old .html url. Response is 404.

I tried to reindex the catalog search but it didn't work. Does someone knows a solution for this problem?

For me it looks like I have to reset the search database or something.

Kind regards, Nick

  • You can ask to Mageplaza support.
    – MP Raj
    Aug 14, 2023 at 9:30

2 Answers 2


Try performing a full reindex, and then flush the cache :

bin/magento indexer:reindex
bin/magento cache:flush

If you have some external cache (CDN, ...), clear it aswell.

Note : Be careful when removing the .html suffix from the URL on a production website, as it can have a high SEO impact.


Run bin/magento mpsearch:reindex in the root of your install. It'll rebuild the index.

HTH, Tom

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.