I installed a fresh copy of WordPress on my website a few days ago. Everything was good. But I currently am facing a problem in permalink. When I create a new post or page, the post or page is not showing on the specified URL. But the posts are showing on the admin panel and even on homepage, but when I click on the post title, 404 error page shows up.
I found the problem is with WooCommerce plugin. When I disable the plugin and update the permalink, link works well.
How can I solve it?