I don’t know what you mean by this “renaming your WordPress .htaccess file.”, could you please explain more?
I did also change the custom permalinks to post names, and add the code in .htaccess file but still nothing worked.
some programmer said: maybe the host don’t read the .htaccess file, i do though contact them and clarify the issue but i got no response yet.