All WP pages direct to 404 or index.php

Do the old urls still work after enabling “pretty” permalinks?
Only your cpt and taxonomies for it don’t work but the rest of the site does?

Flush Rewrite Rules: WordPress uses rewrite rules to handle permalinks. Sometimes, these rules do not recognize new custom post types or taxonomies until they are flushed. You can flush the rewrite rules by going to Settings > Permalinks and simply clicking “Save Changes” without altering anything. This often resolves permalink issues with custom post types.

You can also try to create another custom post type and taxonomy while the pretty links are enabled to see if it works. Use a basic naming convention to make sure it is not something related to that.

If that works then you know it is something to do with the names you are using.

deneme bonusudeneme bonusu veren sitelerpulibet girişOnwin Güncel Giriştürkçe altyazılı pornocanlı bahis casino