Create a Custom Path to Archive
Go to Settings > Permalinks and insert archive in the Category base field. For custom post type archives, you can set that to anything you want via the has_archive argument of register_post_type: ‘has_archive’ => ‘archive/your-post-type’