Custom posts stopped working after moving to new domain September 5, 2022 by Tarik Billa I had to flush my permalinks, so I went to Settings > Permalinks and just clicked save changes.