Error 404 - custom post type
After moving the site from one address to another (from www.oldsite.com/folder to www.newsite.com) the internal links no longer work. If I click on a menu item, I get an error 404. Urls are correct. I also saved the permalink again and I have the same problem even if I create new pages. But if I add a "?" to the link, the page opens. For example -> www.site.com/whoweare -> error 404
www.site.com/?whoweare -> it's ok
I've already disabled all plugins without success. I read online that it's a problem caused by custom post types, but I can not fix it. Can you help me?
Comments
since this is not a theme related question and we cannot provide any help in this matter, please try to contact your hosting provider. This may be caused by cache. If he does not help you we will try.
You can try to move the website again using this plugin:
https://wordpress.org/plugins/duplicator/
thanks