Not sure I know enough to be offering advice, but I had this problem lots of times when I change permalinks. My hosting support whiz taught me to re-Sync the htaccess file through the server control panel. Then wait about 2 minutes. So far has worked every time for me.