redirect 301 with special character like WIX site “#!”

Hashes are used in web addresses to navigate to anchors on a specific position within a page. The part after the # symbol is never sent to the server. That’s probably why WordPress doesn’t allow hashes in URLs. If it did, you wouldn’t be able to access the page anyway.